
/* === assets/css/pixel-design-system.css === */
/* 
 * Retro Pixel Design System - Main Entry Point
 * Modern CSS3 with nesting for NES-inspired retro pixel aesthetic
 */
img.art {
  image-rendering: pixelated;
}
/* === CORE COMPONENTS === */
.box {
  border: var(--border);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  border-radius: 0;
  background-color: var(--color-bg);
}
.box .card {
    box-shadow: none;
    border: 1px solid var(--color-border);
  }
form {
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  align-content: stretch;
  flex-wrap: nowrap;
}
/* === FORM CONTROLS === */
/* Modern checkbox with CSS3 features */
input[type="checkbox"]:not(.toggle input[type="checkbox"]) {
  width: 1.5rem;
  height: 1.5rem;
  aspect-ratio: 1;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: var(--border-thin);
  background-color: var(--color-bg);
  position: relative;
  transition: var(--transition);
}
input[type="checkbox"]:not(.toggle input[type="checkbox"]):checked {
    background-color: var(--color-primary);
  }
input[type="checkbox"]:not(.toggle input[type="checkbox"]):checked::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-image: url("/assets/svg/check.svg");
      background-size: 80%;
      background-repeat: no-repeat;
      background-position: center;


    }
input[type="checkbox"]:not(.toggle input[type="checkbox"]):focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
/* Modern input fields with logical properties */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea {
  font-family: var(--font-secondary);
  font-size: max(0.875rem, min(2vw, 1rem));
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  transition: var(--transition);
  border: var(--border-thin);
  min-height: 44px;
}
input[type="text"]::-moz-placeholder, input[type="email"]::-moz-placeholder, input[type="password"]::-moz-placeholder, input[type="number"]::-moz-placeholder, input[type="search"]::-moz-placeholder, textarea::-moz-placeholder {
    color: var(--color-text-secondary);
    opacity: 0.8;
  }
input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder, input[type="number"]::placeholder, input[type="search"]::placeholder, textarea::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.8;
  }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="search"]:focus, textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-surface);
    box-shadow: inset 0 0 0 1px var(--color-primary);
  }
input[type="text"]:disabled, input[type="email"]:disabled, input[type="password"]:disabled, input[type="number"]:disabled, input[type="search"]:disabled, textarea:disabled {
    color: #888;
    background-color: var(--color-surface);
    opacity: 0.7;
    cursor: not-allowed;
  }
/* Textarea specific styles */
textarea {
  resize: vertical;
  min-height: 120px;
  font-family: monospace;
  font-family: var(--font-primary, monospace);
}
/* Modern labels */
label {
  font-family: var(--font-secondary);
  font-size: max(0.875rem, min(2vw, 1rem));
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  max-width: 36rem;
  cursor: pointer;
}
/* Modern toggle switch with CSS3 */
.toggle input[type="checkbox"] {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 40px;
    height: 20px;
    background-color: var(--color-surface);
    border: var(--border-thin);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
  }
.toggle input[type="checkbox"]::before {
      content: "";
      position: absolute;
      width: 10px;
      height: 10px;
      background-color: var(--color-text-primary);
      top: 3px;
      left: 3px;
      transition: var(--transition);
    }
.toggle input[type="checkbox"]:checked {
      background-color: var(--color-primary);
    }
.toggle input[type="checkbox"]:checked::before {
        transform: translateX(20px);
      }
.toggle input[type="checkbox"]:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background-color: var(--color-surface);
    }
.toggle input[type="checkbox"]:disabled:checked {
        background-color: var(--color-surface);
      }
.toggle input[type="checkbox"]:focus-visible {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
/* === MODERN NAVIGATION COMPONENTS === */
/* Square brackets styling with CSS3 */
.square-brackets {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: max(0.875rem, min(2vw, 1rem));
  font-size: max(var(--font-size-sm, 0.875rem), min(2vw, var(--font-size-base, 1rem)));
}
.square-brackets::before {
    content: '[ ';
    margin-right: -.5rem;
  }
.square-brackets::after {
    content: ' ]';
    margin-left: -.5rem;
  }
.square-brackets.small {
    font-size: max(0.75rem, min(1.5vw, 0.875rem));
    font-size: max(var(--font-size-xs, 0.75rem), min(1.5vw, var(--font-size-sm, 0.875rem)));
  }
/* Modern tab buttons with retro arrow */
p+.tabs {
  margin-top: 1.5rem;
  overflow: auto;
}
.tab-buttons {
  position: relative;
  display: flex;
  gap: var(--space-xs);
  padding-left: var(--space-md);
  flex-direction: column;
  align-items: flex-start;
}
.tab-buttons button {
    font-size: .6rem !important;
    font-size: var(--font-size-xs, .6rem) !important;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    line-height: 140%;
  }
.tab-buttons button.active::before {
      content: '▶ ';
      font-family: var(--font-secondary);
      font-size: 1rem;
      display: block;
      position: absolute;
      left: -1.25rem;
      top: 50%;
      transform: translateY(-50%);
      filter: drop-shadow(-2px 0 0 var(--color-bg));
    }
@media (max-width: 600px) {
  .tabs {

    overflow: auto;
    overflow-y: hidden;
  }

  .tab-buttons {
    flex-direction: row;
    align-items: stretch;
    padding-left: 0;
    gap: var(--space-xs);
  }

    .tab-buttons button {

      text-align: left;
    }

      .tab-buttons button.active::before {
        left: 0;
        position: static;
        transform: none;
        margin-right: 0.25em;
        display: inline;
        filter: none;
      }
}
/* === MODERN VISUAL EFFECTS === */
/* Vibrant glow effects with CSS3 */
.glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle,
      rgba(0, 162, 255, 0.3) 0%,
      rgba(0, 162, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.glow.glow-primary {
    background: radial-gradient(circle,
        rgba(0, 162, 255, 0.3) 0%,
        rgba(0, 162, 255, 0) 70%);
    background: radial-gradient(circle,
        rgba(var(--color-primary-rgb, 0, 162, 255), 0.3) 0%,
        rgba(var(--color-primary-rgb, 0, 162, 255), 0) 70%);
  }
/* Modern pixelate effect */
.pixelate {
  image-rendering: pixelated;
  transition: var(--transition);
}
.pixelate:not(.reveal) {
    image-rendering: pixelated;
    transform: scale(0.08);
    width: 1250%;
    height: 1250%;
    max-width: none;
    max-height: none;
  }
.pixelate.reveal {
    image-rendering: auto;
    transform: scale(1);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
/* === MODERN PIXEL DESIGN SYSTEM DEFAULTS === */
/* Modern chip component - compact, pill-shaped status indicators */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  line-height: 1;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: var(--transition);
  white-space: nowrap;
  -webkit-text-decoration: none;
  -webkit-text-decoration: none;
  text-decoration: none;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  height: 2.5rem;

  /* Chip variants */

  /* Chip sizes */

  /* Interactive chips */

  /* Chip with close button */
}
.chip.success {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
  }
.chip.warning {
    background: var(--accent-yellow);
    color: var(--shade-black);
    border-color: var(--accent-yellow);
  }
.chip.danger {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
  }
.chip.info {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
  }
.chip.negative {
    background: var(--shade-500);
    color: var(--shade-000);
  }
.chip.outlined {
    background: transparent;
  }
.chip.outlined.success {
      color: var(--accent-green);
      border-color: var(--accent-green);
    }
.chip.outlined.warning {
      color: var(--accent-yellow);
      border-color: var(--accent-yellow);
    }
.chip.outlined.danger {
      color: var(--accent-red);
      border-color: var(--accent-red);
    }
.chip.outlined.info {
      color: var(--accent-blue);
      border-color: var(--accent-blue);
    }
.chip.small {
    padding: calc(var(--space-xs) * 0.5) var(--space-xs);
    font-size: 0.8rem;
    height: 2rem;
  }
.chip.big {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }
.chip.chip-clickable {
    cursor: pointer;
  }
.chip.chip-clickable:hover {
      transform: translateY(-1px);
      box-shadow: var(--shadow);
    }
.chip .close {
    margin-left: var(--space-xs);
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1em;
    line-height: 1;
    opacity: 0.7;
  }
.chip .close:hover {
      opacity: 1;
    }
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
}
/* Tag component - rectangular, more prominent than chips */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  line-height: 1;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: var(--transition);
  white-space: nowrap;
  -webkit-text-decoration: none;
  -webkit-text-decoration: none;
  text-decoration: none;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
  height: 2.5rem;


  /* Tag variants */

  /* Tag sizes */
}
.tag.tag-success {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
  }
.tag.tag-warning {
    background: var(--accent-yellow);
    color: var(--shade-black);
    border-color: var(--accent-yellow);
  }
.tag.tag-danger {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
  }
.tag.tag-info {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
  }
.tag.small {
    padding: 2px var(--space-xs);
    font-size: 0.625rem;
  }
.tag.big {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }
/* Chip container - for grouping multiple chips */
.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  align-items: center;
  justify-content: center;

  /* Responsive behavior */
}
.chip-containercontainer-sm {
    gap: calc(var(--space-xs) * 0.5);
  }
.chip-containercontainer-lg {
    gap: var(--space-sm);
  }
@media (max-width: 768px) {
.chip-container {
    gap: calc(var(--space-xs) * 0.75)
}

    .chip-container .chip,
    .chip-container .tag {
      font-size: 0.625rem;
      padding: calc(var(--space-xs) * 0.75) var(--space-xs);
    }
  }
/* === assets/css/pixel-components-interactive.css === */
/* 
 * Pixel Design System - Interactive Components
 * Standard CSS for tooltips, badges, accordions, progress bars, and alerts
 */
/* === BUTTONS === */
/* Prefer .button; keep button and .btn for legacy compatibility */
button,
.button,
.btn {
  --_bg: var(--color-bg);
  --_color: var(--color-text-primary);
  --_border: var(--color-text-primary);

  box-sizing: border-box;
  border: var(--border-thin) solid var(--color-text-primary);
  border-radius: 0;
  background: var(--_bg);
  color: var(--_color);
  padding: var(--space-xs) var(--space-sm);
  font-family: var(--font-secondary);
  font-size: max(0.75rem, min(2vw, 0.875rem));
  font-weight: normal;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  cursor: pointer;
  -webkit-text-decoration: none;
  text-decoration: none;
  box-shadow: var(--shadow-small);
  transition: all var(--transition);
  position: relative;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  min-height: 44px;

  /* Legacy modifier; will be removed once all templates use button--* */

  /* additional semantic variants for normalization */
}
button:hover, .button:hover, .btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow);
  }
button:active, .button:active, .btn:active {
    transform: translate(0, 0);
    box-shadow: var(--shadow-pressed);
  }
button:disabled, .button:disabled, .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }
button.primary,
  button.button--primary,
  .button.primary,
  .button.button--primary,
  .btn.primary,
  .btn.button--primary {
    --_bg: var(--color-primary);
    color: var(--shade-black);
  }
button.cta, .button.cta, .btn.cta {
    --_bg: var(--accent-red);
    --_color: black;
  }
button.secondary,
  button.button--secondary,
  .button.secondary,
  .button.button--secondary,
  .btn.secondary,
  .btn.button--secondary {
    --_bg: var(--color-surface);
  }
button.danger,
  button.button--danger,
  .button.danger,
  .button.button--danger,
  .btn.danger,
  .btn.button--danger {
    --_bg: var(--accent-red);
    --_color: #fff;
  }
button.info,
  button.button--info,
  .button.info,
  .button.button--info,
  .btn.info,
  .btn.button--info {
    --_bg: var(--accent-blue);
    --_color: #000;
  }
button.success,
  button.button--success,
  .button.success,
  .button.button--success,
  .btn.success,
  .btn.button--success {
    --_bg: var(--accent-green);
    --_color: #000;
  }
button.warning,
  button.button--warning,
  .button.warning,
  .button.button--warning,
  .btn.warning,
  .btn.button--warning {
    --_bg: var(--accent-yellow);
    --_color: #000;
  }
button.highlight, .button.highlight, .btn.highlight {
    background-color: #ff6b6b;
  }
button.stealth, .button.stealth, .btn.stealth {
    --_bg: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: 0;
    min-height: initial;
  }
button.stealth:hover,
    button.stealth:active,
    .button.stealth:hover,
    .button.stealth:active,
    .btn.stealth:hover,
    .btn.stealth:active {
      transform: none !important;
      box-shadow: none;
    }
button.small,
  button.button--small,
  .button.small,
  .button.button--small,
  .btn.small,
  .btn.button--small {
    padding: calc(var(--space-xs) * 0.5) var(--space-xs);
    font-size: 0.75rem;
    min-height: 32px;
  }
button.large,
  button.button--large,
  .button.large,
  .button.button--large,
  .btn.large,
  .btn.button--large {
    padding: var(--space-sm) var(--space-md);
    font-size: 1rem;
    min-height: 52px;
  }
/* Modern tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip-content {
  visibility: hidden;
  position: absolute;
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  border: var(--border-thin);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow);
  z-index: 100;
  font-family: var(--font-secondary);
  font-size: max(0.75rem, min(2vw, 0.875rem));
  width: -moz-max-content;
  width: max-content;
  max-width: 300px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}
.tooltip-content::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 8px 0;
  border-style: solid;
  border-color: var(--color-text-primary) transparent transparent;
}
.tooltip:hover .tooltip-content {
  visibility: visible;
  animation: slide-up 0.3s cubic-bezier(0.2, 0.9, 0.1, 1);
  animation: var(--animation-slide);
}
/* Modern badges with CSS custom properties */
.badge {
  --_bg: var(--color-text-primary);
  --_color: var(--color-bg);

  display: inline-block;
  background-color: var(--_bg);
  color: var(--_color);
  font-family: var(--font-primary);
  font-size: max(0.625rem, min(1.5vw, 0.75rem));
  position: relative;
  text-transform: uppercase;
  border-radius: 0;

  padding: var(--space-xs) var(--space-sm);

  align-self: flex-start;
}
.badge.primary {
    --_bg: var(--color-primary);
    --_color: var(--color-text-on-primary);
  }
.badge.success {
    --_bg: var(--accent-green);
    --_color: #000;
  }
.badge.warning {
    --_bg: var(--accent-yellow);
    --_color: #000;
  }
.badge.danger,
  .badge.attention {
    --_bg: var(--accent-red);
    --_color: #fff;
  }
.badge.info {
    --_bg: var(--accent-blue);
    --_color: #000;
  }
.badge.outline {
    --_bg: transparent;
    --_color: var(--color-text-primary);
    border-color: currentColor;
  }
/* Modern link blocks with CSS3 features */
.link {
  -webkit-text-decoration: underline;
  text-decoration: underline;

  /* Link variants */
}
.link.leftborder {
    padding: var(--space-md);
    margin: var(--space-xs) 0;
    background-color: var(--color-bg);
    border-left: 4px solid var(--color-primary);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
    border-radius: 0;
  }
.link.leftborder:hover {
      transform: translateX(4px);
      box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.15);
      -webkit-text-decoration: none;
      text-decoration: none;
      background-color: var(--color-surface);
    }
.link.leftborder:hover::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
      }
.link::after {
    content: "→";
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    opacity: 0;
    transition: var(--transition);
    font-weight: bold;
  }
.link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
.link.link-primary {
    border-left-color: var(--color-primary);
  }
.link.link-secondary {
    border-left-color: var(--color-secondary);
  }
.link.link-accent {
    border-left-color: var(--accent-green);
  }
/* Semantic accordion using details/summary elements */
details,
.accordion {
  border: var(--border);
  margin-bottom: var(--space-md);
  background-color: var(--color-bg);
  border-radius: 0;
}
details summary,
  details-header,
  .accordion summary,
  .accordion-header {
    background-color: var(--color-surface);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-primary);
    font-size: max(0.875rem, min(2vw, 1rem));
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--border-thin);
    transition: var(--transition);
    list-style: none;
  }
details summary:hover, details-header:hover, .accordion summary:hover, .accordion-header:hover {
      background-color: var(--color-bg-secondary);
    }
details summary::after, details-header::after, .accordion summary::after, .accordion-header::after {
      content: "+";
      font-size: 1.5rem;
      font-weight: bold;
      transition: var(--transition);
      line-height: 1;
    }
details summary::-webkit-details-marker, details-header::-webkit-details-marker, .accordion summary::-webkit-details-marker, .accordion-header::-webkit-details-marker {
      display: none;
    }
details>div:not(summary),
  details-content,
  .accordion>div:not(summary),
  .accordion-content {
    padding: var(--space-md);
  }
details[open] summary::after,
  details.active details-header::after,
  .accordion[open] summary::after,
  .accordion.active .accordion-header::after {
    content: "−";
    transform: rotate(0deg);
  }
details[open]>div:not(summary), .accordion[open]>div:not(summary) {
    animation: slide-up 0.3s cubic-bezier(0.2, 0.9, 0.1, 1);
    animation: var(--animation-slide);
  }
details.active details-content, .accordion.active .accordion-content {
    display: block;
    animation: slide-up 0.3s cubic-bezier(0.2, 0.9, 0.1, 1);
    animation: var(--animation-slide);
  }
/* PROGRESS BAR COMPONENT - Pixel Design System */
.progress {
  width: 100% !important;
  height: 24px !important;
  background-color: var(--color-surface);
  border: var(--border);
  overflow: hidden;
  position: relative;
  margin: var(--space-md) 0;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-shadow: var(--shadow-small);
  display: block;
  box-sizing: border-box;
}
.progress-bar {
  height: 100%;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
  position: relative;
  display: block;
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.4) 2px,
      rgba(255, 255, 255, 0.4) 4px);
  border-right: 2px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.progress-bar.progress-success {
  background-color: var(--accent-green);
}
.progress-bar.progress-warning {
  background-color: var(--accent-yellow);
}
.progress-bar.progress-danger {
  background-color: var(--accent-red);
}
.progress-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-family: var(--font-primary, monospace);
  font-size: 12px;
  color: var(--color-text-primary);
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 var(--color-bg), -1px -1px 0 var(--color-bg), 1px -1px 0 var(--color-bg), -1px 1px 0 var(--color-bg);
  z-index: 2;
  pointer-events: none;
}
/* Native progress element styling */
progress {
  width: 100%;
  height: 24px;
  background-color: var(--color-surface);
  border: var(--border);
  overflow: hidden;
  position: relative;
  margin: var(--space-md) 0;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-shadow: var(--shadow-small);
}
progress::-webkit-progress-bar {
  background-color: var(--color-surface);
}
progress::-webkit-progress-value {
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 4px,
      rgba(255, 255, 255, 0.2) 4px,
      rgba(255, 255, 255, 0.2) 8px);
}
progress::-moz-progress-bar {
  background-color: var(--color-primary);
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 4px,
      rgba(255, 255, 255, 0.2) 4px,
      rgba(255, 255, 255, 0.2) 8px);
}
/* Modern alerts with CSS3 */
.alert {
  padding: var(--space-md);
  margin: var(--space-md) 0;
  background-color: var(--color-bg);
  border: var(--border);
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  border-radius: 0;
}
.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--color-primary);
}
.alert.alert-success::before {
  background-color: var(--accent-green);
}
.alert.alert-warning::before {
  background-color: var(--accent-yellow);
}
.alert.alert-danger::before {
  background-color: var(--accent-red);
}
.alert.alert-info::before {
  background-color: var(--accent-blue);
}
.alert-icon {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: bold;
  color: var(--color-primary);
}
.alert-success .alert-icon {
  color: var(--accent-green);
}
.alert-warning .alert-icon {
  color: var(--accent-yellow);
}
.alert-danger .alert-icon {
  color: var(--accent-red);
}
.alert-info .alert-icon {
  color: var(--accent-blue);
}
.alert-content {
  flex: 1;
}
.alert-title {
  font-family: var(--font-primary);
  font-size: 1rem;
  margin: 0 0 var(--space-xs) 0;
  color: var(--color-text-primary);
}
.alert-message {
  font-family: var(--font-secondary);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}
/* === assets/css/pixel-animations.css === */
/* 
 * Pixel Design System - Modern Animations and Effects
 * CSS3 inspired animations, transitions, and visual effects
 */
/* Modern animation system with CSS custom properties */
:root {
  /* Animation timing functions */
  --ease-bounce: cubic-bezier(0.2, 0.9, 0.3, 1.3);
  --ease-smooth: cubic-bezier(0.2, 0.9, 0.1, 1);
  --ease-sharp: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
  /* Animation durations */
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
  
  /* Animation variables for customization */
  --animation-slide: slide-up var(--duration-normal) var(--ease-smooth);
  --animation-pop: pop-in var(--duration-normal) var(--ease-sharp);
  --animation-bounce: bounce var(--duration-slow) var(--ease-bounce);
}
/* Modern entrance animations */
.animate-in {
  animation: pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation: var(--animation-pop) forwards;
}
/* Consolidated slide animations using logical properties */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);  }
}
/* Modern pop-in animation */
@keyframes pop-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  80% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* Retro animations */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  50% {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
/* Chip shine animation */
@keyframes chip-shine {
  0% {
    transform: translateX(-100%);
  }
  50%, 100% {
    transform: translateX(100%);
  }
}
/* Pulse animation for attention-grabbing elements */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
  50% {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }
}
/* Shake animation for errors */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-4px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(4px);
  }
}
/* Glitch effect for retro appeal */
@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}
/* Float animation for subtle movement */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* Utility classes for animations */
.animate-slide-up {
  animation: slide-up 0.3s ease-out;
}
.animate-slide-down {
  animation: slide-down 0.3s ease-out;
}
.animate-slide-left {
  animation: slide-left 0.3s ease-out;
}
.animate-slide-right {
  animation: slide-right 0.3s ease-out;
}
.animate-pulse {
  animation: pulse 2s infinite;
}
.animate-shake {
  animation: shake 0.5s ease-in-out;
}
.animate-glitch {
  animation: glitch 0.3s ease-in-out;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
.animate-blink {
  animation: blink 1s infinite;
}
/* Hover effects */
.hover-lift {
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.1, 1);
  transition: transform 0.2s var(--ease-smooth);
}
.hover-lift:hover {
  transform: translateY(-2px);
}
.hover-scale {
  transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.1, 1);
  transition: transform 0.2s var(--ease-smooth);
}
.hover-scale:hover {
  transform: scale(1.05);
}
.hover-shadow {
  transition: box-shadow 0.2s cubic-bezier(0.2, 0.9, 0.1, 1);
  transition: box-shadow 0.2s var(--ease-smooth);
}
.hover-shadow:hover {
  box-shadow: var(--shadow-hover);
}
/* Loading animations */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-surface);
  border-top: 3px solid var(--color-primary);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Pixel dots loading animation */
.dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}
@keyframes dots {
  0%, 20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%, 100% {
    content: "...";
  }
}
/* === assets/css/image-rendering-utilities.css === */
/* Image Rendering Utility Classes
   Purpose: Provide explicit control over how images are rendered
   Usage:
     <img src="..." class="pixel-art" />  -> For low-res pixel artwork
     <img src="..." class="pixel-smooth" /> -> For photographs / UI where browser smoothing is preferred
*/
/* Base (leave default browser interpolation) */
img { image-rendering: auto; }
/* Generic crisp snapping helper: removes fractional translation blur on resting elements */
.img-crisp-snap { transform: translate3d(0,0,0); will-change: transform; }
/* High quality scaling hint for large UI screenshots (avoid contrast boosting that causes line breakup) */
.ui-screenshot {
  image-rendering: -webkit-optimize-contrast; /* still best for some safari */
  image-rendering: auto;
  filter: contrast(1.01) saturate(1.01);
}
/* Prevent subpixel jitter inside parallax for images flagged as stable */
[data-parallax="true"] .stable-image { backface-visibility: hidden; transform-style: preserve-3d; }
/* Pixel art: nearest-neighbor style without blurring */
.pixel-art {
  image-rendering: -webkit-optimize-contrast; /* Safari / legacy */
  image-rendering: -moz-crisp-edges;          /* Firefox */
  image-rendering: crisp-edges;               /* Standard */
  image-rendering: pixelated;                 /* Modern explicit */
  -ms-interpolation-mode: nearest-neighbor;   /* Old IE */
}
/* Force smooth scaling even if parent context attempts pixelation */
.pixel-smooth {
  image-rendering: auto !important;
  -ms-interpolation-mode: bicubic;
  /* Remove any crisp filters from inheritance */
}
/* Optional helper: high-dpi override to prevent over-sharp jaggies on retina for pixel art */
@media (min-resolution: 2dppx) {
  .pixel-art.hidpi-soften { image-rendering: pixelated; }
}
/* === assets/css/shadow-utilities.css === */
/* Shadow Filter Utilities (drop-shadow based)
   Purpose: organic, multi-layer elevation for transparent / irregular shapes.
   Strategy: ambient (large + faint) + key (tighter + slightly darker) + optional accent.
   Opt‑in parallax elevation: add data-shadow-elevate="true" to a parallax container.
*/
:root {
  --shadow-color-rgb: 51 72 103; /* base cool-neutral. Adjust/tint via theming */
}
/* Base transition utility (attach separately to opt-out for perf) */
.shadow-animate { transition: filter .45s cubic-bezier(.25,.46,.45,.94), transform .4s cubic-bezier(.25,.46,.45,.94); will-change: filter,transform; }
/* NOTE: All elevation variants now use THREE layers exactly for smooth interpolation (contact, mid, ambient). */
/* Level 1: subtle resting (lower opacities) */
.shadow-soft {
  filter:
    drop-shadow(0 1px 1px rgba(51, 72, 103, 0.1))
    drop-shadow(0 4px 6px rgba(51, 72, 103, 0.1))
    drop-shadow(0 10px 20px rgba(51, 72, 103, 0.05));
  filter:
    drop-shadow(0 1px 1px rgba(var(--shadow-color-rgb) / 0.10))
    drop-shadow(0 4px 6px rgba(var(--shadow-color-rgb) / 0.10))
    drop-shadow(0 10px 20px rgba(var(--shadow-color-rgb) / 0.05));
}
/* Level 2: hover / floating */
.shadow-float {
  filter:
    drop-shadow(0 2px 2px rgba(51, 72, 103, 0.1))
    drop-shadow(0 8px 14px rgba(51, 72, 103, 0.13))
    drop-shadow(0 18px 36px rgba(51, 72, 103, 0.08));
  filter:
    drop-shadow(0 2px 2px rgba(var(--shadow-color-rgb) / 0.10))
    drop-shadow(0 8px 14px rgba(var(--shadow-color-rgb) / 0.13))
    drop-shadow(0 18px 36px rgba(var(--shadow-color-rgb) / 0.08));
}
/* Level 3: focus / active */
.shadow-focus {
  filter:
    drop-shadow(0 1px 1px rgba(51, 72, 103, 0.1))
    drop-shadow(0 10px 18px rgba(51, 72, 103, 0.16))
    drop-shadow(0 26px 50px rgba(51, 72, 103, 0.1));
  filter:
    drop-shadow(0 1px 1px rgba(var(--shadow-color-rgb) / 0.10))
    drop-shadow(0 10px 18px rgba(var(--shadow-color-rgb) / 0.16))
    drop-shadow(0 26px 50px rgba(var(--shadow-color-rgb) / 0.10));
}
/* Directional / cinematic */
.shadow-angled {
  filter:
    drop-shadow(6px 8px 8px rgba(51, 72, 103, 0.1))
    drop-shadow(14px 18px 28px rgba(51, 72, 103, 0.14))
    drop-shadow(26px 34px 52px rgba(51, 72, 103, 0.09));
  filter:
    drop-shadow(6px 8px 8px rgba(var(--shadow-color-rgb) / 0.10))
    drop-shadow(14px 18px 28px rgba(var(--shadow-color-rgb) / 0.14))
    drop-shadow(26px 34px 52px rgba(var(--shadow-color-rgb) / 0.09));
}
/* Glow hybrid */
.shadow-glow {
  filter:
    drop-shadow(0 0 4px rgba(51, 72, 103, 0.18))
    drop-shadow(0 8px 18px rgba(51, 72, 103, 0.14))
    drop-shadow(0 22px 44px rgba(51, 72, 103, 0.08));
  filter:
    drop-shadow(0 0 4px rgba(var(--shadow-color-rgb) / 0.18))
    drop-shadow(0 8px 18px rgba(var(--shadow-color-rgb) / 0.14))
    drop-shadow(0 22px 44px rgba(var(--shadow-color-rgb) / 0.08));
}
/* Elevated sheet */
.shadow-layered {
  filter:
    drop-shadow(0 3px 4px rgba(51, 72, 103, 0.1))
    drop-shadow(0 14px 26px rgba(51, 72, 103, 0.15))
    drop-shadow(0 34px 60px rgba(51, 72, 103, 0.1));
  filter:
    drop-shadow(0 3px 4px rgba(var(--shadow-color-rgb) / 0.10))
    drop-shadow(0 14px 26px rgba(var(--shadow-color-rgb) / 0.15))
    drop-shadow(0 34px 60px rgba(var(--shadow-color-rgb) / 0.10));
}
/* Dynamic elevation when parallax interaction is active (container gets .parallax-active) */
/* Elevation mapping: soft->float, float->focus, focus->layered; others get a subtle bump */
/* Active (parallax) modest elevation bumps */
[data-shadow-elevate="true"].parallax-active .shadow-soft {
  filter: drop-shadow(0 2px 2px rgba(51, 72, 103, 0.12))
          drop-shadow(0 8px 16px rgba(51, 72, 103, 0.14))
          drop-shadow(0 20px 40px rgba(51, 72, 103, 0.1));
  filter: drop-shadow(0 2px 2px rgba(var(--shadow-color-rgb) / 0.12))
          drop-shadow(0 8px 16px rgba(var(--shadow-color-rgb) / 0.14))
          drop-shadow(0 20px 40px rgba(var(--shadow-color-rgb) / 0.10));
}
[data-shadow-elevate="true"].parallax-active .shadow-float {
  filter: drop-shadow(0 3px 3px rgba(51, 72, 103, 0.14))
          drop-shadow(0 12px 22px rgba(51, 72, 103, 0.16))
          drop-shadow(0 28px 54px rgba(51, 72, 103, 0.12));
  filter: drop-shadow(0 3px 3px rgba(var(--shadow-color-rgb) / 0.14))
          drop-shadow(0 12px 22px rgba(var(--shadow-color-rgb) / 0.16))
          drop-shadow(0 28px 54px rgba(var(--shadow-color-rgb) / 0.12));
}
[data-shadow-elevate="true"].parallax-active .shadow-focus {
  filter: drop-shadow(0 2px 2px rgba(51, 72, 103, 0.12))
          drop-shadow(0 16px 30px rgba(51, 72, 103, 0.18))
          drop-shadow(0 40px 70px rgba(51, 72, 103, 0.14));
  filter: drop-shadow(0 2px 2px rgba(var(--shadow-color-rgb) / 0.12))
          drop-shadow(0 16px 30px rgba(var(--shadow-color-rgb) / 0.18))
          drop-shadow(0 40px 70px rgba(var(--shadow-color-rgb) / 0.14));
}
[data-shadow-elevate="true"].parallax-active .shadow-angled {
  filter: drop-shadow(8px 10px 12px rgba(51, 72, 103, 0.1))
          drop-shadow(18px 24px 36px rgba(51, 72, 103, 0.16))
          drop-shadow(34px 46px 70px rgba(51, 72, 103, 0.11));
  filter: drop-shadow(8px 10px 12px rgba(var(--shadow-color-rgb) / 0.10))
          drop-shadow(18px 24px 36px rgba(var(--shadow-color-rgb) / 0.16))
          drop-shadow(34px 46px 70px rgba(var(--shadow-color-rgb) / 0.11));
}
[data-shadow-elevate="true"].parallax-active .shadow-glow {
  filter: drop-shadow(0 0 8px rgba(51, 72, 103, 0.14))
          drop-shadow(0 14px 26px rgba(51, 72, 103, 0.18))
          drop-shadow(0 40px 72px rgba(51, 72, 103, 0.12));
  filter: drop-shadow(0 0 8px rgba(var(--shadow-color-rgb) / 0.14))
          drop-shadow(0 14px 26px rgba(var(--shadow-color-rgb) / 0.18))
          drop-shadow(0 40px 72px rgba(var(--shadow-color-rgb) / 0.12));
}
/* Layered stays the same when active to avoid overblow */
/* Dark theme adjustment: compress depth & increase neutralization */
.dark-theme .shadow-soft,
.dark-theme .shadow-float,
.dark-theme .shadow-focus,
.dark-theme .shadow-angled,
.dark-theme .shadow-glow,
.dark-theme .shadow-layered {
  --shadow-color-rgb: 0 0 0;
}
.dark-theme [data-shadow-elevate="true"].parallax-active .shadow-soft,
.dark-theme [data-shadow-elevate="true"].parallax-active .shadow-float,
.dark-theme [data-shadow-elevate="true"].parallax-active .shadow-focus,
.dark-theme [data-shadow-elevate="true"].parallax-active .shadow-angled,
.dark-theme [data-shadow-elevate="true"].parallax-active .shadow-glow,
.dark-theme [data-shadow-elevate="true"].parallax-active .shadow-layered {
  filter: brightness(1.05) saturate(.9) contrast(1.02) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.65));
}
/* Pixel-art: ensure the image itself remains crisp; shadow softness still applied */
.pixel-art.shadow-soft,
.pixel-art.shadow-float,
.pixel-art.shadow-focus,
.pixel-art.shadow-angled,
.pixel-art.shadow-glow,
.pixel-art.shadow-layered {
  image-rendering: pixelated;
}
/* Organic stagger for active elevation (slight wave) */
[data-shadow-elevate="true"].parallax-active [data-parallax-z="0"].shadow-animate { transition-delay: 0ms; }
[data-shadow-elevate="true"].parallax-active [data-parallax-z="2"].shadow-animate { transition-delay: 30ms; }
[data-shadow-elevate="true"].parallax-active [data-parallax-z="3"].shadow-animate { transition-delay: 60ms; }
[data-shadow-elevate="true"].parallax-active [data-parallax-z="4"].shadow-animate { transition-delay: 90ms; }
[data-shadow-elevate="true"].parallax-active [data-parallax-z="5"].shadow-animate { transition-delay: 120ms; }
/* Performance guidance */
/* Avoid assigning heavy multi-layer filters to large lists (>50) of elements, especially if animated every frame. */
/* === assets/css/newsletter.css === */
/* Newsletter section styling with pixel art aesthetics */
.newsletter {
  margin: var(--space-lg) auto;
  margin-top: 10rem;
  position: relative;
  overflow: visible !important;
  transform-style: preserve-3d;
  font-family: var(--font-primary);
  width: 100%;
  max-width: var(--container-width-big);
  padding: 0 var(--space-md);
}
.newsletter-container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: var(--space-lg);
  gap: var(--space-lg);
  align-items: center;
}
.wrapper_headline h2 {
  margin: 0;
  line-height: 1.1;
}
.input-wrapper {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}
.input-wrapper .input {
  flex: 1;
  min-width: 0; /* Prevents flex item from overflowing */
}
@keyframes pixelPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}
.consent-container {
  text-align: left;
}
/* Pixelated loading animation */
.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  z-index: 10;
  image-rendering: pixelated;
  animation: pixelLoading 1s steps(8) infinite;
}
@keyframes pixelLoading {
  0% {
    clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 50%);
  }

  25% {
    clip-path: polygon(50% 0%, 100% 0%, 100% 50%, 50% 50%);
  }

  50% {
    clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
  }

  75% {
    clip-path: polygon(0% 50%, 50% 50%, 50% 100%, 0% 100%);
  }

  100% {
    clip-path: polygon(0% 0%, 50% 0%, 50% 50%, 0% 50%);
  }
}
@keyframes pulse {
  0% {
    transform: rotate(45deg) scale(1);
  }

  50% {
    transform: rotate(45deg) scale(1.2);
  }

  100% {
    transform: rotate(45deg) scale(1);
  }
}
/* Success and Error Modal Styling */
.newsletter-success-container,
.newsletter-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  text-align: center;
}
.success-icon,
.error-icon {
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--color-text-primary);
}
.success-icon::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 0, 0.2) 0%, rgba(0, 255, 0, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glow 2s infinite;
}
.error-icon::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glow 2s infinite;
}
@keyframes glow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.8);
  }
}
.success-message,
.error-message {
  width: 100%;
}
.success-message h4,
.error-message h4 {
  font-size: var(--type-hl-16-size);
  line-height: var(--type-hl-16-lh);
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--color-text-primary);
  letter-spacing: 1px;
}
.success-title {
  font-size: var(--type-hl-18-size);
  line-height: var(--type-hl-18-lh);
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--color-primary);
}
.exp-bar {
  width: 100%;
  height: 20px;
  background-color: var(--color-bg);
  border: var(--border-thin);
  margin: 20px 0 10px;
  position: relative;
  overflow: hidden;
}
.exp-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: var(--color-primary);
  animation: fillProgress 2s forwards 0.5s;
}
@keyframes fillProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}
.exp-text {
  font-weight: bold;
  font-size: var(--type-body-16-size);
  line-height: var(--type-body-16-lh);
  color: var(--color-primary);
  animation: bounceIn 0.5s forwards 2.5s;
  opacity: 0;
  transform: scale(0.8);
}
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  70% {
    opacity: 1;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.retry-prompt {
  margin-top: 20px;
  padding: 8px;
  border: var(--border-thin);
  display: inline-block;
  animation: blink 1s infinite;
}
@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}
/* Mobile-first responsive design using design system breakpoints */
@media (max-width: 768px) {
  .newsletter {
    margin: var(--space-lg) auto;
    padding: 0 var(--space-sm);
    margin-top: 6rem;
  }
  
  .newsletter-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
    justify-items: center; /* center form row and headline */
  }
  
  .wrapper_headline h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
  }
  
  /* Keep horizontal layout on mobile but optimize spacing */
  .input-wrapper {
    flex-direction: row;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
    align-items: stretch; /* keep input and button same height */
  }
  
  .input-wrapper .input {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    min-height: 48px;
  }
  
  .input-wrapper .btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 48px;
  }
  
  .consent-container {
    /* Center the group but left-align its text for readability */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-sm);
    text-align: left;
    max-width: 500px;
    margin: var(--space-sm) auto 0;
  }
  
  .checkbox-text {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .consent-container input[type="checkbox"] {
    /* nudge checkbox to align optically with first text line */
    margin-top: 0.2rem;
  }
}
@media (max-width: 480px) {
  .newsletter {
    padding: 0 var(--space-sm);
    margin-top: 4rem;
  }
  
  .newsletter-container {
    gap: var(--space-md);
  }
  
  .wrapper_headline h2 {
    font-size: 1.75rem;
  }
  
  .input-wrapper {
    gap: var(--space-xs);
    max-width: 100%;
  }
  
  .input-wrapper .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  min-height: 46px;
  }
  
  .input-wrapper .input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  min-height: 46px;
  }
  
  .checkbox-text {
    font-size: 0.8rem;
  }
}
/* Extra small screens - only then consider stacking */
@media (max-width: 360px) {
  .input-wrapper {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .input-wrapper .btn {
    width: 100%;
  }
}
/* === assets/css/page-transitions.css === */
/* 
 * RAIKEN.io Page Transitions
 * Modern, SEO-friendly animated transitions
 */
/* Base transition styling */
:root {
  --page-transition-duration: 200ms;
  --page-transition-easing: cubic-bezier(0.65, 0, 0.35, 1);
  --page-transition-translate: 30px; /* slide distance */
  --page-zoom-in-scale: 1.05;       /* zoom-in start scale */
  --page-zoom-out-scale: .95;       /* zoom-out end scale */
}
/* Main content wrapper transitions */
.page-transition-wrapper {
  position: relative;
  animation-duration: 200ms;
  animation-duration: var(--page-transition-duration);
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  animation-timing-function: var(--page-transition-easing);
  animation-fill-mode: both;
}
/* Exit animation - current page fading out */
.page-transitioning-out .page-transition-wrapper {
  animation-name: fadeOutPage;
  pointer-events: none;
}
/* Entry animation - new page fading in */
.page-transitioning-in .page-transition-wrapper {
  animation-name: fadeInPage;
}
/* Remove horizontal/vertical movement for a snappier feel */
@keyframes fadeOutPage {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes fadeInPage {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
/* Generic fade used by fade-only variant */
@keyframes fadePageTransition {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
/* Prevent blinking on initial page load by making .page-animated-element always visible when .js-initial-page-load is present on <html>. */
html.js-initial-page-load .page-animated-element {
  opacity: 1 !important;
  transition: none !important;
}
/* Remove transform/translate from animated elements for less movement */
.page-animated-element {
  opacity: 0;
  transition: opacity 0.2s;
  transform: none !important;
}
.page-element-visible {
  opacity: 1;
  transform: none !important;
}
/* Different animation styles for various component types */
.hero-section.page-animated-element {
  --animation-order: 0;
}
.feature-card.page-animated-element {
  --animation-order: 1;
}
.cardRidge.page-animated-element {
  --animation-order: 2;
}
/* Alternative transitions that can be enabled with classes */
.slide-transition .page-transitioning-out .page-transition-wrapper {
  animation-name: slideOutUp;
}
.slide-transition .page-transitioning-in .page-transition-wrapper {
  animation-name: slideInUp;
}
@keyframes slideOutUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
  transform: translateY(calc(30px * -1));
  transform: translateY(calc(var(--page-transition-translate) * -1));
    opacity: 0;
  }
}
@keyframes slideInUp {
  0% {
  transform: translateY(30px);
  transform: translateY(var(--page-transition-translate));
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Zoom transition variant */
.zoom-transition .page-transitioning-out .page-transition-wrapper {
  animation-name: zoomOut;
}
.zoom-transition .page-transitioning-in .page-transition-wrapper {
  animation-name: zoomIn;
}
@keyframes zoomOut {
  0% {
  transform: scale(1);
    opacity: 1;
  }
  100% {
  transform: scale(.95);
  transform: scale(var(--page-zoom-out-scale));
    opacity: 0;
  }
}
@keyframes zoomIn {
  0% {
  transform: scale(1.05);
  transform: scale(var(--page-zoom-in-scale));
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* Fade-only variant for shared element transitions */
.page-transition-fadeonly .page-transition-wrapper { animation-name: fadePageTransition !important; }
.page-transition-fadeonly.page-transitioning-out .page-transition-wrapper { animation-name: fadeOutPage !important; }
.page-transition-fadeonly.page-transitioning-in .page-transition-wrapper { animation-name: fadeInPage !important; }
/* Hide floating UI elements during page transitions */
.page-transitioning .floating-buy-button {
  transform: translateY(100%) !important;
  transition: none !important;
  opacity: 0 !important;
}
/* Prevent scroll visibility during boss intro transitions */
.page-transitioning body {
  overflow: hidden !important;
}
.page-transitioning main,
.page-transitioning #main-content {
  visibility: hidden !important;
  opacity: 0 !important;
  transition: none !important;
}
/* Responsive adjustments */
@media (prefers-reduced-motion: reduce) {
  :root {
    --page-transition-duration: 0ms; /* Disable animations for users who prefer reduced motion */
  }
  
  .page-animated-element {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* Organic Loader (used inside page transition overlay) */
.organic-page-loader {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 5; /* ensure above bars/hero inside overlay */
}
.organic-page-loader.active {
  opacity: 1;
  pointer-events: auto;
}
.organic-page-loader .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-5vh);
}
.organic-page-loader .loader-dots {
  display: flex;
  gap: 12px;
}
.organic-page-loader .loader-dot {
  width: 12px;
  height: 12px;
  background: #7c5cff;
  background: var(--color-primary, #7c5cff);
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
  animation: organic-bounce 1.8s infinite cubic-bezier(.35, .15, .25, .95), organic-hue 3.2s infinite linear;
  animation-play-state: paused; /* only when loader active */
}
.organic-page-loader.active .loader-dot { animation-play-state: running; }
.organic-page-loader .loader-dot[data-index="0"] { animation-delay: 0s, 0s; }
.organic-page-loader .loader-dot[data-index="1"] { animation-delay: .14s, .28s; }
.organic-page-loader .loader-dot[data-index="2"] { animation-delay: .28s, .56s; }
.organic-page-loader .loading-text {
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: .2em;
  color: #e6f6f2;
  color: var(--color-text, #e6f6f2);
  opacity: .85;
  text-transform: uppercase;
}
@keyframes organic-bounce {
  0%   { transform: translateX(-24px) translateY(0) scaleX(.92) scaleY(1.08); border-radius: 50%; }
  25%  { transform: translateX(0) translateY(-4px) scaleX(1.08) scaleY(.92); border-radius: 45% 55% 50% 50%; }
  50%  { transform: translateX(28px) translateY(0) scaleX(1.15) scaleY(.9);  border-radius: 40% 60% 50% 50%; }
  75%  { transform: translateX(0) translateY(4px)  scaleX(.96) scaleY(1.06); border-radius: 55% 45% 50% 50%; }
  100% { transform: translateX(-24px) translateY(0) scaleX(.92) scaleY(1.08); border-radius: 50%; }
}
@keyframes organic-hue {
  0%   { filter: hue-rotate(0deg)   brightness(1); }
  50%  { filter: hue-rotate(180deg) brightness(1.15); }
  100% { filter: hue-rotate(360deg) brightness(1); }
}
/* === components/userAvatar/userAvatar.css === */
/* Modern User Avatar component with dynamic glow and status support */
.user-avatar {
  display: inline-grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  width: 48px;
  width: var(--avatar-size, 48px);
  height: 48px;
  height: var(--avatar-size, 48px);
  border-radius: 999px;
  border-radius: var(--avatar-radius, 999px);
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.65), rgba(14, 165, 233, 0.65));
  background: var(--avatar-bg, linear-gradient(135deg, rgba(30, 64, 175, 0.65), rgba(14, 165, 233, 0.65)));
  color: var(--avatar-fg, var(--color-text-primary));
  font-family: var(--font-primary);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(148, 163, 253, 0.35);
  border: var(--avatar-border, 1px solid rgba(148, 163, 253, 0.35));
  box-shadow: 0 24px 45px -30px rgba(15, 23, 42, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
  backdrop-filter: saturate(120%) blur(0px);
  backdrop-filter: var(--avatar-backdrop, saturate(120%) blur(0px));
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: inherit;
    transform: scale(1.01);
    transition: transform 0.3s ease, filter 0.3s ease;
  }
.user-avatar .initials {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    place-items: center;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: inherit;
  }
.user-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background: conic-gradient(from 180deg at 50% 50%, rgba(56, 189, 248, 0.5), rgba(129, 140, 248, 0.38), rgba(244, 114, 182, 0.45), rgba(56, 189, 248, 0.5));
    opacity: 0.35;
    opacity: var(--avatar-ring-opacity, 0.35);
    z-index: -1;
    transition: opacity 0.3s ease;
  }
.user-avatar:hover,
  .user-avatar:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 30px 60px -28px rgba(14, 165, 233, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
  }
.user-avatar:hover::before,
  .user-avatar:focus-visible::before {
    opacity: 0.6;
    opacity: var(--avatar-ring-hover-opacity, 0.6);
  }
.user-avatar:focus-visible {
    outline: 2px solid rgba(56, 189, 248, 0.65);
    outline-offset: 4px;
  }
.user-avatar:hover img {
    transform: scale(1.05);
  }
.user-avatar.interactive {
    cursor: pointer;
  }
.user-avatar.interactive:active {
    transform: translateY(0) scale(0.99);
  }
.user-avatar.small {
    --avatar-size: 32px;
    font-size: 12px;
  }
.user-avatar.large {
    --avatar-size: 64px;
    font-size: 20px;
  }
.user-avatar.larger,
  .user-avatar.hero {
    --avatar-size: 120px;
    font-size: 32px;
  }
.user-avatar.hero {
    --avatar-border: 0.5rem solid rgba(59, 130, 246, 0.65);
    --avatar-ring-opacity: 0.55;
    box-shadow: 0 40px 70px -28px rgba(59, 130, 246, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.18);
  }
.user-avatar.rounded {
    --avatar-radius: var(--border-radius-lg, 20px);
  }
.user-avatar.square {
    --avatar-radius: var(--border-radius-md, 12px);
  }
.user-avatar.thick-border {
    --avatar-border: 3px solid rgba(148, 163, 253, 0.65);
  }
.user-avatar.hero-border {
    --avatar-border: 0.5rem solid rgba(59, 130, 246, 0.7);
  }
.user-avatar.no-border {
    --avatar-border: none;
    box-shadow: 0 18px 45px -30px rgba(15, 23, 42, 0.9);
  }
.user-avatar.user-avatar--image {
  --avatar-ring-opacity: 0.18;
  --avatar-ring-hover-opacity: 0.32;
  backdrop-filter: saturate(110%) blur(2px);
  backdrop-filter: var(--avatar-backdrop, saturate(110%) blur(2px));
  }
.user-avatar.user-avatar--initials {
    --avatar-ring-opacity: 0.5;
    --avatar-ring-hover-opacity: 0.75;
    letter-spacing: 0.16em;
    text-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
  }
.user-avatar.online::after,
  .user-avatar.offline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: max(12px, calc(48px * 0.24));
    width: max(12px, calc(var(--avatar-size, 48px) * 0.24));
    height: max(12px, calc(48px * 0.24));
    height: max(12px, calc(var(--avatar-size, 48px) * 0.24));
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.6);
  }
.user-avatar.online::after {
    background: linear-gradient(135deg, #22c55e, #4ade80);
  }
.user-avatar.offline::after {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
  }
.user-avatar-block {
  display: inline-flex;
  align-items: center;
  gap: max(0.65rem, min(2vw, 0.9rem));
  min-width: 0;
}
.user-avatar-block--inline,
.user-avatar-block:not(.user-avatar-block--stacked) {
  flex-direction: row;
  align-items: center;
}
.user-avatar-block--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: max(0.4rem, min(1vw, 0.6rem));
}
.user-avatar-block__avatar {
  flex-shrink: 0;
  display: inline-flex;
}
.user-avatar-block__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.user-avatar-block--inline .user-avatar-block__meta,
.user-avatar-block:not(.user-avatar-block--stacked) .user-avatar-block__meta {
  align-items: flex-start;
}
.user-avatar-block--stacked .user-avatar-block__meta {
  align-items: center;
  text-align: center;
}
.user-avatar-block__name {
  font-weight: 600;
  font-size: clamp(0.95rem, 0.92rem + 0.08vw, 1.05rem);
  color: var(--color-text-primary);
  letter-spacing: 0.015em;
  line-height: 1.25;
  text-transform: none;
}
.user-avatar-block__email {
  font-size: clamp(0.78rem, 0.76rem + 0.06vw, 0.88rem);
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: none;
  word-break: break-word;
  opacity: 0.85;
}
/* === components/toastNotification/toastNotification.css === */
/* 
 * Toast Notification Component - NES-inspired style
 * Part of RAIKEN.io design system
 */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  pointer-events: none; /* Allow clicking through when no toasts */
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.toast-notification {
  width: calc(100% - 2rem);
  max-width: 400px;
  background-color: #fff;
  background-color: var(--color-bg, #fff);
  border: 4px solid #000;
  border: 4px solid var(--color-text-primary, #000);
  box-shadow: 4px 4px 0 #000;
  box-shadow: 4px 4px 0 var(--color-text-primary, #000);
  padding: 0.75rem;
  margin-top: 0.5rem;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  opacity: 0;
  image-rendering: pixelated;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  animation-fill-mode: forwards;
}
.toast-notification.active {
  opacity: 1;
  animation: slideInToast 0.4s steps(3) forwards;
}
.toast-notification.exiting {
  animation: slideOutToast 0.4s steps(3) forwards;
}
@keyframes slideInToast {
  0% {
    transform: translate(-50%, 100%) scale(0.7);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, -5%) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}
@keyframes slideOutToast {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
  30% {
    transform: translate(-50%, -5%) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 100%) scale(0.7);
    opacity: 0;
  }
}
.toast-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.toast-message {
  flex: 1;
  line-height: 1.4;
}
.toast-action {
  white-space: nowrap;
}
/* Toast types */
.toast-notification.error {
  background-color: #fff0f0;
  background-color: var(--color-error-bg, #fff0f0);
  border-color: #e91e63;
  border-color: var(--color-error, #e91e63);
  box-shadow: 4px 4px 0 #e91e63;
  box-shadow: 4px 4px 0 var(--color-error, #e91e63);
}
.toast-notification.success {
  background-color: #f0fff0;
  background-color: var(--color-success-bg, #f0fff0);
  border-color: #4caf50;
  border-color: var(--color-success, #4caf50);
  box-shadow: 4px 4px 0 #4caf50;
  box-shadow: 4px 4px 0 var(--color-success, #4caf50);
}
.toast-notification.warning {
  background-color: #fffbe6;
  background-color: var(--color-warning-bg, #fffbe6);
  border-color: #ff9800;
  border-color: var(--color-warning, #ff9800);
  box-shadow: 4px 4px 0 #ff9800;
  box-shadow: 4px 4px 0 var(--color-warning, #ff9800);
}
.toast-notification.info {
  background-color: #e6f7ff;
  background-color: var(--color-info-bg, #e6f7ff);
  border-color: #2196f3;
  border-color: var(--color-info, #2196f3);
  box-shadow: 4px 4px 0 #2196f3;
  box-shadow: 4px 4px 0 var(--color-info, #2196f3);
}
/* NES-style buttons in toast */
.toast-notification .nes-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-size: var(--font-size-xxs, 0.75rem);
  line-height: 1;
  margin: 0;
}
/* Entrance animation */
@keyframes toast-in {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Exit animation */
@keyframes toast-out {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100%) scale(0.9);
  }
}
/* Toast icon styles */
.toast-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  text-align: center;
}
/* Custom close button */
.toast-close {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background: none;
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.125rem 0.25rem;
  opacity: 0.7;
}
.toast-close:hover {
  opacity: 1;
}
/* === components/consentBanner/consentBanner.css === */
/* Consent Banner Styles - NES Retro Inspired */
/* Ensure highest possible z-index for consent elements */
/* Use separate backdrop for better visibility and higher z-index */
.consent-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2147483646; /* One less than the max */
  pointer-events: auto;
}
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-bg);
  box-shadow: 0 -2px 0 var(--color-text-primary);
  padding: var(--space-md);
  z-index: 2147483647; /* Maximum safe z-index value */
  border: 4px solid var(--color-text-primary);
  border-bottom: none;
  font-size: var(--font-size-xs);
  font-family: var(--font-primary);
  image-rendering: pixelated;
  pointer-events: auto;
  max-width: 90vw;
  margin: 0 auto;
}
.consent-banner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.consent-banner-main span {
  flex: 1;
  min-width: 280px;
  line-height: 1.6;
}
.consent-banner-actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
/* NES-style buttons */
.consent-btn {
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0;
  font-weight: normal;
  cursor: pointer;
  border: 2px solid var(--color-text-primary);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  position: relative;
  box-shadow: 2px 2px 0 var(--color-text-primary);
  transition: all 0.1s ease;
}
.consent-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--color-text-primary);
}
.consent-btn:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--color-text-primary);
}
.consent-btn.primary {
  background: var(--color-primary);
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}
/* NES-style modal */
.consent-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  background: var(--color-bg);
  padding: var(--space-md);
  border: 4px solid var(--color-text-primary);
  box-shadow: 8px 8px 0 var(--color-text-primary);
  z-index: 2147483647; /* Maximum safe z-index value */
  max-height: 90vh;
  overflow-y: auto;
  image-rendering: pixelated;
  pointer-events: auto;
}
.consent-settings-modal h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-text-primary);
  padding-bottom: var(--space-xs);
}
.consent-option {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px dashed var(--color-text-secondary);
}
.consent-option:last-child {
  border-bottom: none;
}
.consent-option label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}
.consent-option small {
  display: block;
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  /* font-size: var(--font-size-xs);
  line-height: 1.6;
  margin-top: var(--space-xs); */
}
.consent-settings-actions {
  margin-top: var(--space-md);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}
.consent-banner {
  animation: slideUp 0.4s steps(3) forwards;
}
/* Dark mode adjustments */
html.dark .consent-btn {
  box-shadow: 2px 2px 0 var(--color-text-primary);
}
html.dark .consent-settings-modal {
  box-shadow: 8px 8px 0 var(--color-text-primary);
}
.consent-age-confirmation {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.consent-age-confirmation small {
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  font-size: var(--font-size-xs);
  line-height: 1.4;
}
/* Highlight for required fields that need attention */
.highlight-required {
  animation: pulse-highlight 1.5s ease-in-out;
  border-radius: 4px;
  background-color: rgba(255, 220, 220, 0.6);
  padding: var(--space-xs);
  box-shadow: 0 0 0 2px #ff3860;
  box-shadow: 0 0 0 2px var(--color-error, #ff3860);
  transition: all 0.3s ease;
}
@keyframes pulse-highlight {
  0%, 100% { box-shadow: 0 0 0 2px #ff3860; box-shadow: 0 0 0 2px var(--color-error, #ff3860); }
  50% { box-shadow: 0 0 0 4px #ff3860; box-shadow: 0 0 0 4px var(--color-error, #ff3860); }
}
/* Improved styling for age verification section */
.age-verification {
  margin-top: var(--space-md);
  padding: var(--space-xs);
  border-top: 1px solid #eee;
  border-top: 1px solid var(--color-border, #eee);
}
.age-verification label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  cursor: pointer;
}
.age-verification input {
  margin-right: var(--space-sm);
}
/* Styling for the new template-based consent options */
.consent-option {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px dashed #ccc;
  border-bottom: 2px dashed var(--color-text-secondary, #ccc);
}
.consent-option-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
  font-weight: bold;
}
.consent-option-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.service-description {
  font-size: var(--font-size-xs);
  font-family: var(--font-secondary);
  margin-bottom: var(--space-xs);
}
.service-details {
  font-size: 0.75rem;
  font-size: var(--font-size-xxs, 0.75rem);
  color: #666;
  color: var(--color-text-secondary, #666);
  border-top: 1px dotted #eee;
  border-top: 1px dotted var(--color-border, #eee);
  padding-top: var(--space-xs);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-secondary);
  gap: var(--space-xs);
}
/* Inherit unified modal transitions (bottom sheet on mobile) */
/* === components/contextMenu/contextMenu.css === */
/**
 * Context Menu Component Styles
 * 
 * A reusable dropdown/context menu system with accessibility features
 * and responsive positioning.
 *
 * @version 1.0.0
 * @author RAIKEN Team
 */
/* Base Context Menu Styling */
.context-menu {
    position: absolute;
    z-index: 1000;
    background-color: #ffffff;
    background-color: var(--color-surface, #ffffff);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    box-shadow: var(--elevation-3, 0 4px 8px rgba(0, 0, 0, 0.12));
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden;
    min-width: 180px;
    max-height: calc(100vh - 40px); /* Prevent touching viewport edges */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
    opacity: 0;
    max-height: 90vh;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
}
/* Customize scrollbar for WebKit browsers */
.context-menu::-webkit-scrollbar {
    width: 6px;
}
.context-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    background-color: var(--color-border, rgba(0, 0, 0, 0.15));
    border-radius: 3px;
}
.context-menu::-webkit-scrollbar-track {
    background: transparent;
}
/* Active state */
.context-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
/* Menu lists */
.context-menu ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}
/* Menu items */
.context-menu li {
    position: relative;
    padding: .5rem 0;
    margin: 0;
}
/* Menu section headings */
.context-menu .section-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666666;
    color: var(--color-text-secondary, #666666);
    padding: 12px 16px 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Interactive menu items */
.context-menu button,
.context-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    text-align: left;
    font: inherit;
    font-size: 0.9rem;
    color: #333333;
    color: var(--color-text-primary, #333333);
    cursor: pointer;
    -webkit-text-decoration: none;
    text-decoration: none;
    transition: background-color 0.2s;
    box-shadow: none;
}
/* Hover and focus states */
.context-menu button:hover,
.context-menu a:hover,
.context-menu button:focus-visible,
.context-menu a:focus-visible {
    background-color: rgba(0, 0, 0, 0.04);
    background-color: var(--color-hover, rgba(0, 0, 0, 0.04));
    outline: none;
}
/* Active item styling */
.context-menu .active-item {
    background-color: rgba(0, 0, 0, 0.08);
    background-color: var(--color-selected, rgba(0, 0, 0, 0.08));
    font-weight: 500;
}
/* Submenu control button */
.context-menu .submenu-control {
    display: flex;
    justify-content: space-between;
}
/* Back button in submenus */
.context-menu .submenu-back button {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}
/* Icon within menu items */
.context-menu .item-icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
/* Right chevron for submenu indicators */
.context-menu .chevron-right {
    margin-left: auto;
}
/* Dividers between groups */
.context-menu hr {
    position: relative;
    padding: 0;
    margin: 0;
    height: 1px;

    opacity: .25;
    background-color: rgba(0, 0, 0, 0.08);
    background-color: var(--shade-400, rgba(0, 0, 0, 0.08));
    border: none;
}
/* Input controls within menu items */
.context-menu .control-wrapper {
    padding: 4px 16px 12px;
}
/* Option buttons (like for theme selection) */
.context-menu .option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.context-menu .option-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border, rgba(0, 0, 0, 0.1));
    background: #ffffff;
    background: var(--color-surface, #ffffff);
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.context-menu .option-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    background: var(--color-hover, rgba(0, 0, 0, 0.04));
}
.context-menu .option-btn.active {
    background: #3a86ff;
    background: var(--color-primary, #3a86ff);
    color: white;
    border-color: #3a86ff;
    border-color: var(--color-primary, #3a86ff);
}
/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
/* Dark mode adjustments */
html.dark .context-menu {
    background-color: #222222;
    background-color: var(--color-surface-dark, #222222);
    border-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-dark, rgba(255, 255, 255, 0.1));
}
html.dark .context-menu .section-heading {
    color: #aaaaaa;
    color: var(--color-text-secondary-dark, #aaaaaa);
}
html.dark .context-menu button,
html.dark .context-menu a {
    color: #dddddd;
    color: var(--color-text-primary-dark, #dddddd);
}
html.dark .context-menu button:hover,
html.dark .context-menu a:hover,
html.dark .context-menu button:focus-visible,
html.dark .context-menu a:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    background-color: var(--color-hover-dark, rgba(255, 255, 255, 0.08));
}
html.dark .context-menu .active-item {
    background-color: rgba(255, 255, 255, 0.1);
    background-color: var(--color-selected-dark, rgba(255, 255, 255, 0.1));
}
html.dark .context-menu .divider {
    background-color: rgba(255, 255, 255, 0.1);
    background-color: var(--color-border-dark, rgba(255, 255, 255, 0.1));
}
html.dark .context-menu .option-btn {
    background: #333333;
    background: var(--color-surface-dark, #333333);
    border-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border-dark, rgba(255, 255, 255, 0.1));
}
html.dark .context-menu .option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    background: var(--color-hover-dark, rgba(255, 255, 255, 0.08));
}
/* High contrast theme adjustments */
html.high-contrast .context-menu {
    border: 2px solid #fff;
    background: #000;
    box-shadow: 0 0 0 2px #000;
}
html.high-contrast .context-menu button,
html.high-contrast .context-menu a,
html.high-contrast .context-menu .section-heading {
    color: #fff;
}
html.high-contrast .context-menu .divider {
    background-color: #fff;
    height: 2px;
}
html.high-contrast .context-menu button:hover,
html.high-contrast .context-menu a:hover,
html.high-contrast .context-menu button:focus-visible,
html.high-contrast .context-menu a:focus-visible {
    background-color: #fff;
    color: #000;
    outline: 2px solid #fff;
}
/* === components/contextMenu/menuResizer.css === */
/* 
 * Accessibility Menu Resize Styles
 * Styles for the drag handle and resize functionality of the accessibility menu
 */
/* Drag area styles */
.a11y-menu-drag-area {
  position: sticky;
  top: 0;
  width: 100%;
  height: 24px;
  cursor: ns-resize;
  z-index: 10;
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  touch-action: none;
  background-color: #ffffff;
  background-color: var(--color-surface, #ffffff);
}
/* Drag indicator */
.drag-indicator {
  width: 50px; 
  height: 5px; 
  background-color: rgba(0, 0, 0, 0.1); 
  background-color: var(--shade-400, rgba(0, 0, 0, 0.1)); 
  border-radius: 999px;
  transition: all 0.2s ease;
  position: relative;
}
/* Drag feedback text - active dragging state */
.a11y-menu-drag-area::after {
  content: "Drag to resize";
  position: absolute;
  bottom: -18px;
  font-size: 10px;
  color: #666;
  color: var(--color-text-secondary, #666);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  width: 100%;
  transition: opacity 0.3s ease;
}
/* Show resize text when dragging, hide close text */
.context-menu.accessibility-menu.is-dragging .a11y-menu-drag-area::before {
    opacity: 0;
  }
.context-menu.accessibility-menu.is-dragging .a11y-menu-drag-area::after {
    opacity: 1;
  }
/* Hide all CSS hints when JavaScript "Release to close" hint is present */
.a11y-menu-drag-area.has-close-hint::before,
  .a11y-menu-drag-area.has-close-hint::after {
    opacity: 0 !important;
  }
/* Add animation to enhance drag feedback */
.context-menu.accessibility-menu.is-dragging .drag-indicator {
  background-color: #3a86ff;
  background-color: var(--color-primary, #3a86ff);
  width: 60px;
  box-shadow: 0 0 8px #3a86ff;
  box-shadow: 0 0 8px var(--color-primary, #3a86ff);
}
/* Add scaling animation when touching the drag handle */
.a11y-menu-drag-area:active .drag-indicator {
  transform: scaleY(1.5);
  background-color: #6e7ff3;
  background-color: var(--color-secondary, #6e7ff3);
}
/* Prevent text selection while dragging */
.context-menu.accessibility-menu.is-dragging {
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}
/* Dark mode support */
html.dark .a11y-menu-drag-area {
  background-color: #222222;
  background-color: var(--color-surface-dark, #222222);
}
/* High contrast mode support */
html.high-contrast .a11y-menu-drag-area {
  background-color: #000;
}
html.high-contrast .drag-indicator {
  background-color: #fff;
}
/* Improve scrolling behavior on mobile */
.context-menu.accessibility-menu {
  overscroll-behavior: contain;
}
/* === components/contextMenu/menuResizerAdditional.css === */
/* End-drag animation */
@keyframes endDragPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); opacity: 0.8; }
  100% { transform: scale(1); }
}
.drag-indicator.end-drag {
  animation: endDragPulse 0.3s ease-out;
}
/* Close animation */
@keyframes closeHintPulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}
.close-hint {
  animation: closeHintPulse 1.5s infinite;
}
/* Additional reset button styles */
.a11y-menu-reset-btn {
  position: absolute;
  right: 48px; /* space for close button */
  background: none;
  border: none;
  color: var(--color-text-secondary, var(--shade-400));
  font-size: 14px;
  cursor: pointer;
  padding: 5px;
  opacity: 0.75;
  transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease, transform 300ms ease;
  transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease, transform 300ms var(--transition-bounce, ease);
  border-radius: 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Close button styles */
.a11y-menu-close-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--color-text-secondary, var(--shade-400));
  font-size: 14px;
  cursor: pointer;
  padding: 5px;
  opacity: 0.75;
  transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease, transform 300ms ease;
  transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease, transform 300ms var(--transition-bounce, ease);
  border-radius: 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.a11y-menu-reset-btn:hover,
.a11y-menu-close-btn:hover {
  opacity: 1;
  background-color: color-mix(in oklab, var(--color-surface) 88%, transparent);
  color: var(--color-text-primary, var(--shade-500));
}
.a11y-menu-close-btn:hover { color: #ef4444; color: var(--color-danger, #ef4444); }
.a11y-menu-reset-btn.active {
  transform: rotate(360deg);
  opacity: 1;
  color: #3a86ff;
  color: var(--color-primary, #3a86ff);
  text-shadow: 0 0 6px color-mix(in oklab, var(--color-primary) 55%, transparent);
}
/* Dark mode fine-tuning */
html.dark .a11y-menu-reset-btn,
html.dark .a11y-menu-close-btn { color: var(--color-text-secondary, var(--shade-300)); }
html.dark .a11y-menu-reset-btn:hover,
html.dark .a11y-menu-close-btn:hover { background-color: color-mix(in oklab, var(--color-surface) 75%, transparent); }
/* Double-tap reset animation */
.drag-indicator.reset {
  transform: scaleX(1.5) scaleY(0.8);
  background-color: #3a86ff;
  background-color: var(--color-primary, #3a86ff);
  box-shadow: 0 0 8px #3a86ff;
  box-shadow: 0 0 8px var(--color-primary, #3a86ff);
}
/* Hide the drag area on desktop */
@media (min-width: 769px) {
  .a11y-menu-drag-area {
    display: none;
  }
}
/* Add a subtle bounce effect when the menu opens */
@keyframes menuBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.context-menu.accessibility-menu.active .a11y-menu-drag-area {
  animation: menuBounce 1s ease-out;
  z-index: 999;
}
.context-menu.accessibility-menu.active .a11y-menu-drag-area button {
    border: none;
    box-shadow: none;
  }
/* === components/toggleSwitch/toggleSwitch.css === */
/* Toggle Switch Container */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 3rem;       /* Adjusted for 1.5rem height (2:1 ratio) */
  height: 1.5rem;    /* As requested */
  margin: 0;
  vertical-align: middle;
}
/* Hide the default checkbox but keep it accessible */
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute; /* Better for screen readers */
}
/* The slider */
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  background-color: var(--color-border, rgba(0, 0, 0, 0.2));
  border-radius: 1.5rem;
  transition: 0.2s ease-in-out; /* Smoother transition */
}
/* The toggle handle/circle */
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 1.25rem;   /* Slightly smaller than container */
  width: 1.25rem;
  left: 0.125rem;
  bottom: 0.125rem;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
}
/* Checked state */
.toggle-switch input:checked + .toggle-slider {
  background-color: #2196F3;
  background-color: var(--color-primary, #2196F3); /* Clear visual state */
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(1.5rem);
}
/* Focus state for accessibility */
.toggle-switch input:focus-visible + .toggle-slider {
  box-shadow: 0 0 0 2px #4D90FE;
  box-shadow: 0 0 0 2px var(--color-focus, #4D90FE);
  outline: none;
}
/* Hover state */
.toggle-switch:hover .toggle-slider {
  background-color: rgba(0, 0, 0, 0.3);
  background-color: var(--color-border-hover, rgba(0, 0, 0, 0.3));
}
/* Disabled state */
.toggle-switch input:disabled + .toggle-slider {
  cursor: not-allowed;
  opacity: 0.6;
}
/* === components/modalDialog/modalDialog.css === */
/* components/modalDialog/modalDialog.css */
/* Modernized modal system: direct <dialog> children (header, body, footer) preferred.
   Legacy markup with <div class="modal-content"> wrapper still supported via .legacy-wrapper class. */
/* Optional legacy container (no longer required for backdrop) */
.modal-container, #modal-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 9;
  color: var(--color-text-secondary);
}
/* Base dialog */
dialog.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Use theme-aware surface/background tokens; fallback chain keeps legacy var working */
  background-color: var(--color-bg-elevated, var(--color-surface, var(--color-bg, var(--shade-000))));
  border: 4px solid var(--color-text-primary);
  padding: 0; /* direct grid padding applied below for non-legacy */
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  margin: auto;
  overflow: hidden; /* body scrolls */
  z-index: 1000;
  box-shadow: 8px 8px 0 var(--color-text-primary);
  image-rendering: pixelated;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  color: var(--color-text-secondary);
  will-change: opacity, transform;
}
/* Direct grid layout (new structure) */
dialog.modal:not(.legacy-wrapper) {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  align-content: stretch;
  padding: var(--space-sm) var(--space-md) var(--space-md);
}
/* Legacy wrapper grid */
.legacy-wrapper .modal-content {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  align-content: stretch;
  height: 100%;
  max-height: inherit;
  min-height: 0;
  padding: var(--space-sm) var(--space-md) var(--space-md);
}
/* Backdrop for dialog */
dialog.modal::backdrop {
  background-color: rgba(0, 0, 0, 0.25);
  background-color: rgba(0, 0, 0, var(--_modal-backdrop-opacity, 0.25));
  backdrop-filter: blur(2px);
  transition: background-color 200ms ease;
}
/* Active state for animation */
dialog.modal.active {
  opacity: 1;
  transform: scale(1);
}
/* Ensure closed dialogs do not intercept events or scrolling */
dialog.modal:not(.active) {
  pointer-events: none !important;
  visibility: hidden;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding: 0 0 var(--space-xs);
  border-bottom: 2px solid var(--color-text-primary);
}
.modal-header h3 {
  margin: 0;
  font-size: var(--font-size-md);
  text-transform: uppercase;
}
.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
}
.modal-close:hover {
  transform: none !important;
}
/* Body area (direct or legacy) */
.modal-body { overflow:auto; min-height:0; margin-bottom:var(--space-sm); }
/* components/modalDialog/modalDialog.css */
/* NES-inspired modal component using the HTML dialog element */
/* Footer (direct or inside legacy wrapper) */
.modal-footer { display:flex; justify-content:flex-end; gap:var(--space-sm); border-top:2px dashed var(--color-text-secondary); padding-top:var(--space-sm); padding-bottom:var(--space-sm); margin-top:var(--space-md); position:sticky; bottom:0; background:var(--color-bg); z-index:1; }
/* Chat-like input bar for comments modal */
.modal--compact .modal-header {
  margin-bottom: var(--space-sm);
}
.modal--compact .modal-header h3 {
  font-size: var(--font-size-sm);
}
.chat-input-form {
  margin: 0;
}
.composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(0, 0, 0, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}
.composer-input {
  flex: 1 1 auto;
  resize: none;
  max-height: 220px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text-primary);
  font: inherit;
  padding: 10px 0;
  min-height: 40px;
  line-height: 1.4;
}
.chat-input-form .composer-input,
#comments-modal .composer-input {
  /* Ensure no nested field border/background appears inside the pill */
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#comments-modal form .composer-input::-moz-placeholder {
  margin: 0;
  padding: 0;
}
#comments-modal form .composer-input::placeholder {
  margin: 0;
  padding: 0;
}
.composer-send {
  font-weight: bold;
  font-size: 1rem;
}
.composer-send:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--color-text-primary);
}
.nes-btn.tiny {
  padding: 6px 10px;
  font-size: 12px;
}
.reply-followup {
  display: none;
  margin-top: var(--space-sm);
  padding: 12px;
  background: var(--color-bg-elevated);
  border-radius: 10px;
  border: 1px dashed var(--color-border-strong, color-mix(in srgb, var(--color-text-primary) 25%, transparent));
}
.reply-followup.visible {
  display: block;
}
.reply-followup .consent-row {
  display: grid;
  grid-template-columns: 1fr;
  grid-row-gap: 10px;
  row-gap: 10px;
  margin: 8px 0 6px;
}
.reply-email {
  flex: 1 1 180px;
  padding: 6px 8px;
  border: 1px solid var(--color-text-secondary);
  border-radius: 4px;
  min-width: 0;
}
.reply-followup .nes-btn.tiny {
  margin-top: 2px;
}
.reply-followup label.consent {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Button wrapper: use existing nes-btn styles; only layout here */
.reply-followup .reply-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
/* Posted comment view */
.posted-comment {
  display: none;
  margin-top: var(--space-sm);
  padding: 10px 12px;
  border: 1px dashed color-mix(in srgb, var(--color-text-primary) 30%, transparent);
  border-radius: 12px;
  cursor: pointer;
}
.posted-comment.visible {
  display: block;
}
.posted-comment .posted-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--color-text-secondary);
}
.posted-comment .posted-name {
  color: var(--color-text-primary);
}
.posted-comment .posted-text {
  white-space: pre-wrap;
  color: var(--color-text-primary);
}
/* Close hint */
.close-hint {
  margin-top: var(--space-sm);
  font-size: 12px;
  color: var(--color-text-secondary);
  opacity: 0.9;
}
.close-hint .check {
  display: inline-block;
  margin-right: 6px;
  background: var(--color-primary);
  color: var(--color-text-primary);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 1px 0 var(--color-text-primary);
}
.close-hint.pop {
  animation: hint-pop 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes hint-pop { 0% { transform:scale(0.96); opacity:0.2 } 40% { transform:scale(1.02); opacity:1 } 100% { transform:scale(1); opacity:1 } }
/* Softer focus styles inside the composer and reply-followup */
#comments-modal .composer-input:focus-visible,
#comments-modal .reply-email:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
  outline-offset: 2px;
}
/* NES button style shared with the rest of the app */
.nes-btn {
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0;
  font-weight: normal;
  cursor: pointer;
  border: 2px solid var(--color-text-primary);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  position: relative;
  box-shadow: 2px 2px 0 var(--color-text-primary);
  transition: all 0.1s ease;
}
/* Mobile dynamic sizing helpers (applied later in media query) */
.nes-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--color-text-primary);
}
.nes-btn:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--color-text-primary);
}
.nes-btn.primary {
  background: var(--color-primary);
  color: var(--color-text-primary);
  border-color: var(--color-text-primary);
}
.nes-btn.secondary {
  background: var(--color-surface);
}
/* Subtle variant for low-emphasis actions */
.nes-btn.stealth {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: color-mix(in srgb, var(--color-text-primary) 40%, transparent);
  box-shadow: 1px 1px 0 var(--color-text-secondary);
}
/* Tab system for modals */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--color-text-primary);
  margin-bottom: var(--space-md);
}
.tab-button {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-surface);
  border: 2px solid var(--color-text-primary);
  border-bottom: none;
  margin-right: var(--space-xs);
  cursor: pointer;
}
.tab-button.active {
  background: var(--color-primary);
  position: relative;
}
.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
/* Slides system for modals */
.modal-slides-container {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}
.modal-slide {
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.modal-dots {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}
.dot {
  width: 10px;
  height: 10px;
  margin: 0 var(--space-xs);
  background: var(--color-text-secondary);
  border: 1px solid var(--color-text-primary);
  cursor: pointer;
}
.dot.active {
  background: var(--color-primary);
}
/* Accessibility improvements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* Mobile: turn dialog into a bottom sheet with organic slide-in */
@media (max-width: 768px) {
  dialog.modal {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    /* stick to bottom */
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    /* Prefer dynamic viewport to avoid white bars/overlap when keyboard opens */
    max-height: min(85vh, calc(100vh * 0.85));
    max-height: min(85vh, calc(var(--vvh, 100vh) * 0.85));
    overflow: hidden;
    /* keep scrolling inside body */
    transform: translateY(100%);
    /* start off-screen */
    opacity: 1;
    /* sheet is opaque; backdrop handles dimming */
    transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: none;
    /* let JS manage drag to close */
  }

  dialog.modal:not(.legacy-wrapper) { max-height: min(85vh, calc(100vh * 0.85)); max-height: min(85vh, calc(var(--vvh, 100vh) * 0.85)); overflow:hidden; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--keyboard-inset, 8px)); }
  .legacy-wrapper .modal-content { max-height:inherit; overflow:hidden; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--keyboard-inset, 8px)); }

  dialog.modal .modal-body {
    /* scroll area */
    overflow: auto;
    overscroll-behavior: contain;
    /* keep scroll within sheet */
    touch-action: pan-y;
    /* allow vertical scrolling inside */
    /* Ensure the bottom of the scroll area never hides behind the keyboard */
    padding-bottom: max(8px, 0px);
    padding-bottom: max(8px, var(--keyboard-inset, 0px));
  }

  dialog.modal.active {
    transform: translateY(0);
  }

  dialog.modal::backdrop {
    background-color: rgba(0, 0, 0, 0.35);
    background-color: rgba(0, 0, 0, var(--_modal-backdrop-opacity, 0.35));
  }

  /* Turn the desktop X button into a centered handle on mobile */
  .modal-header {
    position: relative;
    padding-top: 32px;
    min-height: 56px;
    touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
         user-select: none;
  }

  dialog.modal .modal-close {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -1rem;
    width: 48px;
    /* slightly larger grip */
    height: 8px;
    border: none;
    background: transparent;
    padding: 18px 0 12px;
    /* bigger safe touch area for drag/tap */
    cursor: grab;
    /* Hide the × text while preserving accessible label */
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-indent: -9999px;
    white-space: nowrap;
    overflow: hidden;
  }

  dialog.modal .modal-close::before {
    content: '';
    display: block;
    width: 48px;
    height: 8px;
    border-radius: 999px;
    background: rgba(136, 136, 136, 0.7);
  }

@supports (color: color-mix(in lch, red, blue)) {
dialog.modal .modal-close::before {
    background: color-mix(in srgb, var(--color-text-secondary, #888) 70%, transparent);
  }
}

  /* Ensure hover state doesn't break centering on mobile */
  dialog.modal .modal-close:hover {
    transform: translateX(-50%) !important;
  }

  dialog.modal.dragging .modal-close {
    cursor: grabbing;
  }
}
/* Reduced motion: remove transitions */
@media (prefers-reduced-motion: reduce) {
  dialog.modal {
    transition: none !important;
  }
}
/* Comments modal: styles moved from inline JS */
#comments-modal .reply-followup {
  transition: all 180ms ease;
  background: var(--color-bg-elevated);
  border: 1px dashed var(--color-border);
  border-radius: 10px;
  padding: 12px;
}
#comments-modal .reply-followup.visible {
  opacity: 1;
  transform: none;
}
#comments-modal .posted-comment {
  display: none;
  margin: 15px 0;
}
#comments-modal .posted-comment .preview {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  background: var(--color-bg-elevated);
}
#comments-modal .posted-comment .preview-header {
  color: #9aa0a6;
  color: var(--color-text-secondary, #9aa0a6);
  font-size: 12px;
  margin-bottom: 6px;
}
#comments-modal .posted-comment .preview-body {
  white-space: pre-wrap;
  line-height: 1.4;
  margin-bottom: 8px;
}
#comments-modal .posted-comment .preview-actions {
  text-align: right;
}
#comments-modal .posted-comment .link-btn {
  background: none;
  border: 0;
  color: #6366f1;
  color: var(--color-primary, #6366f1);
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}
#comments-modal .preview-card {
  cursor: pointer;
  padding: 12px;
  padding: var(--space-compact, 12px);
  border: 1px solid rgba(0,0,0,0.08);
  border: 1px solid var(--color-border, rgba(0,0,0,0.08));
  border-radius: 8px;
  border-radius: var(--border-radius-md, 8px);
  background: #fff;
  background: var(--color-bg-elevated, #fff);
  display: flex;
  gap: 1rem;
  gap: var(--space-sm, 1rem);
  align-items: flex-start;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 0 0 transparent;
}
#comments-modal .preview-card:hover {
  background: var(--color-bg-hover, color-mix(in oklab, var(--color-bg-elevated) 92%, black 8%));
  border-color: var(--color-border-strong, var(--color-primary));
  box-shadow: 0 2px 6px -2px rgba(0,0,0,0.15);
  box-shadow: 0 2px 6px -2px var(--color-shadow, rgba(0,0,0,0.15));
}
#comments-modal .preview-card:focus {
  outline: 2px solid var(--focus-ring-color, var(--color-primary));
  outline-offset: 2px;
}
#comments-modal .preview-avatar {
  width: 40px;
  width: var(--size-avatar-sm, 40px);
  height: 40px;
  height: var(--size-avatar-sm, 40px);
  border-radius: 8px;
  border-radius: var(--border-radius-md, 8px);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  font-size: var(--type-body-14-size, 0.875rem);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--color-bg) inset;
}
#comments-modal .preview-avatar .initials {
  color: var(--color-text-primary);
}
#comments-modal .preview-meta {
  flex: 1;
  min-width: 0;
}
#comments-modal .preview-name {
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 4px;
  margin: 0 0 var(--space-xxs, 4px);
  font-size: 0.875rem;
  font-size: var(--type-body-14-size, 0.875rem);
  line-height: 1.45;
  line-height: var(--type-body-14-lh, 1.45);
}
#comments-modal .preview-text {
  color: var(--color-text-secondary);
  line-height: 1.45;
  line-height: var(--type-body-14-lh, 1.45);
  font-size: 0.875rem;
  font-size: var(--type-body-14-size, 0.875rem);
  word-wrap: break-word;
  word-wrap: anywhere;
}
#comments-modal .error-message {
  background: color-mix(in oklab, var(--color-danger) 18%, transparent);
  color: var(--color-danger-contrast);
  padding: 12px;
  border: 1px solid var(--color-danger);
  border-radius: 6px;
  margin: 10px 0;
}
#comments-modal .close-hint {
  background: color-mix(in oklab, var(--color-success) 18%, transparent);
  color: var(--color-text-primary);
  padding: 12px 14px;
  border-radius: 8px;
  margin: 14px 0;
  font-size: 16px;
  line-height: 1.35;
}
#comments-modal .close-hint .check {
  margin-right: 6px;
}
/* === components/scrollToTop/scrollToTop.css === */
/* d:/web_dev/raikenio/components/scrollToTop/scrollToTop.css */
.scroll-to-top-btn {
    position: fixed;
    top: 4.5rem;
    left: 50%;
    transform: translateX(-50%) !important;
    background-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(var(--shade-500, 255, 255, 255), 0.8);
    color: var(--shade-500);
    border-radius: 5rem;
    
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    word-wrap: inherit;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-shadow: var(--elevation-2, 0 4px 12px rgba(0,0,0,0.15));
}
.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(-50%);
}
.scroll-to-top-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    background-color: rgba(var(--shade-500, 255, 255, 255), 1);
    transform: scale(1.1) translateY(0) translateX(-50%);
}
.scroll-to-top-btn:focus-visible {
    outline: 2px solid #007bff;
    outline: 2px solid var(--primary-color, #007bff);
    outline-offset: 2px;
}
/* === assets/css/components/social-buttons.css === */
/* social-buttons.css
 * Responsive social media links component
 * Shows max 3 icons with burger menu for overflow
 * Version 1.0.0 - Created 2025-01-21
 */
.social-links-responsive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
/* Variant modifiers */
.social-links-responsive.social-links--small .social-link .social-icon,
.social-links-responsive.social-links--small .burger-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.social-links-responsive.social-links--small .social-burger-btn,
.social-links-responsive.social-links--small .social-link {
    width: 2rem;
    height: 2rem;
}
.social-links-visible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
/* Social link styling */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    color: var(--color-text-secondary);
    font-size: 20px;
    transition: var(--transition-fast);
    -webkit-text-decoration: none;
    text-decoration: none;
}
.social-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.social-link .social-icon {
    height: 2.5rem;
    width: 2.5rem;
    color: inherit; /* SVGs must use fill: currentColor */
    transition: color var(--transition-fast);
}
.social-burger-btn .burger-icon {
    height: 2.5rem;
    width: 2.5rem;
}
.social-burger-btn .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Make burger button size consistent with other social icons */
.social-burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
    cursor: pointer;
}
.social-burger-btn:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}
.social-burger-btn:focus-visible {
    outline: 2px solid var(--focus-ring-color);
    outline-offset: 2px;
}
/* Unified modal content styling */
.social-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.75rem;
    gap: 0.75rem;
}
.social-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    -webkit-text-decoration: none;
    text-decoration: none;
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    color: var(--color-text-primary);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
}
.social-link-card:hover {
    background-color: var(--color-bg-hover);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-small);
}
.social-link-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.social-link-icon .social-icon {
    height: 2rem;
    width: 2rem;
    color: inherit;
    display: flex; /* remove baseline gap for vertical centering */
}
.social-link-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.social-link-name {
    font-weight: 500;
    font-size: 1rem;
}
.social-link-handle {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}
/* Brand hover colors using design tokens */
.social-link[data-platform="youtube"]:hover  { color: var(--brand-youtube); }
.social-link[data-platform="linkedin"]:hover { color: var(--brand-linkedin); }
.social-link[data-platform="instagram"]:hover{ color: var(--brand-instagram); }
.social-link[data-platform="threads"]:hover  { color: var(--brand-threads); }
.social-link[data-platform="figma"]:hover    { color: var(--brand-figma); }
.social-link[data-platform="x"]:hover,
.social-link[data-platform="twitter"]:hover  { color: var(--brand-x); }
.social-link[data-platform="medium"]:hover   { color: var(--brand-medium); }
.social-link[data-platform="github"]:hover   { color: #6e7681; color: var(--brand-github, #6e7681); }
/* Responsive design */
@media (max-width: 768px) {
    .social-links-grid {
        gap: 0.5rem;
    }
    
    .social-link-card {
        padding: 0.75rem;
    }
    
    .social-link .social-icon {
        height: 2rem;
        width: 2rem;
    }
}
/* Chip variant */
.social-links.social-links--chip .social-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.625rem;
    border-radius: 999px;
    border-radius: var(--radius-full, 999px);
    -webkit-text-decoration: none;
    text-decoration: none;
    color: var(--color-text-primary);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    font-size: 1em; /* inherits context; icons (1em) match text size */
    line-height: 1.1;
}
.social-chip:hover {
    background-color: var(--color-bg-hover);
    border-color: var(--color-border-strong);
    transform: translateY(-1px);
}
.social-chip-icon { width: 1em; height: 1em; color: currentColor; }
/* Article author chips: lock icons to 1rem regardless of inherited size */
.author-chips .social-chip-icon { width: 1rem; height: 1rem; }
.social-chip-label {
    font-size: 0.8125rem;
    line-height: 1;
}
/* Body modal state */
body.modal-open {
    overflow: hidden;
}
/* Legacy compatibility for existing social links */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-top: var(--space-lg, 2rem);
}
.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    border-radius: var(--border-radius, 8px);
    color: #666;
    color: var(--color-text-secondary, #666);
    font-size: 20px;
    transition: all 0.2s ease;
    transition: var(--transition-fast, all 0.2s ease);
    -webkit-text-decoration: none;
    text-decoration: none;
}
.social-links .social-link:hover {
    color: #007bff;
    color: var(--color-primary, #007bff);
    border-color: #007bff;
    border-color: var(--color-primary, #007bff);
    transform: translateY(-2px);
}
.social-links .social-link .social-icon {
    height: 2.5rem;
    width: 2.5rem;
}
/* Deduplicated: the modal content styles above are the single source of truth. */
/* === sections/heroSection/heroSection.css === */
/* 
 * Hero Section Styles
 * Multiple layout options: centered, split, and overlay
 */
/* Base hero styles */
.hero-section {
    /* Use --color-background to match theme definitions */
    color: var(--color-text-primary);
    position: relative;
    /* margin-bottom: -5rem; */
    padding-top: 4vh;

}
/* Light and dark variants */
/* .hero-section.light and .hero-section.dark variants inherit base styles */
/* Common text elements styling */
.hero-section h1 {
    /* Typography via utilities (e.g., display-32) */
    margin-bottom: var(--space-sm);
}
.hero-section .subtitle {
    /* Typography via utilities (e.g., hl-18) */
    margin-bottom: var(--space-md);
    max-width: 600px;
}
.hero-section .description {
    /* Typography via utilities (e.g., body-16) */
    margin-bottom: var(--space-md);
    max-width: 800px;
}
@media (max-width: 768px) {


    /* Typography for .subtitle handled via utilities */

    /* Typography for .description handled via utilities */

    .hero-section .cta-container {
        flex-direction: column;
    }
}
/* Call to action buttons */
.hero-section .cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
/* Product image styling */
.hero-section .product-image {
    max-width: 100%;
    height: auto;
}
/* Layout: centered (default) */
.hero-section.layout-centered-small {
    text-align: center;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
}
.hero-section.layout-centered-small h1 
    {
     text-align: center !important;
    }
.hero-section.layout-centered-small .hero-content {
        align-items: center;
        justify-content: space-between;
        gap: var(--space-xl);
        max-width: 600px;
        margin: 0 auto;
    }
/* Layout: centered (default) */
.hero-section.layout-centered {
    text-align: center;
    min-height: 50vh;
    text-align: center;
    display: flex;
    min-height: 68vh;
    align-content: center;
    align-items: center;
}
.hero-section.layout-centered .hero-content {
        align-items: center;
        justify-content: space-between;
        gap: var(--space-xl);
        max-width: 600px;
        margin: 0 auto;
    }
.hero-figma-plugin .figma-icon {
    margin-bottom: var(--space-md);
}
.hero-figma-plugin .figma-icon img {
    width: 3rem;
    height: auto;

}
@media (max-width: 768px) {
.hero-figma-plugin .figma-icon img {
        display: none

}
    }
.hero-section.layout-centered .product-image {
    max-width: 280px;
    margin: 0 auto var(--space-md);
}
.hero-section.layout-centered .subtitle,
.hero-section.layout-centered .description {
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary);
}
.hero-section.layout-centered .cta-container {
    justify-content: center;
}
/* Layout: split (text and image side by side) */
.hero-section.layout-split .hero-content {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    text-align: left;
}
.hero-section.layout-split .hero-text,
.hero-section.layout-split .hero-media {
    flex: 1 1 45%;
}
.hero-section.layout-split.text-right .hero-text {
    order: 2;
}
.hero-section.layout-split.text-right .hero-media {
    order: 1;
}
/* Layout: overlay (text over background image) */
.hero-section.layout-overlay {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 120px 20px;
    z-index: 1;
}
.hero-section.layout-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.hero-section.layout-overlay .subtitle,
.hero-section.layout-overlay .description,
.hero-section.layout-overlay h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: var(--space-lg);
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    color: var(--color-text-secondary);
    font-size: 20px;
    transition: var(--transition-fast);
    -webkit-text-decoration: none;
    text-decoration: none;
}
.social-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);

}
.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
/* Responsive adjustments */
@media (max-width: 768px) {

    .hero-section {
        padding: 0rem 2rem;
        min-height: 78vh !important;
        padding-top: 0vh;
    }


    .hero-content {
        /* gap: var(--space-xs ) !important; */
        gap: 0 !important;
        /* white-space: nowrap; */
    }

    .hero-section.layout-split .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-section.layout-split .hero-media {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 46vh;
        order: 1;
        /* Move cardridge to top on mobile */
    }

    .hero-section.layout-split.text-right .hero-text,
    .hero-section.layout-split .hero-text {
        order: 2;
        /* Move text content below cardridge on mobile */
    }

    .hero-section.layout-split.text-right .hero-media,
    .hero-section.layout-split .hero-media {
        order: 1;
        /* Ensure all hero-media containers appear first on mobile */
    }

    /* Typography for h1 handled via utilities */

    .hero-section.layout-split .cta-container {
        justify-content: center;
    }


    /* Typography for .hero-content h1 handled via utilities */

    .social-links {
        gap: var(--space-sm);
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

}
/* === sections/bannerSection/bannerSection.css === */
.banner-section {
    padding: var(--space-xl) var(--space-md);
    color: var(--banner-text-color, var(--color-text-primary));
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s ease;
    margin: auto;
    max-width: var(--container-width);
}
.banner-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.banner-section.full-width {
    width: 100%;
}
.banner-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
}
.banner-section.full-width .container {
    max-width: 100%;
}
.banner-section .banner-icon {
    margin-bottom: var(--space-md);
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    color: var(--element-text-primary, var(--color-text-primary));
    /* Default size */
    width: 64px;
    height: 64px;
}
/* Icon size modifiers */
.banner-section .banner-icon.small {
    width: 48px;
    height: 48px;
}
.banner-section .banner-icon.medium {
    width: 64px;
    height: 64px;
}
.banner-section .banner-icon.large {
    width: 96px;
    height: 96px;
}
.banner-section .banner-icon.extra-large {
    width: 128px;
    height: 128px;
}
.banner-section .banner-icon svg {
    width: inherit;
    height: inherit;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}
.banner-section {
    /* Typography via utilities (e.g., hl-24) */
    /* margin-bottom: var(--space-sm); */
    /* color: var(--banner-heading-color, var(--color-text-primary)); */
}
.banner-section .subline {
    /* Typography via utilities (e.g., body-14) */
    color: var(--banner-subline-color, var(--color-text-secondary));
    margin-bottom: var(--space-md);
}
/* Simple background-based text color switching */
.banner-section[data-has-background="true"] {
    --banner-text-color: #ffffff;
    --banner-heading-color: #ffffff;
    --banner-subline-color: rgba(255, 255, 255, 0.85);
}
.banner-section[data-has-background="true"] h2 {
    color: #ffffff !important;
}
.banner-section[data-has-background="true"] .subline {
    color: rgba(255, 255, 255, 0.85) !important;
}
.banner-section[data-has-background="false"],
.banner-section:not([data-has-background]) {
    --banner-text-color: var(--color-text-primary);
    --banner-heading-color: var(--color-text-primary);
    --banner-subline-color: var(--color-text-secondary);
}
.banner-quote {
    /* Typography via utilities (e.g., body-16) */
    font-style: italic;
    font-family: var(--font-primary), 'Press Start 2P', monospace, serif;
    color: var(--banner-text-color, var(--color-text-primary));
    margin: 0 auto var(--space-md) auto;
    max-width: 800px;
    padding: 0.5em 2.2em 0.5em 2.2em;
    position: relative;
    background: none;
    border: none;
    box-shadow: none;
    filter: none;
    font-weight: normal;
    letter-spacing: 0.2px;
    transition: none;
    animation: none;
}
.banner-quote:before {
    content: '\201C';
    font-size: var(--type-display-32-size);
    color: #ffb400;
    color: var(--highlight, #ffb400);
    position: absolute;
    left: 0;
    top: 0.1em;
    font-family: var(--font-primary), 'Press Start 2P', monospace, serif;
    opacity: 0.7;
    text-shadow: none;
    filter: none;
}
.banner-quote footer {
    margin-top: 0.7em;
    text-align: center;
}
.banner-quote cite {
    font-style: normal;
    font-weight: normal;
    color: var(--banner-subline-color, var(--color-text-secondary));
    /* Typography via utilities */
    letter-spacing: 0.5px;
    text-shadow: none;
    font-family: monospace;
    font-family: var(--font-secondary, monospace);
    padding-bottom: 1px;
}
/* Background-specific text shadow for quote */
.banner-section[data-has-background="true"] .banner-quote {

}
.banner-section[data-has-background="false"] .banner-quote,
.banner-section:not([data-has-background]) .banner-quote {
}
@media screen and (max-width: 768px) {
    .banner-quote {
        padding: 0.3em;
        margin: 0 auto var(--space-sm) auto;
        /* border: #ffb400 solid 8px; */
    }

    .banner-quote:before {
        font-size: 1.8em;
        top: 0.2em;
        position: relative;
    }

    /* Typography for .banner-quote cite handled via utilities */
}
/* === sections/benefitListSection/benefitListSection.css === */
.benefit-list {}
.benefit-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: 960px;
  margin: 0 auto;
  align-content: center;
  justify-content: center;
  align-items: center;
  font-family: var(--font-primary);
}
.benefit-list li::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-image: url("/assets/svg/check.svg");
    background-size: cover;
  }
.benefit-list a {
}
/* === sections/bentoFeatureGridSection/bentoFeatureGridSection.css === */
/**
 * Bento Feature Grid Section Styles
 * 
 * Clean, minimalist styling for feature grids that matches the design
 * in the provided screenshot. Supports both modern and pixel themes.
 *
 * @version 2.1.0
 * @author RAIKEN Team
 */
/* Base section styling */
.hero-section + .bento-feature-grid {


}
.bento-feature-grid {
    padding: 0 var(--space-md);

}
.bento-feature-grid .container {}
.bento-feature-grid .section-title {
    text-align: center;
    /* margin-bottom: var(--space-md); */
}
.bento-feature-grid .section-subtitle {

}
/* Clean theme - Matches the screenshot design */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-columns: repeat(var(--grid-columns, 3), 1fr);
    grid-gap: var(--space-md);
    gap: var(--space-md);
    /* Reduced from 24px */
    grid-auto-rows: 270px;
    /* NEW: Defines base row height for dynamic spans */
    margin: 0 auto;
}
.feature-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Stack icon and text content */
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center content horizontally */
    padding: 32px;
    /* Apply padding here */
    border-radius: 0;
    box-shadow: 0, 0, 0, 0;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: var(--border);
    color: var(--shade-500);
}
.feature-icon-wrapper {
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    width: 4rem !important;
    height: 4rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon {
    display: block !important;
    width: 4rem !important;
    height: 4rem !important;
    max-width: 4rem;
    max-height: 4rem;
    -o-object-fit: contain;
       object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}
/* New Text Content Container */
.feature-text-content {
    position: relative;
    font-size: 1rem;
    font-size: var(--font-size-base, 1rem);
    font-family: var(--font-secondary);
    /* Crucial for absolute positioning of children */
    width: 100%;
}
/* Title & Hint Wrapper */
.feature-title-hint-wrapper {
    position: relative;
    /* Changed from absolute */
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    /* Above description initially */
}
.feature-title {
    margin-bottom: 6px;
    /* Adjust spacing */
}
.feature-hint {
    font-size: 0.8rem;
    font-size: var(--font-size-sm, 0.8rem);
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    /* Spacing below hint */
}
/* Description Wrapper */
.feature-desc-wrapper {
    position: absolute;
    /* Position relative to .feature-text-content */
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0 16px;
    /* Add some horizontal padding if needed */
    box-sizing: border-box;

    opacity: 0;
    transform: translateY(calc(-50% + 20px));
    /* Adjust 20px as needed */
    transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
    z-index: 1;
    /* Below title/hint initially */
    background: var(--shade-500);
    z-index: 20;
}
.feature-desc-wrapper p {
        color: var(--shade-200) !important;

    }
.feature-desc {
    font-size: 1rem;
    font-size: var(--font-size-base, 1rem);
    padding: 1rem;
    line-height: 1.5;
    color: var(--shade-500);
    font-weight: bold;
}
@media (max-width: 640px) {
    .feature-desc {
        font-size: 12px;
        font-size: var(--font-size-xs, 12px);
    }
}
/* Hover Effects */
.feature-card:hover .feature-title-hint-wrapper {
    opacity: 0;
    transform: translateY(-20px);
    /* Move title/hint up */
    pointer-events: none;
}
/* Re-add icon scaling on hover */
.feature-card:hover .feature-icon-wrapper {
    transform: scale(0.5);
    /* Scale down icon */
}
.feature-card:hover .feature-desc-wrapper {
    opacity: 1;
    transform: translateY(-50%);
    /* Move description to vertical center */
    pointer-events: auto;
}
/* NEW: Dynamic grid span utility classes */
.feature-card.span-2-col {
    grid-column: span 2;
}
.feature-card.span-2-row {
    grid-row: span 2;
}
.feature-card.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
        /* Reduced from 16px for tighter mobile layout */
        grid-auto-rows: 200px;
        /* Smaller row height for mobile */
    }

    .feature-card:hover .feature-icon-wrapper {
        transform: scale(0.8);
        /* Scale down icon */
    }

    .feature-card,
    .theme-pixel .feature-card {
        padding: 16px;
        /* Reduced from 20px */
    }

    /* Further reduce text sizes on mobile */
    .feature-title {
        font-size: 0.75rem;
        font-size: var(--font-size-xs, 0.75rem);
        /* margin-bottom: 0px; */
    }

    .feature-hint {
        font-size: 0.75rem;
        font-size: var(--font-size-xs, 0.75rem);
    }

    .feature-desc {
        font-size: 12px;
        font-size: var(--font-size-xs, 12px);
        line-height: 1.4;
    }

    /* Reset column spans but keep span-2-row as 2-column on mobile */
    .feature-card.span-2-col,
    .feature-card.span-2x2 {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    /* Keep span-2-row as 2-column span on mobile */
    .feature-card.span-2-row {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }
}
/* === sections/testimonialsSection/testimonialsSection.css === */
/* Styles for the Testimonials Section */
.testimonials-section {
    padding: 0;

    /* Use design token */

    /* h2 styling is handled globally by design-system.css */

    /* Stats Section */

    /* .testimonial-card uses .card styles now */


    /* .testimonial-card blockquote styles */

    /* .testimonial-card footer styles */

    /* Trust Badges Section */

    /* .trust-badge uses .chip styles */

    /* Responsive Adjustments (Optional Example) */

}
.testimonials-section .container {
        /* max-width: 1140px; */
        /* max-width: var(--container-width-big); */
        /* max-width: var(--container-width); */
        margin: 0 auto;
        padding: 0 var(--space-md);
        /* Use design token */
        text-align: center;
        max-width: var(--container-width-big);

    }
.testimonials-section .title {
        margin-bottom: var(--space-sm);
        /* Adjust spacing */
    }
.testimonials-section .subtitle {
        /* Typography handled via .body-14 utility */
        color: var(--color-text-secondary);
        margin-bottom: var(--space-lg);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
.testimonials-section .testimonial-stats {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-lg);
        margin-bottom: var(--space-xl);
        padding: var(--space-md);
        background-color: var(--color-bg);
        /* Slightly different background */
    }
.testimonials-section .stat-item {
        text-align: center;
        min-width: 120px;
        /* Ensure items don't get too squished */
    }
.testimonials-section .stat-value {
        display: block;
        /* Typography handled via .hl-24 utility */
        margin-bottom: var(--space-xs);
    }
.testimonials-section .stat-label {
        display: block;
        /* Typography handled via .body-12 utility */
        color: var(--color-text-secondary);
        text-transform: uppercase;
    }
.testimonials-section .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: var(--space-md);
        gap: var(--space-md);
        text-align: left;
        margin-bottom: var(--space-xl);
        align-items: stretch;
        /* Explicitly ensure items are stretched */
    }
.testimonials-section .testimonial-card {
        padding: var(--space-xl) var(--space-lg) var(--space-lg);
        background-color: var(--color-bg);
        position: relative;
        display: flex;
        /* Ensure it's a flex container */
        flex-direction: column;
        /* Stack children vertically */
        min-height: 0;
        /* Added for grid item + flex container behavior */
        /* Removed subgrid properties */
    }
.testimonials-section .testimonial-card blockquote {
        /* Ensure flex-grow is present to take available space */
        flex-grow: 1;
        min-height: 0;
        color: var(--color-text-primary);
        margin: 0 0 var(--space-md) 0;
        font-style: normal;
    }
.testimonials-section .testimonial-card footer {
        margin-top: auto;
        /* will push it to the bottom if blockquote doesn't fill space */
        /* However, with blockquote having flex-grow: 1, this might not be strictly necessary but doesn't hurt */
        padding-top: var(--space-sm);
        /* Add space above footer */
        border-top: var(--border-thin);
        /* Add separator */
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
        align-content: flex-start;
        height: 5rem;
        /* Removed grid-column and align-self from subgrid attempt */
    }
.testimonials-section .author-info {
        /* Container for author and company */
        display: flex;
        flex-direction: column;
        gap: .3rem;
        /* Stack author and company */
    }
.testimonials-section .testimonial-card cite {
        /* Typography via .body-14 utility */
        text-align: left;
        font-weight: 600;
        color: var(--color-text-primary);
        display: block;
        margin-bottom: 0;
        font-style: normal;
        text-transform: uppercase;
    }
.testimonials-section .testimonial-card .company {
        /* Typography via .body-12 utility */
        text-align: left;
        color: var(--color-text-secondary);
        text-transform: uppercase;
    }
.testimonials-section .testimonial-trust-badges {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
        border-top: 2px dashed var(--shade-300);
        /* Separator */
    }
.testimonials-section .trust-badge-title {
        /* Typography via .hl-16 if used in DOM */
        color: var(--color-text-secondary);
        margin-bottom: var(--space-md);
        text-transform: uppercase;
    }
.testimonials-section .trust-badge-items {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
.testimonials-section .trust-badge {
        cursor: default;
        /* Make non-interactive if they don't link */
    }
@media (max-width: 768px) {
.testimonials-section {

        /* Typography for .stat-value handled via utilities in DOM */

}
        .testimonials-section .testimonial-stats {
            gap: var(--space-md);
        }

        .testimonials-section .testimonials-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
            /* Stack cards on smaller screens */
        }
    }
/* === sections/productGridSection/productGridSection.css === */
/* Product Grid Section Styling */
.product-grid-section {
    padding: 0;
    margin: auto;
    max-width: var(--container-width-big);
}
/* Section Header - aligned with timeline articles */
.product-grid-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    margin-bottom: var(--space-xl, 3rem);
}
.product-grid-section .section-header-subtitle {
    /* Typography via utilities (e.g., body-14/16) */
    color: var(--color-text-secondary);
    font-family: var(--font-secondary);
    max-width: 600px;
    margin: 0 auto;
}
.product-grid-item {
    max-width: 20rem;
}
@media screen and (max-width: 1224px) {
    .product-grid-section {
        margin: auto 1rem;
        /* padding: 0 3rem; */
    }
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 4rem 3rem;
    gap: 4rem 3rem;
    justify-items: center;
    max-width: var(--container-width-big);
}
.product-card-wrapper {
    position: relative;
    transition: transform 0.2s ease;
}
.product-card-wrapper:hover {
    transform: translateY(-5px);
}
.card-link {
    -webkit-text-decoration: none;
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Text content styling */
.card-content {
    text-align: center;
    padding: 0 1rem;
}
.product-info {
    padding: 0 1.5rem;
    padding-top: 1rem;
}
.card-content h3 {
    margin-bottom: 0.5rem;
}
.product-name {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.product-subline {
    color: var(--color-text-accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}
.product-description {
    opacity: 0.8;
    color: var(--color-text-secondary);
}
.card-content p {
    opacity: 0.8;
}
@media screen and (max-width: 480px) {
    .product-grid-section {
        max-width: 100%;
    }

    .product-grid {
        gap: 5rem 3.5rem;
    }

    .product-info {
        padding: 0 .5rem;
        padding-top: 1rem;
    }

    .product-name {
        margin-bottom: 0.4rem;
    }

    .product-subline {
        margin-bottom: 0.6rem;
    }

    /* Typography for .product-description handled via utilities */
}
/* === plugins/mouse3dPralax/paralaxInteraction.css === */
/**
 * paralaxInteraction.css
 * 
 * CSS styles to complement the parallax interaction JavaScript
 * Specifically optimized for touch devices
 * 
 * @version 1.0.0
 * @author RAIKEN Team
 * @created 2025-05-02
 */
/* Prevent scrolling/zooming while interacting with parallax elements on touch devices */
.has-touch-device [data-parallax="true"] {
  touch-action: none; /* Prevents browser handling of touch gestures */
  -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}
/* Allow scrolling in the parent of parallax containers on touch devices */
.has-touch-device [data-parallax="true"] {
  position: relative;
  will-change: transform; /* Hint to browser for smoother animations */
}
/* Make sure child elements with Z depth maintain hardware acceleration */
.has-touch-device [data-parallax="true"] [data-parallax-z],
.has-touch-device [data-parallax="true"] [data-paralax-z] {
  will-change: transform;
  backface-visibility: hidden;
}
/* Mobile improvements for touch targets */
@media (max-width: 768px) {
  /* Increase the effective size of interactive parallax containers for easier touch targeting */
  [data-parallax="true"] {
    min-height: 150px; /* Ensure enough height to interact with */
    
  }
}
/* Visual indicator for touch screens */
.has-touch-device [data-parallax="true"] {
  position: relative;
}
/* Add subtle indicator that the element is interactive on touch devices */
.has-touch-device [data-parallax="true"]::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Show interaction indicator when touched */
.has-touch-device [data-parallax="true"]:active::after {
  opacity: 1;
}
/* === plugins/mouse3dPralax/parallax.css === */
/**
 * parallax.css
 *
 * DESCRIPTION:
 * Styling for parallax containers and elements
 * 
 * @version 1.1.0
 * @author RAIKEN Team
 * @modified 2023-05-03
 */
/* Base container styling */
.parallax-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: -moz-fit-content !important;
  height: fit-content !important;
  /* background: var(--shade-200); */
  /* overflow: hidden; */
  /* background-color: rgba(249, 249, 249, 0.5); */
  /* border-radius: 12px; */
  /* border: 1px solid #eee; */
  margin: 30px 0;
  /* padding: 20%; box-sizing: border-box; */
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
}
/* * {
  border: 1px dashed #f0a;
 } */
.parallax-container img {
  max-height: 115% !important;
}
/* Position all child elements absolutely */
.parallax-container>img,
.parallax-container>span,
.parallax-container>div,
[data-parallax="true"]>img,
[data-parallax="true"]>span,
[data-parallax="true"]>div {
  position: absolute;
  pointer-events: none;
  /* Ensures click events pass through */
}
.decoTextPill {
  background: var(--shade-400);
  color: var(--color-secondary);
  padding: .5rem 1rem;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 20rem;
}
/* Make sure the container stays properly sized on smaller screens */
@media (max-width: 768px) {
  /* Reserved for future responsive sizing of parallax container */
}
@media (max-width: 480px) {
  /* Reserved for future responsive sizing of parallax container */
}
/* Add some basic styling for the images inside the container */
.parallax-container img {
  display: block;
  max-width: 100%;
  border-radius: 4px;
  /* Default to normal browser smoothing for general UI/photographic PNGs */
  image-rendering: auto;
}
/* Only apply nearest-neighbor style to declared pixel art assets */
.parallax-container img.pixel-art,
.parallax-container img[data-pixel-art] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}
/* Safety: if any legacy markup still adds pixel-art via parent, allow opt-out */
.parallax-container img.pixel-smooth { image-rendering: auto !important; }
/* Specific positioning overrides for different layout scenarios */
[data-pos="center"] {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}
[data-pos="top left"] {
  top: 20px;
  left: 20px;
  z-index: 10;
}
[data-pos="top right"] {
  top: 20px;
  right: 20px;
  z-index: 10;
}
[data-pos="bottom left"] {
  bottom: 20px;
  left: 20px;
  z-index: 10;
}
[data-pos="bottom right"] {
  bottom: 20px;
  right: 20px;
  z-index: 10;
}
/* Proper styling for parallax cards and their child elements */
.parallax-card,
[data-parallax="true"] {
  transform-style: preserve-3d;
  perspective: 1000px;
  transform: perspective(1000px);
  will-change: transform;
  transition: transform 0.1s ease-out;
  overflow: visible !important;
  /* Ensure no clipping */
  position: relative;
  /* Ensure positioning context for absolute children */
}
/* New styles for aspect ratio wrapper - Deprecated in favor of direct aspect-ratio on container */
/* .parallax-aspect-ratio-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; 
  overflow: hidden; 
} */
/* .parallax-aspect-ratio-wrapper>img.parallax-element {
  position: absolute;
  height: auto; 
  object-fit: contain; 
  display: block; 
} */
/* Ensure that elements with z-depth get proper 3D positioning */
[data-parallax-z] {
  transform-style: preserve-3d;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.15s ease-out;
}
/* PNG crisp helper: prevents fractional pixel jitter after JS transforms settle */
.png-crisp,
img.png-crisp {
  image-rendering: auto; /* ensure smoothing */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0); /* promote to its own layer */
}
/* Interactive elements need to handle events */
[data-parallax="true"]>div:not([data-parallax-z]) {
  pointer-events: auto;
}
/* Enhanced styles for elements with popout effect */
[data-effect="popout"] {
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
[data-effect="popout"]:hover,
[data-effect="popout"].hovered {
  transform: translateZ(30px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
[data-effect="popout"] [data-parallax-z] {
  transition: transform 0.2s ease-out;
}
/* Mobile-specific styles */
/* Enhanced mobile parallax containers - ONLY target the container itself */
[data-parallax="true"].parallax-mobile-enhanced {
  /* Add slight indicator that this is interactive */
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  /* Ensure that mobile containers don't clip content */
  overflow: visible !important;
  /* Force proper stacking context */
  isolation: isolate;
  /* Important: prevent click events from leaking */
  position: relative;
}
/* Visual indicator for passive state - ONLY for parallax containers */
[data-parallax="true"].parallax-mobile-passive > img,
[data-parallax="true"].parallax-mobile-passive > span,
[data-parallax="true"].parallax-mobile-passive > div > img /* Target images within divs too */ {
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}
/* Visual indicator for active state - more pronounced */
.parallax-mobile-active > img,
.parallax-mobile-active > span,
.parallax-mobile-active > div > img {
  /* More pronounced shadow to indicate active state */
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15)); /* Changed from box-shadow to filter */
}
/* Make elements within parallax containers interactive - strict selector */
[data-parallax="true"].parallax-mobile-enhanced>div {
  pointer-events: auto;
}
/* Special class for interactive elements - ONLY within parallax containers */
[data-parallax="true"] .parallax-interactive-element {
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
  touch-action: auto !important;
}
/* Touch handling ONLY for parallax containers */
[data-parallax="true"] {
  touch-action: pan-y;
  /* Allow vertical scrolling */
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;

  /* Create a stacking context to contain effects */
  isolation: isolate;
  position: relative;

  /* Make sure all children are contained */
  overflow: visible;
}
/* Interactive mode for parallax containers ONLY */
[data-parallax="true"].intentional-interaction {
  touch-action: none;
  /* Full interaction in intentional mode */
  cursor: grab;
}
/* Global positioning fixes - only what's necessary */
body {
  /* Ensure parallax elements don't cause unwanted scrollbars */
  overflow-x: hidden;
  /* Don't apply touch-action to the whole body */
}
/* Ensure main content area is scrollable */
main {
  /* Use standard behavior for scrolling */
  touch-action: auto;
}
/* Fix for buttons and interactive elements */
button,
a,
input,
select,
textarea,
.debug-section button,
.instructions button,
#enable-gyro,
#debug-mobile-parallax,
#reset-mobile-container {
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}
/* Ensure that parallax elements with text are readable */
[data-parallax="true"] [data-parallax-z] div,
[data-parallax="true"] [data-parallax-z] p,
[data-parallax="true"] [data-parallax-z] h1,
[data-parallax="true"] [data-parallax-z] h2,
[data-parallax="true"] [data-parallax-z] h3,
[data-parallax="true"] [data-parallax-z] h4,
[data-parallax="true"] [data-parallax-z] h5,
[data-parallax="true"] [data-parallax-z] h6 {
  /* Ensure text is crisp and doesn't get blurry during transformations */
  transform: translateZ(0.01px);
  backface-visibility: hidden;
}
/* Styles for parallax containers within tabbed content */
.tab-content > .parallax-container[data-parallax="true"] {
    width: 100%; /* Take full width of the tab content area */
    aspect-ratio: 4 / 3; /* Maintain a 4:3 aspect ratio */
    margin: 0 auto; /* Center if there's any horizontal space, though width 100% usually prevents this */
    height: auto; /* Override fixed height from .parallax-container */
    /* overflow: hidden; */ /* Already on .parallax-container, but ensure it's here if needed */
}
/* Styles for images directly within parallax containers in tabbed content */
.tab-content > .parallax-container[data-parallax="true"] > img[data-pos] {
    height: auto; /* Crucial for maintaining aspect ratio when width is set */
    -o-object-fit: contain;
       object-fit: contain; /* Ensures the entire image is visible within its dimensions, scaled down if necessary */
    display: block; /* Good practice for image layout */
}
/* === sections/pricingSection/pricingSection.css === */
.pricing-section {
  gap: var(--space-xl);
}
.pricing-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
}
.pricing-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  justify-content: center;
  width: 100%;
  max-width: var(--container-width-big);
  margin: 0 auto;
  align-items: stretch;
  text-align: center;

}
.pricing-card {
  padding: 1.5rem;
  flex: 1;
  box-sizing: border-box;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
  text-align: center;
  transition: all .4s ease-out !important;
  position: relative;
}
.badge {
  position: absolute;
  top: 0;
  right: 0;
}
.plan-top {
  border-bottom: 1px solid var(--color-surface);
  gap: 1rem;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--space-lg);
  align-items: center;

  /* Discount pricing styles */

}
.plan-top .plan-title {
    margin-bottom: .5rem;
    display: flex;
    /* Typography via utilities (e.g., hl-18) */
    gap: .5rem;
    align-items: baseline;
  }
.plan-top .price-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 0.25rem;
  }
.plan-top .original-price {
    /* Typography via utilities (e.g., body-12) */
    color: var(--shade-500);
    -webkit-text-decoration: line-through;
    text-decoration: line-through;
    opacity: 0.7;
  }
.plan-top .discounted-price {
    /* Typography via utilities */
    font-weight: 700;
    color: #ff6b6b;
    color: var(--accent-red, #ff6b6b);
  }
.plan-top .discount-badge {
    background: #ff6b6b;
    background: var(--accent-red, #ff6b6b);
    color: white;
    /* Typography via utilities */
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
  }
@keyframes pulse {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.05);
    }

    100% {
      transform: scale(1);
    }
  }
.plan-top .btn,
  .plan-top .button {
    width: -moz-max-content;
    width: max-content;
  }
.plan-highlight {
  background: var(--color-surface);
  /* border-radius: 12px; */
  width: 100%;
  padding: 1rem 1.3rem 0.3rem;
  text-align: left;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  gap: 2rem;
}
.plan-highlight .plan-hint {
    /* Typography via utilities (e.g., body-12) */
  }
.plan-highlight .plan-hint::before {
      content: "/ ";
    }
.pricing-card.pro .plan-highlight {
  background: linear-gradient(135deg, hsla(0, 100%, 85%, 1) 0%, hsla(283, 58%, 85%, 1) 50%, hsla(194, 87%, 85%, 1) 100%);
  min-height: 150px;
  color: #00000B !important;


}
.pricing-card.pro .plan-highlight h3,
  .pricing-card.pro .plan-highlight p,
  .pricing-card.pro .plan-highlight .chip {
    color: #00000B !important;
  }
.pricing-card.pro {
  /* background: linear-gradient(135deg, var(--accent-notely) 0%, var(--accent-color-extractly) 50%, var(--color-primary) 100%); */
  border: .3rem solid;
  -o-border-image: linear-gradient(135deg, var(--accent-notely), var(--accent-color-extractly), var(--color-primary)) 1;
     border-image: linear-gradient(135deg, var(--accent-notely), var(--accent-color-extractly), var(--color-primary)) 1;
  background: var(--shade-100);
  margin: -1rem -.5rem -.25rem -.5rem;

  /* transform: scale(1.05) translateY(-10px); */
  box-shadow: none;

}
.pricing-card.pro::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translate3d(0px, 20px, 0) scale(0.95);
    filter: blur(20px);
    opacity: var(0.7);
    transition: opacity 0.3s;
    background: linear-gradient(135deg, var(--accent-notely) 0%, var(--accent-color-extractly) 50%, var(--color-primary) 100%);

  }
.pricing-mobile-details,
.enterprise-mobile-link {
  display: none;
}
.pricing-trust {
  margin: 0 auto;

  padding: var(--space-lg) var(--space-md);

  border-top: 2px dashed var(--shade-300);
}
@media (max-width: 768px) {
  .pricing-section {
    padding: 0 var(--space-sm);

    /* Hide the third pricing card (Enterprise) on mobile */
  }

    .pricing-section .pricing-container {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: stretch;
      gap: 1rem;
      padding: 0 1rem !important;
    }

    .pricing-section .pricing-wrapper {
      gap: 1.5rem;
    }

    .pricing-section .badge {
      top: -1.5rem;
      right: -.3rem;
    }

    .pricing-section .pricing-card {
      flex: 1 1 calc(50% - 1rem);
      max-width: 100%;
      min-width: 8rem;
      padding: 0;
      max-width: 400px;
    }

      .pricing-section .pricing-card .plan-top {
        padding: 0;
        border: none;
        height: 100%;
      }

      .pricing-section .pricing-card .plan-title {
        align-items: flex-end;
      }

      .pricing-section .pricing-card .plan-highlight {
        justify-content: space-between;
        height: 100%;

      }


      .pricing-section .pricing-card.pro {
        transform: scale(1.05);
      }

  .pricing-section .pricing-card .plan-bottom,
  .pricing-section .pricing-card p.small,
  .pricing-section .pricing-card .btn,
  .pricing-section .pricing-card .button {
        display: none;
      }

    .pricing-section .pricing-mobile-details {
      display: block;
      width: 100%;
      padding: 0 2rem;
    }

    .pricing-section .pricing-card.pro {
      margin: 0;
    }
    .pricing-section .pricing-container .pricing-card:nth-child(3) {
      display: none !important;
    }

    .pricing-section .enterprise-mobile-link {
      display: block;
      margin: 0 auto 0 auto;
    }

    .pricing-section .mobile-details-plan-price,
    .pricing-section .mobile-details-plan-name {
      display: none;
    }

    .pricing-section a {

      font-weight: 600;
    }

    .pricing-section .mobile-details-plan-subtitle {
      text-align: left;
      /* Typography via utilities */
    }
}
/* //////////////// FLIP TIMER OFFER */
.pricing-header-offer {
  color: var(--highlight);
  margin-top: var(--space-md);
  font-family: var(--font-primary);
  /* Typography via utilities */
  font-weight: bold;
  margin-bottom: var(--space-xs);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.pricing-header-timer {
  margin-bottom: var(--space-xs);
  /* Reverted */
  display: flex;
  justify-content: center;
  width: 100%;
}
.pricing-offer-countdown {
  /* Typography via utilities */
  position: relative;
  z-index: 2;
  perspective: 1000px;
  perspective-origin: 50% 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.timer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.flip-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0 0.3em;
  min-width: 2.8em;
  height: 3.5em;
}
.flip-pair .flip-label {
  margin-top: 0.5em;
  /* Typography via utilities */
  color: var(--color-text-secondary);
  font-family: var(--font-secondary);
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
.flip-pair .flip-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.15em;
}
.flip {
  position: relative;
  float: left;
  width: 1.2em;
  height: 1.8em;
  background-color: var(--shade-100);
  border: var(--border-thin);
  box-shadow: var(--shadow-small);
  text-align: center;
  font-family: Consolas, 'Courier New', monospace;
  font-size: var(--type-hl-18-size);
  perspective: 200px;
}
.flip .base {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--highlight);
  font-size: var(--type-hl-18-size);
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}
/* --- Flip Animation Styles (Inspired by Original) --- */
.flap {
  display: none;
  /* Initially hidden, shown by JS during animation */
  position: absolute;
  width: 100%;
  height: 50%;
  background-color: var(--color-surface);
  /* Reverted */
  left: 0;
  top: 0;
  /* border-radius: 0.2em 0.2em 0 0; */
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  overflow: hidden;
}
.flap::before {
  content: attr(data-content);
  position: absolute;
  left: 50%;
  color: var(--highlight);
  font-size: 1.4em;
  font-size: var(--font-size-lg, 1.4em);
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}
.flap.front::before,
.flap.under::before {
  top: 100%;
  transform: translate(-50%, -50%);
}
.flap.back {
  transform: rotateY(180deg);
}
.flap.back::before {
  top: 100%;
  transform: translate(-50%, -50%) rotateZ(180deg);
}
.flap.over {
  z-index: 2;
}
.flap.under {
  z-index: 1;
}
/* Apply animations when JS adds display: block */
.flap.front[style*="display: block"] {
  animation: flip-down-front 300ms ease-in both;
}
.flap.back[style*="display: block"] {
  animation: flip-down-back 300ms ease-in both;
}
.flap.under[style*="display: block"] {
  animation: fade-under 300ms ease-in both;
}
/* The flip animation keyframes */
@keyframes flip-down-front {
  0% {
    transform: rotateX(0deg);
    background-color: var(--color-surface);
    /* Reverted */
    color: var(--highlight);
    /* Reverted */
  }

  100% {
    transform: rotateX(-180deg);
    background-color: var(--color-text-secondary);
    /* Reverted */
    color: var(--color-bg);
    /* Reverted */
  }
}
@keyframes flip-down-back {
  0% {
    transform: rotateY(180deg) rotateX(0deg);
    background-color: var(--color-text-secondary);
    /* Reverted */
    color: var(--color-bg);
    /* Reverted */
  }

  100% {
    transform: rotateY(180deg) rotateX(180deg);
    background-color: var(--color-surface);
    /* Reverted */
    color: var(--highlight);
    /* Reverted */
  }
}
@keyframes fade-under {
  0% {
    background-color: var(--color-text-secondary);
    /* Reverted */
    color: var(--color-bg);
    /* Reverted */
  }

  100% {
    background-color: var(--color-surface);
    /* Reverted */
    color: var(--highlight);
    /* Reverted */
  }
}
/* Compact mode styles */
.flip-pair.compact {
  min-width: 3em;
}
.flip.combined {
  width: 3em;
  /* Adjust width for combined digits */

  padding: 0.2rem;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.flip.combined .base {
  font-size: 1.2em;
  /* Slightly smaller for two digits */
}
.flap.combined::before {
  font-size: 1.2em;
}
/* Responsive adjustments for flip clock */
@media (max-width: 600px) {
  .pricing-offer-countdown {
    gap: 0.2em;
    padding: 0.5em 0.3em;
  }

  .flip-pair {
    min-width: 2em;
    margin: 0 0.15em;
  }

  .flip {
    width: 0.9em;
    height: 1.4em;
  }

  .flip .base,
  .flap::before {
    font-size: 1.1em;
  }

  .flip-pair .flip-label {
    font-size: 0.55em;
    font-size: var(--font-size-xs, 0.55em);
    margin-top: 0.3em;
  }

  .flip.combined {
    width: 1.8em;
    /* Adjust compact width for smaller screens */
    height: 1.4em;
  }

  .flip.combined .base,
  .flap.combined::before {
    font-size: 1.1em;
  }
}
/* === sections/faqSection/faqSection.css === */
.faq-modern-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}
.faq-modern-left {
  color: var(--shade-100);
  min-width: 200px;
  max-width: 260px;
  /* Height: 2x FAQ card height + gap between them */
  max-height: calc((160px * 2) + var(--space-md));
  max-height: calc((var(--faq-card-height, 160px) * 2) + var(--space-md));
  /* height: calc((var(--faq-card-height, 160px) * 2) + var(--space-md)); */
  display: flex;
  border: var(--border);
  box-shadow: var(--shadow);
  border-radius: 0;
  padding: var(--space-lg) var(--space-md);
  flex-shrink: 0;
  background: var(--shade-500);
  justify-content: center;
  align-content: center;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.faq-modern-card.card {
  --faq-card-height: 100px;
  margin: 0 !important;
  transition: min-height 0.2s;
  overflow: visible;
}
.faq-modern-card[open],
.faq-modern-card.card[open] {
  min-height: 0;
  min-height: initial;
  height: auto;
  overflow: visible;
}
.faq-icon {
  font-family: var(--font-primary);
  letter-spacing: 0.05em;
  display: block;
}
.faq-arrows {
  line-height: 1.1;
  font-family: var(--font-primary);
  opacity: 0.85;
  display: block;
}
.faq-modern-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.faq-modern-right .box,
  .faq-modern-right .card {
    padding: 0;
    /* flex: 1 1 0%; */
    align-items: flex-start;
  }
.faq-modern-question {
  text-align: left;
  display: flex;
  text-align: left;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  box-sizing: border-box;
}
.faq-modern-card summary::-webkit-details-marker,
.faq-modern-card summary::marker {
  display: none;
}
/* FAQ toggle icon animation (new approach) */
.faq-modern-card summary {
  position: relative;
}
.faq-modern-answer {
  color: var(--color-text-secondary);
  margin-top: 0.5em;
  font-family: var(--font-secondary);
  text-align: left;
  padding-top: 1em;
  border-top: 1px dashed var(--color-surface);
  padding: var(--space-sm);
  word-break: break-word;
}
@media (max-width: 900px) {
  .faq-modern-container {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .faq-modern-left {
    min-width: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    min-height: 120px;
    padding: var(--space-md) var(--space-xs);
  }

  .faq-modern-right {
    width: 100%;
    max-width: 100vw;
    align-items: center;
    gap: .1rem;
  }

  .faq-modern-card {
    min-width: 0;
    width: 95vw;
    max-width: 99vw;
    overflow: visible;
  }
  .faq-modern-card[open],
  .faq-modern-card.card[open] {
    min-height: 0;
    min-height: initial;
    height: auto;
    overflow: visible;
  }
}
@media (max-width: 600px) {
  .faq-section-modern {
    padding: var(--space-md) var(--space-xs);
  }

  .faq-modern-left {
    padding: var(--space-sm) var(--space-xs);
  }

  .faq-modern-right {
    gap: 1rem;
  }

  .faq-modern-card {
    padding: var(--space-md) var(--space-xs);
  }

  /* Typography handled via utilities on small screens as well */
}
/* === components/stripeBuyButton/stripeBuyButton.css === */
/* Stripe Buy Button Styles */
.stripe-buy-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}
.stripe-buy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}
.stripe-buy-button.loading {
    pointer-events: none;
    position: relative;
}
/* Loading shimmer effect */
.stripe-buy-button.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: stripe-shimmer 2s ease-in-out infinite;
    z-index: 1;
}
@keyframes stripe-shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
.stripe-buy-text,
.stripe-buy-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}
.stripe-buy-loading {
    display: none;
}
.stripe-buy-button.loading .stripe-buy-text {
    display: none;
}
.stripe-buy-button.loading .stripe-buy-loading {
    display: flex;
    animation: stripe-fade-in 0.3s ease-in;
}
@keyframes stripe-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Enhanced Loading Spinner */
.stripe-loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: stripe-spin 1s linear infinite;
    flex-shrink: 0;
}
@keyframes stripe-spin {
    to {
        transform: rotate(360deg);
    }
}
/* Loading text with subtle pulse */
.stripe-buy-loading-text {
    animation: stripe-pulse 2s ease-in-out infinite;
}
@keyframes stripe-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
/* Error State */
.stripe-buy-button.error {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    animation: stripe-error-shake 0.5s ease-in-out;
}
@keyframes stripe-error-shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-4px);
    }
    75% {
        transform: translateX(4px);
    }
}
.stripe-buy-button.error:hover {
    background-color: #c82333;
    border-color: #bd2130;
}
/* Success State (temporary feedback) */
.stripe-buy-button.success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    animation: stripe-success-bounce 0.6s ease-out;
}
@keyframes stripe-success-bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
/* Progress indicator for longer waits */
.stripe-buy-button.loading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    animation: stripe-progress 3s ease-out forwards;
    z-index: 3;
}
@keyframes stripe-progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}
/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .stripe-loading-spinner {
        border-color: rgba(255, 255, 255, 0.2);
        border-top-color: currentColor;
    }
    
    .stripe-buy-button.loading::before {
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent
        );
    }
}
/* Mobile optimizations */
@media (max-width: 768px) {
    .stripe-buy-button {
        min-height: 48px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .stripe-loading-spinner {
        width: 16px;
        height: 16px;
    }
    
    /* Reduce animations on mobile for performance */
    .stripe-buy-button.loading::before {
        animation-duration: 3s;
    }
}
/* Full-page loading overlay styles */
.stripe-fullpage-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: stripe-overlay-fade-in 0.3s ease-out;
}
.stripe-fullpage-loading-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: stripe-overlay-slide-up 0.4s ease-out;
}
.stripe-fullpage-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #635bff;
    border-radius: 50%;
    animation: stripe-spin 1s linear infinite;
    margin: 0 auto 1rem;
}
.stripe-fullpage-loading h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.25rem;
}
.stripe-fullpage-loading p {
    margin: 0 0 1.5rem 0;
    color: #666;
    font-size: 0.9rem;
}
.stripe-fullpage-progress {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}
.stripe-fullpage-progress-bar {
    height: 100%;
    background: #635bff;
    border-radius: 2px;
    animation: stripe-progress-bar 8s ease-out forwards;
}
@keyframes stripe-overlay-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes stripe-overlay-slide-up {
    from { 
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes stripe-progress-bar {
    from { width: 0%; }
    to { width: 100%; }
}
@media (prefers-color-scheme: dark) {
    .stripe-fullpage-loading-content {
        background: #1a1a1a;
        color: white;
    }
    .stripe-fullpage-loading h3 {
        color: white;
    }
    .stripe-fullpage-loading p {
        color: #ccc;
    }
}
/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .stripe-buy-button.loading::before,
    .stripe-buy-loading,
    .stripe-loading-spinner,
    .stripe-buy-loading-text,
    .stripe-buy-button.error,
    .stripe-buy-button.success,
    .stripe-buy-button.loading::after,
    .stripe-fullpage-loading,
    .stripe-fullpage-loading-content,
    .stripe-fullpage-spinner,
    .stripe-fullpage-progress-bar {
        animation: none;
    }
    
    .stripe-buy-button {
        transition: none;
    }
}
/* === components/floatingBuyButton/floatingBuyButton.css === */
/**
 * Floating Buy Button Component
 * 
 * This component creates a floating buy button that appears at the bottom of the screen
 * when the main buy/pricing buttons are not in viewport. It provides easy access to
 * purchase actions throughout the page.
 * 
 * Features:
 * - Intersection Observer to detect when main buy buttons are visible
 * - Smooth slide-in/slide-out animations
 * - Responsive design for mobile and desktop
 * - Pixel art styling consistent with site theme
 * - Theme-aware (light/dark mode)
 * 
 * @version 1.0.0
 * @author RAIKEN Team
 * @created June 6, 2025
 */
.floating-buy-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Reduced from 10000 to avoid stacking context issues */
    padding: 12px 16px;    
    background: linear-gradient(180deg, color-mix(in srgb, var(--shade-100) 50%, transparent) 10%, var(--shade-100) 100%);
    backdrop-filter: blur(14px);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; /* Allow pointer events to pass through when not needed */
    /* border-top: 2px solid var(--pixel-border-color, #333); */
    /* box-shadow: 0 -4px 16px rgba(0,0,0,0.1); */
}
.floating-buy-button.visible {
    transform: translateY(0);
    pointer-events: auto; /* Re-enable pointer events when visible */
}
/* Hide button when scrolled to bottom of page */
.floating-buy-button.hidden-by-scroll {
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-buy-button-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    pointer-events: auto; /* Ensure content area accepts clicks */
}
.floating-buy-button-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0; /* Allow text to truncate */
}
.floating-buy-button-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .5rem;
    border: 2.5px solid var(--color-text-primary);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.floating-buy-button-icon img {
    width: 80%;
    border-radius: .4rem;
    height: 80%;
    -o-object-fit: contain;
       object-fit: contain;
}
.floating-buy-button-text {
    flex: 1;
    min-width: 0;
    padding-left: 6px;
}
.floating-buy-button-title {
    font-family: 'Press Start 2P', monospace;
    font-family: var(--font-pixel, 'Press Start 2P'), monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.25;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}
/* --- Floating Buy Button CTA: Only layout-specific tweaks, all main styles from .plan-button --- */
.floating-buy-button-cta {
    /* No background or color override, all from .plan-button */
    margin: 0;
}
/* Mobile responsive */
@media (max-width: 768px) {
    .floating-buy-button {
        padding: 10px 12px;
        z-index: 1001; /* Slightly higher for mobile, but still reasonable */
    }
    
    .floating-buy-button-content {
        gap: 12px;
    }
    
    .floating-buy-button-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .floating-buy-button-icon img {
        width: 80%;
        height: 80%;
    }
    
    .floating-buy-button-title {
        font-size: 10px;
    }
    


}
@media (max-width: 480px) {
    .floating-buy-button-text {
        display: none;
    }
    
    .floating-buy-button-content {
        justify-content: center;
    }
    

}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-buy-button {
        transition: none;
        
    }
    
    .floating-buy-button-cta {
        transition: none;
    }
}
/* High contrast mode */
.high-contrast .floating-buy-button {
    background: var(--color-bg);
    border-top: 3px solid var(--color-text-primary);
}
.high-contrast .floating-buy-button-cta {
    border-width: 3px;
    box-shadow: 
        3px 3px 0 var(--color-text-primary),
        inset 0 0 0 2px rgba(255,255,255,0.3);
}
/* Accessibility filter support for floating buy button */
html.filter-grayscale .floating-buy-button,
html.filter-low-contrast .floating-buy-button,
html.pastel-green .floating-buy-button,
html.pastel-yellow .floating-buy-button {
    background: linear-gradient(180deg, 
        color-mix(in srgb, var(--color-surface) 50%, transparent) 10%, 
        var(--color-surface) 100%);
}
/* Floating button icon with accessibility filters */
html.filter-grayscale .floating-buy-button-icon,
html.filter-low-contrast .floating-buy-button-icon,
html.pastel-green .floating-buy-button-icon,
html.pastel-yellow .floating-buy-button-icon,
html.high-contrast .floating-buy-button-icon {
    border-color: var(--color-text-primary) !important;
    background: var(--color-surface) !important;
}
/* Floating button title with accessibility filters */
html.filter-grayscale .floating-buy-button-title,
html.filter-low-contrast .floating-buy-button-title,
html.pastel-green .floating-buy-button-title,
html.pastel-yellow .floating-buy-button-title,
html.high-contrast .floating-buy-button-title {
    color: var(--color-text-primary) !important;
}
/* === components/cardRidge/cardRidge.css === */
/* Base cardRidge styles */
.cardRidge {
  position: relative;
  display: block;
  width: 100%;
  width: -webkit-fill-available;
  max-width: 25rem;
  aspect-ratio: 4/4;
  margin: 0 auto;
  background: transparent;
  
}
/* Cartridge base image */
.cartridge-base-img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 1;
  left: 0;
  top: 0;
  transition: opacity 0.3s ease;
}
/* Translucent overlay for hover effects */
.cartridge-translucent-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 2;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
/* Show translucent overlay on hover */
.cardRidge:hover .cartridge-translucent-overlay {
  opacity: 1;
}
/* Hide base image on hover when overlay is available */
.cardRidge:hover .cartridge-base-img {
  opacity: 0.95;
}
/* Artwork container (base, then type-specific) */
.artwork-container {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  display: block;
}
.cardRidge--console .artwork-container {
  width: 53.9%;
  height: 61.4%;
  top: 5.5%;
  left: 38%;
  border-radius: 2.7%;
}
.cardRidge--gameboy .artwork-container {
  width: 70%;
  height: 52%;
  top: 31.7%;
  left: 15%;
  border-radius: 3%;
}
/* Parallax elements */
.artwork-container .parallax-element {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  z-index: 2;
  /* Rendering now controlled by utility classes (.pixel-art / .pixel-smooth) */
}
/* Coming soon overlay and label */
.cardRidge-coming-soon-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 20;
  pointer-events: none;
}
.coming-soon-label {
  background: rgba(30, 30, 30, 0.85);
  font-size: 1.1em;
  font-weight: bold;
  padding: 0.5em 1.2em;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  color: #fff;
  color: var(--color-surface, #fff);
  background: #222;
  background: var(--color-text-primary, #222);

}
/* Stronger darken effect for coming soon (parallax elements and base image) */
.cardRidge.coming-soon .artwork-container {
  filter: brightness(0.45) grayscale(0.3) contrast(1);
  transition: filter 0.3s;
}
.cardRidge.coming-soon .cartridge-base-img {
  /* opacity: .3 !important; */
  filter: brightness(-1) grayscale(.8) contrast(.8);
  transition: filter 0.3s;
}
/* Category label, logos */
.cartridge-category {
  display: inline-block;
  position: absolute;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 5;
  font-family: 'Courier New', Courier, monospace;
  color: #333;
  color: var(--color-text, #333);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 6px;
  background: #333;
  background: var(--color-primary, #333);
}
.wrapper-logos {
  position: absolute;
  top: 0.25em;
  left: 0.25em;
  display: flex;
  gap: 0.25em;
  z-index: 6;
  align-items: center;
  flex-direction: column;
}
.cartridge-logo,
.cartridge-category-icon {
  width: 2em;
  height: 2em;
  -o-object-fit: contain;
     object-fit: contain;

  border-radius: 15%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  /* border: 1.5px solid #eee; */
}
/* Theme transitions for smooth theme switching */
.cartridge-base-img,
.cartridge-translucent-overlay {
  will-change: opacity, filter;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
/* Dark mode specific styles */
:root.dark .cardRidge .cartridge-base-img[data-theme-color="white"] {
  opacity: 0.85;
}
/* Light mode specific styles */
:root:not(.dark) .cardRidge .cartridge-base-img[data-theme-color="black"] {
  opacity: 0.85;
}
/* Mobile responsive styles */
@media (max-width: 768px) {
  .cardRidge {
    max-width: 20rem;
    min-width: 15rem;

    /* width: 78vw; */
  }

  .cardRidge--gameboy .artwork-container {
    width: 70%;
    height: 52%;
    top: 31.7%;
    left: 15%;
  }

  .cardRidge--console .artwork-container {
    width: 53.9%;
    height: 61.4%;
    top: 5.5%;
    left: 38%;
  }

  .cartridge-category {
    font-size: 0.55rem;
    padding: 1px 6px;
  }

  .cartridge-logo,
  .cartridge-category-icon {
    width: 1.8em;
    height: 1.8em;
  }

  .coming-soon-label {
    font-size: 0.9em;
    padding: 0.4em 1em;
  }
}
@media (max-width: 480px) {
  .cardRidge {
    max-width: 18rem;
    min-width: 12rem;
  }

  .cartridge-category {
    font-size: 0.5rem;
    padding: 1px 5px;
  }

  .cartridge-logo,
  .cartridge-category-icon {
    width: 1.6em;
    height: 1.6em;
  }
}
/* === components/dashboardSwitcher/dashboardSwitcher.css === */
/* Dashboard Switcher Component Styles */
.dashboard-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-surface-elevated);
    border: 2px solid var(--color-border-primary);
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.dashboard-switcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.dashboard-switcher-current {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
}
.dashboard-icon {
    font-size: 16px;
}
.dashboard-label {
    white-space: nowrap;
}
.dashboard-switcher-toggle {
    position: relative;
}
.btn-dashboard-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-primary);
    color: white;
    -webkit-text-decoration: none;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-dashboard-switch:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}
.btn-dashboard-switch:active {
    transform: scale(0.98);
}
.switch-icon {
    font-size: 14px;
}
.switch-text {
    white-space: nowrap;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-switcher {
        position: fixed;
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        flex-direction: column;
        gap: 8px;
        min-width: 140px;
    }
    
    .dashboard-switcher-current {
        font-size: 12px;
    }
    
    .dashboard-label {
        display: none; /* Hide text on mobile, keep icon only */
    }
    
    .btn-dashboard-switch {
        padding: 4px 8px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }
    
    .switch-text {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .dashboard-switcher {
        top: 5px;
        right: 5px;
        padding: 4px 8px;
    }
    
    .dashboard-switcher-current .dashboard-label {
        display: none;
    }
    
    .btn-dashboard-switch .switch-text {
        display: none;
    }
}
/* Animation for switching */
.dashboard-switcher.switching {
    animation: switchPulse 0.6s ease-in-out;
}
@keyframes switchPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* Theme-specific adjustments */
.light .dashboard-switcher {
    background: rgba(255, 255, 255, 0.95);
    border-color: #e1e5e9;
}
.dark .dashboard-switcher {
    background: rgba(30, 35, 41, 0.95);
    border-color: #4a5568;
}
.high-contrast .dashboard-switcher {
    background: #000000;
    border-color: #ffffff;
    color: #ffffff;
}
.high-contrast .btn-dashboard-switch {
    background: #ffffff;
    color: #000000;
}
.high-contrast .btn-dashboard-switch:hover {
    background: #cccccc;
}
/* === pages/detailpage/contently/detailpage.css === */
/* 
 * Contently Detail Page Styles
 * Custom styles specific to the Contently plugin detail page
 */
/* Hero Section Customizations */
.hero-figma-plugin {
  text-align: left;
  padding: var(--space-md) 0;
}
.hero-figma-plugin .hero-description {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}
.hero-figma-plugin .plugin-icons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.hero-figma-plugin .plugin-icons .icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  overflow: hidden;
}
.hero-figma-plugin .plugin-icons .icon img {
  width: 100%;
  height: auto;
}
/* NES Cartridge Styling */
.hero-cartridge-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
  perspective: 1000px;
}
.nes-cartridge {
  width: 80%;
  max-width: 400px;
  position: relative;
  transform: rotate3d(0.1, -0.1, 0, 15deg);
  transition: transform 0.5s ease;
}
.nes-cartridge:hover {
  transform: rotate3d(0, 0, 0, 0deg) scale(1.05);
}
.nes-cartridge .cartridge-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}
/* Blue Glow */
.blue-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.3) 0%, rgba(0, 162, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* CardRidge Hero Wrapper - General styles for all detail pages */
.cardRidge-hero-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: var(--space-md);
  min-height: 300px;
}
.cardRidge-hero-wrapper .cardRidge {
  position: relative;
  z-index: 1;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-figma-plugin .title {
  }

  .hero-figma-plugin .plugin-icons {
    flex-wrap: wrap;
  }

  .nes-cartridge {
    width: 100%;
    transform: rotate3d(0, 0, 0, 0deg);
  }

  /* CardRidge hero wrapper mobile styles */
  .cardRidge-hero-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md) 0;
    min-height: 250px;
  }

  .cardRidge-hero-wrapper .cardRidge {
    max-width: 250px;
    width: 100%;
  }
}
/* === assets/css/page-product-transition.css === */
/* assets/css/page-transition.css */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--shade-000); /* Use theme-aware background instead of pure white */
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.page-transition-overlay.active {
    display: flex;
    pointer-events: all;
    background-color: var(--shade-200); /* Consistent with theme system */
}
.page-transition-bars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.page-transition-bar {
    position: absolute;
    width: 100%;
    height: 50%;
    background: var(--shade-000); 
    transform: scaleY(0);
    z-index: 1;
}
.page-transition-bar.top {
    top: 0;
    transform-origin: top;
}
.page-transition-bar.bottom {
    bottom: 0;
    transform-origin: bottom;
}
.page-transition-hero-container {
    position: relative;
    transform: scale(0);
    opacity: 0;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* Fixed gap between hero and text */
    justify-content: center;
}
.page-transition-hero {
    max-width: 60vw;
    max-height: 60vh;
    width: 6rem;
    -o-object-fit: contain;
       object-fit: contain;
    transform: scale(1.5); /* Start slightly larger */
}
.page-transition-product-name {
    color: var(--shade-500);
    font-size: 2rem;
    font-family: var(--font-primary), sans-serif; /* Use primary font variable for consistency */
    font-weight: bolder;
    text-transform: uppercase;
    margin-top: 0; /* Remove margin since we use gap now */
    opacity: 0;
    transform: translateY(2rem);
    flex-shrink: 0; /* Prevent text from shrinking */
}
/* Animation Keyframes */
@keyframes bar-intro {
    0% { 
        transform: scaleY(0);
    }
    30% { 
        transform: scaleY(1);
    }
    100% { 
        transform: scaleY(1);
    }
}
@keyframes bar-outro {
    0%, 50% { transform: scaleY(1); }
    100% { transform: scaleY(0); }
}
@keyframes hero-fade-in-zoom {
    0% {
        transform: scale(0) translateY(-50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.3) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}
@keyframes hero-fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}
@keyframes product-name-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* === assets/css/pages/article.css === */
/* Article - Modern blog hero styling with design tokens and proper nesting */
.page-article {
  gap: var(--space-xl);

  /* Container - full width for breakout elements */

  /* Modern Hero Section with Design Tokens */


  /* Dark mode background gradient */

  /* Content container - full width for flexible layout */

  /* Modern Typography - Hero Title - Much Bigger for Impact */

  /* Modern Excerpt Styling */

  /* Add a subtle quote or emphasis mark */

  /* Article Body Content */

  /* Heading hierarchy optimized for scanning - NO H1 in content (page already has main H1) */

  /* Links optimized for accessibility */

  /* Lists for better scanability */

  /* Images optimized for content flow - flat design */

  /* Elegant three-dot section separator */

  /* Minimalistic blockquotes with CSS Nesting */

  /* Code blocks */

  /* Enhanced Table Styling inspired by clean design system */

  /* Clean styling for text elements with CSS Nesting */

  /* Modern Meta info - Single Row Layout with Design Tokens */


  /* Mobile readability optimizations - Using Design Tokens and CSS Nesting */

  /* Additional classes for compatibility with external article system */

  /* Date and author information box */

  /* Image captions */

  /* Figure elements */

  /* Copy/content wrapper with enhanced image handling */

  /* Card sections with breakout from content constraint */

  /* Individual cards matching inspiration layout */

  /* No padding cards for image galleries - proper breakout */

  /* Full-width wrapper for special content */

  /* Small image modifier */

  /* Video elements */

}
.page-article .article-main {
    max-width: var(--container-width-big);
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }
.page-article .article-header-section {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
    position: relative;
  }
html.dark .page-article:where(.article-header-section::before) {
    background: linear-gradient(135deg,
        rgba(106, 140, 249, 0.05) 0%,
        rgba(173, 150, 239, 0.03) 50%,
        rgba(255, 107, 107, 0.05) 100%);
  }
.page-article .article-header {
    text-align: center;
    position: relative;
    z-index: 1;
  }
.page-article .article-content {
    width: 100%;
    margin: 0 auto;

    /* Apply optimal reading width to all direct child sections by default */

    /* Featured image section should use full width */
  }
.page-article .article-content >.article-header-section,
    .page-article .article-content >.article-body-section,
    .page-article .article-content >.article-footer-section {
      max-width: 74ch;
      margin-left: auto;
      margin-right: auto;
    }
.page-article .article-content >.article-featured-image-section {
      max-width: none;
      width: 100%;
      margin-bottom: 3rem;
    }
.page-article .article-title {
  /* Reserve space with predictable clamp; avoid too small max on desktop */
  font-size: max(1.5rem, min(4vw, 2.5rem));
    line-height: 1.2;
    /* Slightly more line-height for pixel font readability */
    margin: var(--space-md) 0 var(--space-lg);
    color: var(--color-text-primary);
      /* Pixel fonts don't need heavy weight */
    hyphens: auto;
    word-wrap: break-word;
  /* Keep color-only transition to avoid layout-affecting changes */
  transition: color var(--transition-fast);
    cursor: default;
    text-align: center;
  }
.page-article .article-excerpt {
    font-size: 1.2rem;
    line-height: var(--line-height-sm);
    color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
    font-style: normal;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    /* Lead paragraph pattern for engagement */
    hyphens: auto;
    word-wrap: break-word;
    opacity: 0.85;
  position: relative;
  min-height: 1.2em; /* Reserve at least one line to reduce shift */
  }
.page-article .article-excerpt::before {
    content: '"';
    font-size: calc(var(--font-size-xxl) + 1rem);
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    left: calc(var(--space-lg) * -1);
    top: calc(var(--space-md) * -1);
    font-family: Georgia, serif;
    line-height: 1;
  }
.page-article .article-body {
    font-size: var(--font-size-base);
    line-height: 1.7;
    /* Optimal for reading comprehension */
    color: var(--color-text-primary);
    /* Psychological reading patterns */
    text-align: left;
    word-spacing: 0.05em;
    /* Slight word spacing improvement */
  }
.page-article .article-body p {
    margin-bottom: var(--space-lg);
    /* Generous paragraph spacing for breathing room */

    /* First paragraph lead-in styling */
  }
.page-article .article-body p:first-child {
      font-size: calc(var(--font-size-base) * 1.1);
      line-height: var(--line-height-sm);
      margin-bottom: var(--space-xl);
    }
.page-article .article-body h1 {
    /* Convert any remaining H1s to look like H2s for accessibility */
    font-size: var(--font-size-lg);
    line-height: 1.3;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--color-text-primary);
    font-weight: 600;
    hyphens: auto;
    word-wrap: break-word;
  }
.page-article .article-body h2 {
    font-size: var(--font-size-lg);
    line-height: 1.3;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--color-text-primary);
    font-weight: 600;
    hyphens: auto;
    word-wrap: break-word;
  }
.page-article .article-body h3 {
    font-size: calc(var(--font-size-base) * 1.1);
    line-height: 1.4;
    margin: var(--space-lg) 0 var(--space-sm);
    color: var(--color-text-primary);
    font-weight: 500;
    hyphens: auto;
    word-wrap: break-word;
  }
.page-article .article-body h4 {
    font-size: var(--font-size-base);
    line-height: 1.4;
    margin: var(--space-md) 0 var(--space-xs);
    color: var(--color-text-primary);
    font-weight: 500;
  }
.page-article .article-body a {
    color: var(--color-primary);
    -webkit-text-decoration: underline;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: var(--transition-fast);
  }
.page-article .article-body a:hover {
      text-decoration-thickness: 2px;
      color: var(--color-primary-dark);
    }
.page-article .article-body a:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
      border-radius: var(--border-radius-sm);
    }
.page-article .article-body ul,
  .page-article .article-body ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
  }
.page-article .article-body li {
    margin-bottom: var(--space-xs);
    line-height: var(--line-height-sm);
  }
.page-article .article-body img {
    max-width: 100%;
    height: auto;
    margin: var(--space-xl) 0;
    border-radius: var(--border-radius-sm);
    display: block;
  }
.page-article .article-body hr {
    border: none;
    position: relative;
    margin: var(--space-xl) 0;
    height: 1rem;
  }
.page-article .article-body hr::before {
      content: "• • •";
      display: block;
      text-align: center;
      color: var(--shade-900);
      font-size: 0.7rem;
      letter-spacing: 1em;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
.page-article .article-body blockquote {
    margin: var(--space-lg) 0;
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-border);
    font-style: italic;
    font-size: calc(var(--font-size-base) * 1.05);
    line-height: var(--line-height-sm);
    background: transparent;

    /* Clean quote attribution styling */
  }
.page-article .article-body blockquote p {
      margin: 0 !important;
    }
.page-article .article-body blockquote footer {
      text-align: right;
      margin-top: var(--space-sm);
      font-style: normal;
      font-size: calc(var(--font-size-base) * 0.9);
      color: var(--color-text-secondary);
    }
.page-article .article-body blockquote footer cite {
        font-style: normal;
        font-weight: 500;
        color: var(--color-text-primary);
      }
.page-article .article-body blockquote footer cite::before {
          content: "— ";
          color: var(--color-text-secondary);
        }
.page-article .article-body pre,
  .page-article .article-body code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-family: var(--font-mono, 'Monaco', 'Menlo', 'Ubuntu Mono', monospace);
    font-size: calc(var(--font-size-base) * 0.9);
  }
.page-article .article-body pre {
    background: var(--color-surface-alt);
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border: 1px solid var(--color-border);
  }
.page-article .article-body code {
    background: var(--color-surface-alt);
    padding: calc(var(--space-xs) * 0.4) calc(var(--space-xs) * 0.8);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
  }
.page-article .article-body table {
    width: 100%;
    margin: var(--space-xl) 0;
    border-collapse: collapse;
    font-size: var(--font-size-base);
    line-height: 1.6;
    background: var(--color-surface-alt);
    border-radius: var(--border-radius-sm);
    overflow: hidden;

    /* Bold table headers with strong visual hierarchy */

    /* Clean table cells with better contrast */

    /* Clean table rows */

    /* Table responsive behavior */
  }
.page-article .article-body table th {
      padding: var(--space-md) var(--space-sm);
      text-align: left;
      font-weight: 700;
      font-size: calc(var(--font-size-base) * 0.95);
      color: var(--color-text-primary);
      border-bottom: 2px solid var(--color-text-primary);
      background: var(--color-surface);
      letter-spacing: 0.01em;
    }
.page-article .article-body table td {
      padding: var(--space-md) var(--space-sm);
      border-bottom: 1px solid var(--color-border);
      vertical-align: top;
      line-height: 1.6;
      color: var(--color-text-secondary);
      background: transparent;
    }
.page-article .article-body table tr:last-child th,
        .page-article .article-body table tr:last-child td {
          border-bottom: none;
        }
.page-article .article-body table tr:hover {
        background: var(--color-surface);
        transition: var(--transition-fast);
      }
@media (max-width: 768px) {
.page-article .article-body table {
      font-size: calc(var(--font-size-base) * 0.9);
      margin: var(--space-lg) 0
  }

      .page-article .article-body table th,
      .page-article .article-body table td {
        padding: var(--space-sm) calc(var(--space-xs) * 1.5);
      }

      .page-article .article-body table th {
        font-size: calc(var(--font-size-base) * 0.85);
      }
    }
.page-article .article-body {

    /* Italic text styling */

    /* Line break styling for better content flow */
  }
.page-article .article-body b,
    .page-article .article-body strong {
      font-weight: 600;
      color: var(--color-text-primary);

      /* Elegant TLDR section inspired by clean design */
    }
.page-article .article-body b:first-of-type, .page-article .article-body strong:first-of-type {
        display: inline-block;
        color: var(--color-text-primary);
        padding: calc(var(--space-xs) * 0.6) var(--space-sm);
        font-size: calc(var(--font-size-base) * 0.9);
        font-weight: 700;
        letter-spacing: 0.05em;
        margin-right: var(--space-sm);
        background: var(--color-surface-alt);
        border-radius: var(--border-radius-sm);
        border-left: 3px solid var(--color-primary);
      }
.page-article .article-body i,
    .page-article .article-body em {
      font-style: italic;
      color: var(--color-text-secondary);
    }
.page-article .article-body br {
      line-height: 2;
    }
.page-article .article-meta {

    display: flex;
    flex-direction: row;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
    font-size: .8rem;

  }
.page-article .article-featured-image {
    margin: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--elevation-2);
    position: relative;
    background: var(--color-surface);
    transition: var(--transition-slow);

    /* Reserve height proactively using aspect-ratio wrapper */
  }
.page-article .article-featured-image:hover {
      transform: translateY(calc(var(--space-xs) * -0.8));
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    }
.page-article .article-featured-image::before {
      content: '';
      display: block;
      padding-top: calc(100% * 9 / 16);
    }
.page-article .article-featured-image img {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      -o-object-fit: cover;
         object-fit: cover;
    }
@media (max-width: 768px) {
    .page-article .article-main {
      max-width: 100%;
      padding: 0 var(--space-md);
    }

    .page-article .article-header-section {
      padding: var(--space-md) 0 var(--space-lg);
      margin-top: var(--space-md);
      /* Add breathing room from breadcrumb */
    }

      .page-article .article-header-section::before {
        width: 110%;
        border-radius: var(--border-radius-md);
      }

    .page-article .article-content {
      max-width: none;
      /* Full width on mobile for better use of space */

      /* Adjust section spacing on mobile */
    }
      .page-article .article-content >.article-header-section {
        max-width: none;
        padding: 0 var(--space-sm);
      }

    .page-article .article-meta {
      flex-direction: row;
      /* Keep horizontal on mobile for compactness */
      gap: var(--space-xs);
      margin-bottom: var(--space-md);
      flex-wrap: wrap;
      justify-content: center;

      /* Make reading time more compact on mobile */

      /* Better mobile layout for meta info */
    }
      .page-article .article-meta .article-reading-time {

        /* Hide the "min read" text, keep only the number and emoji */


      }
        .page-article .article-meta .article-reading-time span:not([aria-hidden]) {
          display: none;
          /* Hide "min read" text */
        }
      .page-article .article-meta .article-author-mini {
        order: -1;
        /* Author first on mobile */
        margin-bottom: 0;
      }

    .page-article .article-title {
      font-size: max(1.5rem, min(8vw, 2.5rem));
      line-height: 1.1;
      margin: var(--space-lg) 0;
      padding: 0 var(--space-xs);
    }

    .page-article .article-excerpt {
      font-size: max(var(--font-size-base), min(4vw, var(--font-size-lg)));
      text-align: center;
      margin-bottom: var(--space-lg);
      padding: 0 var(--space-sm);
    }

      .page-article .article-excerpt::before {
        display: none;
        /* Hide decorative quote on mobile */
      }

    .page-article .article-author-mini {
      order: 2;
      /* Author goes below meta details on mobile */
    }

    .page-article .article-featured-image-section {
      margin: var(--space-xl) auto var(--space-lg);
      padding: 0;

    }

    .page-article .article-featured-image {
      border-radius: var(--border-radius-md);
      box-shadow: var(--elevation-1);
    }

    .page-article .article-body {
      font-size: calc(var(--font-size-base) * 1.05);
      /* Slightly larger on mobile */
      line-height: 1.8;
      /* More generous line height for mobile reading */
    }

      .page-article .article-body p {
        margin-bottom: var(--space-md);
        /* Tighter spacing on mobile */
      }

      .page-article .article-body h1 {
        font-size: var(--font-size-lg);
        margin: var(--space-xl) 0 var(--space-md);
        padding-top: var(--space-md);
      }

      .page-article .article-body h2 {
        font-size: calc(var(--font-size-base) * 1.2);
        margin: var(--space-lg) 0 var(--space-sm);
      }
  }
@media (max-width: 640px) {
.page-article {

    /* Make reading time extra compact on small screens */

}
    .page-article .article-main {
      padding: 0 var(--space-sm);
    }

    .page-article .article-header-section {
      padding: var(--space-md) 0;
    }

    .page-article .article-date,
    .page-article .article-reading-time,
    .page-article .article-category {
      font-size: calc(var(--font-size-xs) * 0.85);
      /* Slightly smaller */
      padding: calc(var(--space-xs) * 0.6) calc(var(--space-xs) * 0.8);
      /* More compact padding */
    }
    .page-article .article-reading-time {
      /* Keep only essential info */
      white-space: nowrap;
    }

    .page-article .article-category {
      border-radius: var(--border-radius-sm);
    }

    .page-article .article-title {
      font-size: max(calc(var(--font-size-lg) + var(--space-xs)), min(7vw, calc(var(--font-size-xl) + var(--space-lg))));
    }
  }
.page-article .date-and-author-box,
  .page-article .date-and-autohr-box {
    margin-bottom: 2em;
    font-weight: 300;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 1.8em;
    line-height: 1.6em;
  }
.page-article .date-and-author-box a, .page-article .date-and-autohr-box a {
      color: inherit;
      -webkit-text-decoration: none;
      text-decoration: none;
    }
.page-article .date-and-author-box a:hover, .page-article .date-and-autohr-box a:hover {
        color: var(--color-primary);
      }
.page-article .image-caption,
  .page-article .caption,
  .page-article .article-body figcaption {
    font-weight: 300;
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    margin-top: -2rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.8;
  }
.page-article .article-body figure {
    margin: 0;
  }
.page-article .article-body figure img {
      margin: 3rem 0;
      display: block;
    }
.page-article .article-body .copy,
  .page-article #copy {
    box-sizing: border-box;
    display: block;

    /* Direct child images and overflow images */
  }
.page-article .article-body .copy ul, .page-article #copy ul {
      font-weight: 300;
      margin-left: 1.6em;
      padding-left: 0.4em;
    }
.page-article .article-body .copy ul li, .page-article #copy ul li {
        list-style-position: outside;
        list-style-type: square;
        margin-bottom: var(--space-xs);
      }
.page-article .article-body .copy p,
    .page-article .article-body .copy ul,
    .page-article #copy p,
    .page-article #copy ul {
      font-size: 1.1rem;
      line-height: 2;
    }
.page-article .article-body .copy>img,
    .page-article .article-body .copy>.overflow-image,
    .page-article #copy>img,
    .page-article #copy>.overflow-image {
      margin: 3rem 0;
      display: block;
    }
@media (max-width: 768px) {
.page-article .article-body .copy,
  .page-article #copy {
      padding: 0 var(--space-md)
  }
    }
@media (min-width: 768px) {
.page-article .article-body .copy,
  .page-article #copy {
      padding: 0 2rem;
      font-size: 1.2rem
  }
    }
@media (min-width: 1024px) {
.page-article .article-body .copy,
  .page-article #copy {
      margin: 0 auto;
      padding: 0;
      max-width: calc(var(--container-width) - 2rem);
      box-sizing: border-box

      /* Wider breakout images for larger screens */
  }
      .page-article .article-body .copy>img,
      .page-article .article-body .copy>.overflow-image,
      .page-article .article-body .copy figure,
      .page-article #copy>img,
      .page-article #copy>.overflow-image,
      .page-article #copy figure {
        min-width: 130%;
        max-width: 130%;
        transform: translate(-11%, 0);
      }

        .page-article .article-body .copy>img.small, .page-article .article-body .copy>.overflow-image.small, .page-article .article-body .copy figure.small, .page-article #copy>img.small, .page-article #copy>.overflow-image.small, .page-article #copy figure.small {
          min-width: 0;
          min-width: initial;
          max-width: 50vh;
          margin: 0 auto;
          display: block;
          transform: none;
        }
    }
.page-article .article-body .card_section {
    width: 150%;
    margin-left: -25%;
    margin-right: -25%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
.page-article .article-body .card_section img {
      margin: 0;
      border-radius: 0;
    }
@media (max-width: 1024px) {
.page-article .article-body .card_section {
      width: 130%;
      margin-left: -15%;
      margin-right: -15%
  }
    }
@media (max-width: 768px) {
.page-article .article-body .card_section {
      width: 100%;
      margin-left: 0;
      margin-right: 0;
      overflow-x: auto;
      justify-content: flex-start
  }
    }
.page-article .article-body .card {
    background-color: var(--color-surface);
    border-radius: var(--border-radius-md);
    box-shadow: var(--elevation-1);
    padding: 1rem 3.2%;
    overflow: hidden;
    margin-bottom: 1rem;
    width: 25%;
    max-width: none;
    max-width: initial;
    list-style: none;
    box-sizing: border-box;
  }
.page-article .article-body .card:nth-child(1n) {
      margin-left: 3%;
    }
@media (max-width: 1024px) {
.page-article .article-body .card {
      width: 30%
  }
    }
@media (max-width: 768px) {
.page-article .article-body .card {
      width: 45%
  }
    }
@media (max-width: 480px) {
.page-article .article-body .card {
      width: 95%;
      margin-left: 2.5%
  }
    }
.page-article .article-body .card h3 {
      margin-top: var(--space-sm);
      font-weight: 500;
      margin-bottom: 0;
      font-size: calc(var(--font-size-base) * 1.1);
    }
.page-article .article-body .card p,
    .page-article .article-body .card ul {
      font-size: var(--font-size-sm);
    }
.page-article .article-body .card video {
      max-width: 100%;
      box-sizing: border-box;
      border-radius: var(--border-radius-sm);
    }
.page-article .article-body .no_padding {
    flex-wrap: nowrap;
    display: flex;
  }
@media (max-width: 768px) {
.page-article .article-body .no_padding {
      overflow: auto;
      width: calc(100vw - 2rem);
      margin-left: calc(50% - 50vw + 1rem);
      padding: 1em 0
  }
    }
.page-article .article-body .no_padding .card {
      padding: 0;
      width: inherit;
      line-height: 0;
      margin: 0 0.7em;
    }
.page-article .article-body .no_padding .card img {
        border-radius: 0;
        width: 100%;
      }
@media (max-width: 768px) {
.page-article .article-body .no_padding .card {
        min-width: 80vw
    }
      }
.page-article .article-body .wrapper-fullwidth {
    margin-top: 3rem;
    width: 100%;
  }
.page-article .article-body img.small {
    min-width: 0;
    min-width: initial;
    max-width: 50vh;
    margin: 0 auto;
    display: block;
    transform: none;
  }
.page-article .article-body video {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
    margin: var(--space-xl) 0;
  }
/* === assets/css/pages/article-author.css === */
/* Article Author - scoped, tokenized, nested */
.page-article .article-author-section {
    max-width: var(--container-width);
    padding: var(--space-lg) var(--space-lg);
    background: transparent;
    background: var(--author-bg, transparent);
    display: flex;
    gap: 2rem;
  }
.page-article .article-author-section .author-name {
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    margin-top: 0;
    margin-bottom: var(--space-sm);
  }
.page-article .article-author-section .author-bio {
    color: var(--color-text-secondary);
    line-height: var(--line-height-base);
  }
@media (max-width: 600px) {
    .page-article .article-author-section { padding: 0 var(--space-sm); margin: var(--space-lg) auto; }
    .page-article .article-author-section .author-name { font-size: var(--font-size-md); margin-bottom: var(--space-xs); }
    .page-article .article-author-section .author-bio { font-size: var(--font-size-sm); }
  }
/* Dark mode flips background via token */
html.dark .page-article { --author-bg: linear-gradient(to bottom, transparent 0%, var(--color-surface-dark-gradient, rgba(26,29,35,0.8)) 100%); }
/* === assets/css/pages/article-engagement.css === */
/* === assets/css/pages/article-comments.css === */
/* Article Comments - scoped, tokenized, nested */
.page-article .article-comments-section {
    max-width: var(--container-width);
    margin: var(--space-xl) auto;
    padding: 0 var(--space-lg);
  }
.page-article .article-comments .comments-title {
      margin-bottom: var(--space-lg);
    }
.page-article .article-comments .comment-author { color: var(--color-text-primary); font-weight: 600; }
.page-article .article-comments .comment-date { color: var(--color-text-secondary); font-size: var(--font-size-sm); }
.page-article .article-comments .comment-content { color: var(--color-text-primary); line-height: var(--line-height-base); margin: var(--space-sm) 0; }
@media (max-width: 600px) {
    .page-article .article-comments-section { padding: 0 var(--space-sm); margin: var(--space-lg) auto; }
  }
/* === assets/css/pages/news.css === */
/* News page styles using modern CSS nesting, fixed structure */
.page-news {
    /* Theme tokens for the page (allow DS to override via vars) */
    --news-accent: var(--accent-contently, #36c9f0);
    --news-border-color: var(--shade-200, #ecedf0);
    --news-surface-bg: var(--color-background, #fff);
    --news-surface-alt-bg: var(--color-surface, #f8f9fa);
    --news-card-gradient-start: var(--news-surface-alt-bg);
    --news-card-gradient-end: var(--news-surface-bg);
}
.page-news .news-main {
    padding: var(--space-xl) var(--space-md);
    max-width: 1200px;
    max-width: var(--container-width-big, 1200px);
    margin: 0 auto;
}
.page-news .news-header { text-align: center; margin-bottom: var(--space-xl); }
/* Typography for the title and subtitle should come from utilities (e.g., .hl-24, .body-16) */
.page-news .news-subtitle { max-width: 600px; margin: 0 auto; }
.page-news .news-filters { margin-bottom: var(--space-xl); text-align: center; }
.page-news .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}
/* Consolidated button/link chip styles (using DS tokens) */
.page-news :where(.filter-button, .pagination-link) {

}
.page-news :where(.filter-button, .pagination-link):hover {

}
.page-news :where(.filter-button, .pagination-link).active {

}
.page-news .filter-button { padding: var(--space-xs) var(--space-md); color: var(--color-text-secondary); }
.page-news .articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    gap: var(--space-lg, 2rem);
}
.page-news .article-card {
    display: flex;
    gap: 2rem;
    gap: var(--space-lg, 2rem);
    align-items: flex-start;
    padding: 1.5rem 0;
    padding: var(--space-md, 1.5rem) 0;
    border-bottom: 1px solid var(--news-border-color);
    transition: transform .2s ease;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: inherit;
}
.page-news .article-card:hover { transform: translateY(-2px); }
.page-news .article-card:last-child { border-bottom: none; }
.page-news .article-card .article-image {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    overflow: hidden;
    background: #ecedf0;
    background: var(--shade-200, #ecedf0);
    order: 2;
}
.page-news .article-card .article-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform .3s;
}
.page-news .article-card:hover .article-image img { transform: scale(1.05); }
.page-news .article-link { display: contents; -webkit-text-decoration: none; text-decoration: none; color: inherit; }
.page-news .article-content { flex: 1; min-width: 0; order: 1; }
.page-news .article-date { font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.page-news .article-title {
    font-size: var(--type-hl-18-size);
    line-height: var(--type-hl-18-lh);
    font-family: var(--type-family-headline);
    margin: 0 0 var(--space-xs) 0;
    color: var(--color-text-primary);
    transition: color .2s ease;
}
.page-news .article-card:hover .article-title { color: var(--news-accent); }
.page-news .article-excerpt {
    font-size: var(--type-body-14-size);
    color: var(--color-text-secondary);
    line-height: var(--type-body-14-lh);
    margin: 0 0 var(--space-xs) 0;
    font-family: var(--type-family-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}
.page-news .article-author {
    color: var(--news-accent);
    font-weight: 600;
    font-size: var(--type-body-14-size);
    font-family: var(--type-family-body);
}
.page-news .news-empty { text-align: center; padding: var(--space-xl) var(--space-md); max-width: 600px; margin: 0 auto; }
.page-news .empty-title { margin-bottom: var(--space-sm); color: var(--color-text-primary); }
.page-news .empty-message { color: var(--color-text-secondary); }
.page-news .empty-link { color: var(--news-accent); -webkit-text-decoration: none; text-decoration: none; font-weight: 600; }
.page-news .empty-link:hover { -webkit-text-decoration: underline; text-decoration: underline; }
.page-news .pagination { margin-top: var(--space-xl); text-align: center; }
.page-news .pagination .pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.page-news .pagination .pagination-item { margin: 0; }
.page-news .pagination .pagination-link { min-width: 44px; height: 44px; }
.page-news .development-notification {
    padding: var(--space-md) 0;
    background: var(--news-surface-alt-bg);
    border-bottom: 1px solid var(--news-border-color);
    margin-bottom: var(--space-lg);
}
.page-news .alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    background: var(--news-surface-bg);
    border: 1px solid var(--news-border-color);
}
.page-news .alert-info { border-left: 4px solid var(--news-accent); }
.page-news .alert-icon { font-size: var(--type-hl-18-size); flex-shrink: 0; }
.page-news .alert-title { font-size: var(--type-hl-16-size); line-height: var(--type-hl-16-lh); font-family: var(--type-family-headline); margin: 0 0 .25rem; color: var(--color-text-primary); }
.page-news .alert-message { font-size: var(--type-body-14-size); color: var(--color-text-secondary); font-family: var(--type-family-body); margin: 0; line-height: var(--type-body-14-lh); }
/* Active Filters */
.page-news .active-filters {
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--news-surface-alt-bg);
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    border: 1px solid var(--news-border-color);
}
.page-news .filter-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); }
.page-news .filter-tag {
    display: flex; align-items: center; gap: var(--space-xs);
    background: #36c9f0;
    background: var(--color-primary, #36c9f0); color: #fff;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 9999px;
    border-radius: var(--border-radius-full, 9999px);
    font-size: var(--type-body-14-size); font-family: var(--type-family-body); font-weight: 600;
}
.page-news .filter-label { opacity: .8; }
.page-news .filter-value { font-weight: 700; }
.page-news .filter-remove {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; background: rgba(255,255,255,.2);
    border-radius: 50%; color: #fff; -webkit-text-decoration: none; text-decoration: none; font-weight: bold; font-size: 14px; line-height: 1;
    transition: all .2s ease; margin-left: var(--space-xs);
}
.page-news .filter-remove:hover { background: rgba(255,255,255,.3); transform: scale(1.1); }
.page-news .clear-all-filters {
    padding: var(--space-xs) var(--space-sm);
    background: transparent; color: var(--color-text-secondary);
    border: 1px solid var(--news-border-color);
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px);
    -webkit-text-decoration: none;
    text-decoration: none; font-size: var(--type-body-14-size); font-family: var(--type-family-body); font-weight: 600;
    transition: all .2s ease;
}
.page-news .clear-all-filters:hover { background: #dc3545; background: var(--color-danger, #dc3545); color: #fff; border-color: #dc3545; border-color: var(--color-danger, #dc3545); }
/* Medium Articles Hint Section */
.page-news .medium-articles-hint { margin: var(--space-xl) 0; padding: var(--space-lg) 0; }
.page-news .medium-hint-card {
    display: flex; align-items: center; gap: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--news-card-gradient-start) 0%, var(--news-card-gradient-end) 100%);
    border: 1px solid var(--news-border-color);
    border-radius: 12px;
    border-radius: var(--border-radius-lg, 12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all .3s ease; max-width: 900px; margin: 0 auto;
}
.page-news .medium-hint-content { flex: 1; min-width: 0; }
.page-news .medium-hint-title { margin: 0 0 var(--space-xs); color: var(--color-text-primary); }
.page-news .medium-hint-description { font-size: var(--type-body-14-size); color: var(--color-text-secondary); font-family: var(--type-family-body); line-height: var(--type-body-14-lh); margin: 0 0 var(--space-md); }
.page-news .medium-hint-link {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md); background: #000; color: #fff; -webkit-text-decoration: none; text-decoration: none;
    border-radius: 8px;
    border-radius: var(--border-radius-md, 8px); font-family: var(--type-family-body); font-weight: 600; font-size: var(--type-body-14-size); line-height: var(--type-body-14-lh);
    transition: all .3s ease;
}
.page-news .medium-hint-link .medium-icon { width: 16px; height: 16px; }
.page-news .medium-hint-link .external-icon { width: 14px; height: 14px; transition: transform .3s ease; }
/* Responsive: phones */
@media (max-width: 480px) {
    .page-news .article-title { font-size: var(--type-hl-16-size); line-height: var(--type-hl-16-lh); }
    .page-news .article-image { height: 150px; }
    .page-news .filter-button { white-space: nowrap; }
    .page-news .medium-articles-hint { margin: var(--space-lg) 0; }
    .page-news .medium-hint-card { padding: var(--space-sm); }
    .page-news .medium-hint-title { font-size: var(--type-hl-16-size); line-height: var(--type-hl-16-lh); }
}
/* Responsive: tablets */
@media (max-width: 768px) {
    .page-news .news-main { }

        .page-news .filter-buttons {
            justify-content: flex-start; overflow-x: auto; padding-bottom: var(--space-xs);
        }
    .page-news .filter-buttons::-webkit-scrollbar { height: 3px; }
    .page-news .filter-buttons::-webkit-scrollbar-track { background: #f5f6f7; background: var(--shade-100, #f5f6f7); }
    .page-news .filter-buttons::-webkit-scrollbar-thumb { background: #c5cad4; background: var(--shade-300, #c5cad4); border-radius: 2px; }

    .page-news .articles-grid { gap: var(--space-md); }
    .page-news .article-card { flex-direction: column; gap: var(--space-sm); text-align: center; }
    .page-news .article-image { width: 100%; max-width: 300px; height: 180px; order: 1; margin: 0 auto; }
    .page-news .article-content { order: 2; }
    .page-news .article-meta { justify-content: center; }
    .page-news .pagination .pagination-list { flex-wrap: wrap; }
    .page-news .active-filters { margin-bottom: var(--space-lg); padding: var(--space-sm); }
    .page-news .filter-tags { gap: var(--space-xs); }
    .page-news .filter-tag { font-size: var(--type-body-12-size); padding: calc(var(--space-xs) * .75) var(--space-xs); }
    .page-news .clear-all-filters { font-size: var(--type-body-12-size); padding: calc(var(--space-xs) * .75) var(--space-xs); }
    .page-news .medium-hint-card { flex-direction: column; text-align: center; gap: var(--space-md); padding: var(--space-md); }
    .page-news .medium-hint-icon { align-self: center; }
}
/* Dark mode via explicit .dark class: flip variables */
html.dark .page-news {
    --news-border-color: var(--shade-200, #292e38);
    --news-surface-bg: var(--color-surface, #1a1d23);
    --news-surface-alt-bg: var(--shade-100, #212730);
    --news-card-gradient-start: var(--news-surface-bg);
    --news-card-gradient-end: var(--news-surface-alt-bg);
}
/* Respect system dark when site isn't forced light */
@media (prefers-color-scheme: dark) {
    html:not(.light) .page-news {
        --news-border-color: var(--shade-200, #292e38);
        --news-surface-bg: var(--color-surface, #1a1d23);
        --news-surface-alt-bg: var(--shade-100, #212730);
        --news-card-gradient-start: var(--news-surface-bg);
        --news-card-gradient-end: var(--news-surface-alt-bg);
    }
}
/* === components/breadcrumb/breadcrumb.css === */
/**
 * Global Breadcrumb Component
 * Minimal breadcrumb navigation aligned with header container
 */
.breadcrumb-nav {
  /* Position directly under header */
  padding: 1rem 1rem !important;
  /* Match header padding */
  /* display: none; */
  /* position: absolute; */
  max-width: 1600px;
}
@media (max-width: 600px) {
.breadcrumb-nav {
    padding: var(--space-xs) 1.5rem
    /* Match header mobile padding */
}
  }
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--font-secondary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: .85rem;
  /* Minimal size */
  color: var(--shade-300);
  font-weight: 400;
}
.breadcrumb-list li {
    font-family: inherit;
  }
.breadcrumb-item {
  display: flex;
  align-items: center;
}
.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 4px;
    /* Tighter spacing */
    color: var(--color-text-tertiary);
    font-weight: 300;
    opacity: 0.5;
    /* More subtle separator */
  }
.breadcrumb-link {
  color: var(--shade-300);
  -webkit-text-decoration: none;
  text-decoration: none;
  padding: 1px 2px;
  /* Minimal padding */
  border-radius: 2px;
  transition: color 0.15s ease;
  font-weight: 400;
}
.breadcrumb-link:hover {
    color: var(--shade-200);
    background: transparent;
  }
.breadcrumb-link:focus {
    outline: 1px solid var(--color-primary);
    outline-offset: 1px;
    color: var(--shade-000);
  }
.breadcrumb-current {
  color: var(--color-primary);
  font-weight: 500;
  /* Slightly bolder for current page */
  padding: 1px 2px;
  /* Minimal padding */
}
/* Responsive Design */
@media (max-width: 768px) {
  .breadcrumb-nav {
    margin-top: 0px;
    /* Better spacing from mobile header */
    padding: var(--space-sm) 1.5rem var(--space-xs);
    /* More generous top padding */
    margin-bottom: var(--space-xs);
    /* Add bottom margin for article spacing */
  }

  .breadcrumb-list {
    font-size: 0.8rem;
    /* Slightly larger than before for better readability */
    gap: var(--space-xs);
    /* Better spacing */
  }

  .breadcrumb-item:not(:last-child)::after {
    margin: 0 6px;
    /* Better separator spacing */
  }

  .breadcrumb-link,
  .breadcrumb-current {
    padding: var(--space-xs) 2px;
    /* Better touch targets */
  }

  /* Hide intermediate breadcrumbs on very small screens */
  @media (max-width: 480px) {
    .breadcrumb-nav {
      padding: var(--space-xs) 1rem;
    }

    .breadcrumb-list {
      font-size: 0.75rem;
    }

    .breadcrumb-item:not(:first-child):not(:last-child) {
      display: none;
    }

    .breadcrumb-item:first-child:not(:last-child)::after {
      content: '…';
      margin: 0 6px;
    }
  }
}
/* === components/readingProgress/readingProgress.css === */
/* Reading Progress Component - Reusable */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--accent-green));
  z-index: 999999; /* Highest z-index to ensure it's always above all site elements */
  transition: width 0.1s ease;
  border-radius: 0 2px 2px 0;
  pointer-events: none; /* Ensure it doesn't interfere with other elements */
  opacity: 0; /* Hidden by default */
  visibility: hidden;
}
/* Show reading progress only on article pages */
body.page-article .reading-progress,
body[data-page-type="article"] .reading-progress {
  opacity: 1 !important;
  visibility: visible !important;
}
.reading-progress[data-completed="true"] {
  box-shadow: 0 0 10px var(--accent-green);
}
/* Article-specific reading progress styling */
.article-reading-progress {
  background: linear-gradient(90deg, var(--color-primary), var(--accent-green));
}
.article-reading-progress[data-completed="true"] {
  background: linear-gradient(90deg, var(--accent-green), #ffd700);
  background: linear-gradient(90deg, var(--accent-green), var(--accent-yellow, #ffd700));
  box-shadow: 0 0 15px var(--accent-green);
}
/* === components/floatingEngagement/floatingEngagement.css === */
/**
 * Clean Floating Engagement Bar - Zero Layout Shifts
 * 
 * Completely rebuilt for stability and performance
 * No animations, no transforms, no layout shifts
 * 
 * @version 2.0.0
 * @author RAIKEN Team
 * @created 2025-08-16
 */
/* Container - Top level fixed positioning outside all containers */
.floating-engagement-bar {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    z-index: 10000; /* Above header (1000) and site-container (2) */
    padding: .5rem;
    /* Stable background driven by tokens */
    background: var(--color-surface-alt); /* Safari support */
    backdrop-filter: blur(16px);
    border-radius: 20rem;
    border: 1px solid var(--color-border);
    
    /* Stable shadow via elevation token */
    box-shadow: var(--elevation-2);
    
    /* Initial state - hidden */
    opacity: 0;
    visibility: hidden;
    
    /* Smooth transitions using tokens */
    transition: opacity var(--transition), visibility var(--transition);
    
    /* Ensure top-level positioning - not affected by any container */
    position: fixed !important;
    /* Prevent container transforms from affecting positioning */
    transform-style: preserve-3d;
    /* Ensure it's always rendered on top */
    isolation: isolate;
}
.floating-engagement-bar.visible {
    opacity: 1;
    visibility: visible;
    /* NO transform changes - prevents layout shifts */
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
    .floating-engagement-bar {
        background: var(--color-surface-alt);
        border: 1px solid var(--color-border);
    }
}
/* Button container - stable layout */
.floating-engagement-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
/* Buttons - completely stable dimensions */
.engagement-btn {
    /* FIXED DIMENSIONS - perfectly centered sizing */
    width: 3rem;
    height: 3rem;
    /* Stable positioning */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Stable styling */
    border: none;
    border-radius: 20px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    
    /* Delightful micro-interactions - no layout shifts */
    transition: all var(--transition);
    
    /* Layout containment - critical for preventing shifts */
    contain: layout style;
    overflow: visible; /* Allow badges to show outside button */
    
    /* Prevent any layout changes */
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
    /* Subtle hover preparation */
    will-change: background-color, color, box-shadow;
}
/* Hover states - delightful micro-interactions */
.engagement-btn:hover {
    background: var(--color-surface);
    color: var(--accent-red);
    transform: translateY(-1px);
    box-shadow: var(--elevation-1);
}
.engagement-btn:active {
    background: var(--color-surface-alt);
    transform: translateY(0);
    box-shadow: var(--elevation-1);
}
/* Active states with delightful animations */
.engagement-btn.liked {
    color: var(--accent-red);
    background: var(--color-surface);
    animation: likeButton var(--transition-bounce);
}
.engagement-btn.liked:hover {
    background: var(--color-surface) !important;
    transform: translateY(-1px);
    box-shadow: var(--elevation-1);
}
/* Delightful like button animation */
@keyframes likeButton {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* Icons - stable sizing with subtle animations */
.engagement-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: currentColor;
    transition: transform var(--transition);
}
.engagement-btn:hover svg {
    transform: scale(1.1);
}
.engagement-btn.liked svg {
    animation: heartBeat 0.8s ease-in-out;
}
/* Heart beat animation for liked state */
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.15); }
}
/* Count badges - COMPLETELY STABLE positioning */
.engagement-count {
    /* FIXED POSITION - better balanced positioning */
    position: absolute;
    top: -6px;
    right: -6px;
    
    /* FIXED DIMENSIONS - prevents layout shifts */
    min-width: 16px;
    height: 16px;
    
    /* Stable styling */
    color: var(--shade-100);
    font-size: 9px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 3px;
    background: var(--accent-red);
    font-family: Arial, sans-serif;
    font-family: var(--font-secondary, Arial, sans-serif);
    
    /* Initial hidden state - PREVENT FLICKERING */
    opacity: 0;
    visibility: hidden;
    display: none;
    transform: scale(0); /* For delightful entrance animation */
    
    /* Layout containment - critical */
    contain: layout style;
    
    /* Prevent text reflow */
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    
    /* Delightful micro-animation */
    transition: all var(--transition-bounce);
    
    /* Force stable positioning and prevent flickering */
    z-index: 10;
    pointer-events: none;
}
/* Visible state - delightful entrance animation */
.engagement-count.visible {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: scale(1);
    animation: badgeAppear var(--transition-bounce);
}
/* Badge appearance animation */
@keyframes badgeAppear {
    0% { 
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2) rotate(-90deg);
    }
    100% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}
/* Accessibility - no layout changes */
.engagement-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
/* Reduced motion - respect user preferences */
@media (prefers-reduced-motion: reduce) {
    .floating-engagement-bar,
    .engagement-btn,
    .engagement-btn svg,
    .engagement-count {
        transition: none !important;
        animation: none !important;
    }
    
    .engagement-btn:hover {
        transform: none !important;
    }
}
/* Mobile optimizations - maintain stable layout */
@media (max-width: 768px) {
    .floating-engagement-bar {
        bottom: 1rem;
    }
    
    .floating-engagement-actions {
        gap: 1rem;
    }
    
}
/* Clean unified entrance animation for the entire bar */
.floating-engagement-bar.visible {
    /* Unified entrance animation using token timing */
    animation: barBounceIn var(--transition-bounce);
}
/* Remove staggered button animations */
.floating-engagement-bar.visible .engagement-btn {
    /* No individual animations - let the bar animate as a whole */
    animation: none;
}
.floating-engagement-bar.visible .engagement-btn:nth-child(1),
.floating-engagement-bar.visible .engagement-btn:nth-child(2), 
.floating-engagement-bar.visible .engagement-btn:nth-child(3) {
    animation: none;
    animation-delay: 0;
}
/* Clean bounce-in animation for the entire bar */
@keyframes barBounceIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.3);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-5px) scale(1.05);
    }
    70% {
        transform: translateX(-50%) translateY(2px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}
/* Optional: Very subtle floating animation (reduced from original) */
.floating-engagement-bar.visible.floating {
    animation: barBounceIn var(--transition-bounce), 
               gentleFloat 6s ease-in-out infinite 0.5s;
}
@keyframes gentleFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px) scale(1); }
    50% { transform: translateX(-50%) translateY(-1px) scale(1); }
}
/* Success feedback animation */
.engagement-btn.success-feedback {
    animation: successPulse var(--transition);
}
@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* Sparkle effect for special interactions */
.engagement-btn.sparkle::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 1.5s ease-in-out infinite;
}
@keyframes sparkle {
    0%, 100% { 
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}
/* === components/modernSheet/modernSheet.css === */
/**
 * Modern Sheet Component Styles
 * 
 * Mobile-inspired bottom sheet with modern animations
 * Clean, minimal design following design system
 * 
 * @version 1.0.0
 * @author RAIKEN Team
 * @created 2025-08-16
 */
/* Base overlay - Top level positioning above all components */
.modern-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001; /* Above floating engagement bar (10000) */
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    /* Default backdrop - can be overridden by inline styles from PHP */
    background: var(--overlay-backdrop); /* Safari support */
    backdrop-filter: blur(var(--backdrop-blur));
    
    /* Only transition when state changes - not continuous */
    transition: opacity var(--transition), visibility var(--transition);
}
/* Remove the comment-sheet specific rule since we're using settings-based approach */
.modern-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
/* Sheet container */
.modern-sheet {
    position: absolute;
    background: var(--color-bg);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    box-shadow: var(--elevation-2);
    
    /* Layout - constrain width to content width */
    max-height: 80vh;
    width: 100%;
    max-width: min(var(--container-width), calc(100vw - (2 * var(--space-sm)))); /* Match typical content width */
    margin: 0 auto; /* Center the sheet */
    display: flex;
    flex-direction: column;
    
    /* Initial hidden state */
    transform: translateY(100%);
    /* Remove continuous transition - only animate during state changes */
    
    /* Prevent content overflow */
    overflow: hidden;
}
/* Position variants */
.modern-sheet--bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}
/* Add invisible extension below bottom sheets to prevent gap during bounce - only when active */
.modern-sheet-overlay.active .modern-sheet--bottom::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: var(--color-bg);
    pointer-events: none;
    z-index: -1;
}
.modern-sheet--center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    max-height: 90vh;
}
/* Size variants */
.modern-sheet--small {
    max-height: 40vh;
}
.modern-sheet--medium {
    max-height: 60vh;
}
.modern-sheet--large {
    max-height: 80vh;
}
.modern-sheet--full {
    max-height: 95vh;
    border-radius: var(--border-radius-lg);
}
/* Animation variants */
.modern-sheet--bottom.modern-sheet--slide {
    /* Bottom slide: maintain horizontal centering, slide from bottom */
    transform: translateX(-50%) translateY(100%);
}
.modern-sheet--fade {
    transform: translateY(0);
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.modern-sheet--scale {
    transform: translateY(0) scale(0.95);
    opacity: 0;
    transition: transform var(--transition-bounce), opacity var(--transition-bounce);
}
/* Smooth bounce animation keyframes for organic feel */
@keyframes modalBounceIn {
    0% {
        transform: translateX(-50%) translateY(100%);
    }
    70% {
        transform: translateX(-50%) translateY(-8px);
    }
    85% {
        transform: translateX(-50%) translateY(3px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}
@keyframes modalBounceInCenter {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, -50%) scale(1.02);
        opacity: 0.9;
    }
    80% {
        transform: translate(-50%, -50%) scale(0.99);
        opacity: 0.98;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
/* Active states - specific combinations to prevent transform conflicts */
.modern-sheet-overlay.active .modern-sheet--bottom {
    animation: modalBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    /* Force composite layer during animation to prevent layout shifts */
    will-change: transform;
    transform: translateZ(0);
}
.modern-sheet-overlay.active .modern-sheet--bottom.modern-sheet--slide {
    /* Ensure bottom slide sheets animate correctly with smooth bounce */
    animation: modalBounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform;
    transform: translateZ(0);
}
.modern-sheet-overlay.active .modern-sheet--center {
    animation: modalBounceInCenter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform;
    transform: translateZ(0);
}
/* Reset will-change after animation completes to prevent continuous layers */
.modern-sheet-overlay.active .modern-sheet {
    animation-fill-mode: forwards;
}
.modern-sheet {
    /* Clear will-change when not animating */
    will-change: auto;
}
.modern-sheet-overlay.active .modern-sheet--fade {
    opacity: 1;
}
.modern-sheet-overlay.active .modern-sheet--scale {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* Dragging state - optimize for performance */
.modern-sheet.dragging {
    will-change: transform;
    /* Use composite layer to prevent layout shifts during drag */
    transform: translateZ(0);
}
/* Handle for drag-to-dismiss */
.modern-sheet__handle {
    width: 40px;
    height: 4px;
    background: var(--color-border);
    border-radius: 2px;
    margin: calc(var(--space-sm) * 0.75) auto var(--space-xs);
    flex-shrink: 0;
    cursor: grab;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    position: relative;
    z-index: 1;
}
.modern-sheet__handle:hover {
    background: var(--color-text-secondary);
    transform: scaleY(1.5);
    width: 60px;
}
.modern-sheet__handle:active {
    cursor: grabbing;
    background: var(--color-primary);
    transform: scaleY(2);
}
.modern-sheet.dragging .modern-sheet__handle {
    background: var(--color-primary);
    transform: scaleY(2);
}
/* Handle accessibility - add visual hint */
.modern-sheet__handle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 12px;
    background: transparent;
    transition: background-color var(--transition-fast);
}
.modern-sheet__handle:focus-visible::before {
    background: var(--focus-ring-color);
    outline: 2px solid var(--color-primary);
}
/* Touch-friendly drag hint */
.modern-sheet__handle::after {
    content: 'Drag to close';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--color-text-secondary);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
}
.modern-sheet__handle:hover::after {
    opacity: 1;
}
@media (max-width: 768px) {
    .modern-sheet__handle::after {
        display: none;
    }
}
/* Content container */
.modern-sheet__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 var(--space-md) var(--space-md);
}
/* Header */
.modern-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0 var(--space-md);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}
.modern-sheet__title {
    font-weight: 600;
    margin: 0;
}
.modern-sheet__close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.modern-sheet__close:hover {
    background: var(--color-surface);
    color: var(--color-text-primary);
}
.modern-sheet__close svg {
    width: 18px;
    height: 18px;
}
/* Body */
.modern-sheet__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}
.modern-sheet__body::-webkit-scrollbar {
    width: 6px;
}
.modern-sheet__body::-webkit-scrollbar-track {
    background: transparent;
}
.modern-sheet__body::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}
.modern-sheet__body::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}
/* Comment form specific styles */
.comment-form {
    margin-bottom: var(--space-lg);
}
.comment-form__fields {
    margin-bottom: var(--space-md);
}
/* Form styling */
.form-group {
    margin-bottom: var(--space-sm);
    position: relative;
}
.form-field {
    width: 100%;
    padding: calc(var(--space-sm) - 2px) var(--space-sm);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: var(--type-input-13-size);
    color: var(--color-text-primary);
    background: var(--color-bg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
    box-sizing: border-box;
    font-family: inherit;
}
.form-field:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--focus-ring-color);
}
.form-field:invalid:not(:-moz-placeholder) {
    border-color: var(--accent-red);
}
.form-field:invalid:not(:placeholder-shown) {
    border-color: var(--accent-red);
}
.form-field--textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
    font-family: inherit;
}
.field-hint {
    display: block;
    margin-top: calc(var(--space-xs) + 2px);
    font-size: var(--type-caption-10-size);
    color: var(--color-text-secondary);
    line-height: 1.4;
}
/* Email field animation */
#email-field-group {
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.comment-form__actions {
    display: flex;
    gap: calc(var(--space-sm) * 0.75);
    justify-content: flex-end;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
}
/* Comments container */
.comments-container {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
}
.comments-header {
    margin-bottom: var(--space-sm);
}
.comments-count {
    font-weight: 600;
    margin: 0;
}
.comments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space-sm) * 0.75);
    padding: var(--space-lg) var(--space-sm);
    color: var(--color-text-secondary);
}
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
/* Comments toggle button */
.comments-toggle {
    width: 100%;
    margin-top: var(--space-sm);
    padding: calc(var(--space-sm) * 0.75) var(--space-sm);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--type-body-14-size);
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.comments-toggle:hover {
    background: var(--color-surface);
    border-color: var(--color-text-secondary);
    color: var(--color-text-primary);
}
.comments-toggle .toggle-icon {
    transition: transform 0.2s ease;
}
.comments-toggle:hover .toggle-icon {
    transform: scale(1.1);
}
/* Hidden comments animation */
.comment-hidden {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    pointer-events: none;
}
.comments-list.expanded .comment-hidden {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
/* Comment items with better spacing */
.comment-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    opacity: 1;
    transform: translateY(0);
    transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}
.comment-item:last-of-type {
    border-bottom: none;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--space-xs) + 2px);
}
.comment-author {
    font-weight: 600;
    color: var(--color-text-primary);
}
.comment-date {
    color: var(--color-text-secondary);
}
.comment-content {
    color: var(--color-text-primary);
    line-height: 1.6;
    word-wrap: break-word;
}
/* New comment highlight */
.comment-item.new-comment {
    background: linear-gradient(90deg, var(--color-surface) 0%, transparent 100%);
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-sm);
    animation: newCommentGlow 3s ease-out forwards;
}
@keyframes newCommentGlow {
    0% {
        background: var(--color-surface);
        box-shadow: var(--shadow-small);
    }
    100% {
        background: transparent;
        box-shadow: none;
        border-left-color: transparent;
    }
}
/* Empty states */
.comments-empty,
.comments-error {
    text-align: center;
    color: var(--color-text-secondary);
    font-style: italic;
    padding: var(--space-lg) var(--space-sm);
}
.comments-error {
    color: var(--accent-red);
}
/* Loading state improvements */
.comments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space-sm) * 0.75);
    padding: var(--space-lg) var(--space-sm);
    color: var(--color-text-secondary);
}
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
/* Main article page comment styling */
.article-comments .comment-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}
.article-comments .comment-header {
    margin-bottom: var(--space-sm);
}
.article-comments .comment-author {
    font-weight: 600;
}
.article-comments .comment-content {
    line-height: 1.7;
}
.article-comments .comments-empty {
    text-align: center;
    color: var(--color-text-secondary);
    font-style: italic;
    padding: var(--space-lg) var(--space-sm);
}
/* New comment animation for main page */
.comment-item.new-comment {
    background: var(--color-surface);
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-sm);
    animation: newCommentHighlight 3s ease-out forwards;
}
@keyframes newCommentHighlight {
    0% {
        background: var(--color-surface);
    }
    100% {
        background: transparent;
        border-left-color: transparent;
    }
}
/* Mobile optimizations */
@media (max-width: 768px) {
    .modern-sheet {
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
        max-width: calc(100vw - var(--space-sm)); /* Smaller margins on mobile */
        margin: 0 auto;
    }
    
    .modern-sheet--full {
        max-height: 100vh;
        border-radius: 0;
        max-width: 100vw; /* Full width on mobile for full sheets */
        left: 0;
        right: 0;
        transform: translateY(100%); /* Reset transform for full width */
    }
    
    .modern-sheet-overlay.active .modern-sheet--full {
        transform: translateY(0); /* No horizontal centering for full width */
    }
    
    .modern-sheet__content {
        padding: 0 var(--space-sm) var(--space-sm);
    }
    
    .form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .comment-form__actions {
        flex-direction: column-reverse;
    }
    
}
/* Tablet and small desktop - content-width matching */
@media (min-width: 769px) and (max-width: 1200px) {
    .modern-sheet {
        max-width: min(700px, calc(100vw - 4rem));
    }
}
/* Large desktop - match article content width */
@media (min-width: 1201px) {
    .modern-sheet {
        max-width: var(--container-width); /* Match typical article content width */
    }
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .modern-sheet {
        background: var(--color-bg);
        box-shadow: var(--elevation-2);
    }
    
    .modern-sheet__handle {
        background: var(--color-border);
    }
    
    .modern-sheet__handle:hover {
        background: var(--color-text-secondary);
    }
    
    .form-field {
        background: var(--color-surface);
        border-color: var(--color-border);
        color: var(--color-text-primary);
    }
    
    .form-field:focus {
        border-color: var(--color-primary);
    }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .modern-sheet-overlay,
    .modern-sheet,
    .form-field {
        transition: none !important;
        animation: none !important;
    }
}
/* High contrast mode */
@media (prefers-contrast: high) {
    .modern-sheet {
        border: 2px solid;
    }
    
    .form-field {
        border-width: 3px;
    }

}
/* === components/articleFooter/articleFooter.css === */
/**
 * Medium-Style Article Footer Component
 * 
 * A clean, minimal footer design inspired by Medium's article layout.
 * Features:
 * - Clean engagement buttons with subtle hover effects
 * - Elegant author card with bio and social links
 * - Responsive design that works on all devices
 * - Accessible keyboard navigation
 * - Theme-aware styling (light/dark mode)
 * 
 * @version 1.0.0
 * @author RAIKEN Team
 */
/* Article Footer Container */
.article-footer-section {
    margin-top: var(--space-xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
}
.article-footer {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}
.article-timestamps {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-tertiary);
    font-family: var(--font-secondary);
}
.published-time,
.updated-time {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.8rem;
}
.updated-time {
    font-style: italic;
}
.user-avatar--large-hero {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--color-white);
    box-shadow: var(--elevation-1);
    background: var(--color-surface);
}
.user-avatar--large-hero img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.author-info {
    flex: 1;
    min-width: 0;
}
.author-details {
    margin-top: 0; /* to align with avatar */
}
.author-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 var(--space-xs) 0;
    font-family: var(--font-primary);
}
.author-title {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-family: var(--font-secondary);
    margin: 0 0 var(--space-sm) 0;
    font-style: italic;
}
.author-bio {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    font-family: var(--font-secondary);
    max-width: 60ch;
}
.author-social {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    flex-wrap: wrap;
}
.author-social .social-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    min-height: 32px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .article-footer {
        max-width: none;
        margin: 0 var(--space-md);
    }
  
    .user-avatar--large-hero {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .author-social {
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .article-footer {
        margin: 0 var(--space-sm);
    }
    
   
    .user-avatar--large-hero {
        width: 80px;
        height: 80px;
    }
    
    .author-name {
        font-size: var(--font-size-base);
    }
    
    .author-bio {
        font-size: var(--font-size-sm);
    }
}
html.dark .user-avatar--large-hero {
    border-color: var(--color-surface);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
/* === components/commentSystem/commentSystem.css === */
/* Comment System - Minimal readability-focused styles */
/* Comments Section */
.article-comments {
  max-width: var(--container-width);

}
/* Individual Comment */
.comment {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}
.comment:last-child {
  border-bottom: none;
}
.comment-header {
  margin-bottom: var(--space-sm);
}
/* Comment avatar uses user-avatar component */
.comment .user-avatar {
  margin-right: var(--space-sm);
}
/* JS-rendered comments layout */
.comment .comment-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
}
.comment .comment-avatar { grid-column: 1; }
.comment .comment-body { grid-column: 2; }
/* Clean layout: avatar left, content right */
.comment-item .comment-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: start;
  grid-gap: var(--space-sm);
  gap: var(--space-sm);
}
.comment-item .comment-avatar {
  grid-column: 1;
}
.comment-item .comment-body {
  grid-column: 2;
}
.comment-item .comment-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.comment-item .comment-website {
  color: var(--color-text-secondary);
  -webkit-text-decoration: none;
  text-decoration: none;
}
.comment-item .comment-website:hover {
  color: var(--color-text-primary);
}
.comment-author {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: var(--font-size-base);
}
.comment-time {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  margin-left: var(--space-sm);
}
.comment-text {
  color: var(--color-text-primary);
  line-height: var(--line-height-base);
}
/* Comment Form */
.comment-form {
  margin-bottom: 0;
  margin-bottom: initial;
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
  border: 1px solid var(--color-border);
  font-size: var(--font-size-base);
}
/* Buttons inherit global styles */
/* Load more */
#comments-load-more,
.comments-load-more {
  margin-top: var(--space-md);
}
/* Mobile */
@media (max-width: 640px) {
  .article-comments {
    padding: 0 var(--space-md);
  }
}
/* === sections/timelineArticlesSection/timelineArticlesSection.css === */
/* Timeline Articles Section - Clean Timeline Layout */
.raiken-timeline-section {
    max-width: 1200px;
    max-width: var(--container-width-big, 1200px);
    margin: 0 auto;
    overflow-x: clip;
    /* prevent accidental horizontal scroll */

    /* .section-header-title intentionally inherits defaults */

    /* Timeline Container */
}
.raiken-timeline-section .section-header {

    }
.raiken-timeline-section .section-header-subtitle {

    }
.raiken-timeline-section .timeline-container {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        gap: var(--space-lg, 2rem);


        /* Timeline Item */

        /* Timeline Date Column */

        /* Timeline Content */

        /* Article Image */

    /* Make inner image fill and cover the thumbnail frame */

        /* Article Details */

        /* Inline publication date (used especially on mobile) */

        /* Section Footer */

    /* Use generic .btn component for section footer button */

    }
.raiken-timeline-section .timeline-container .timeline-item {
            display: flex;
            gap: 2rem;
            gap: var(--space-lg, 2rem);
            align-items: flex-start;
            padding: 1.5rem 0;
            padding: var(--space-md, 1.5rem) 0;
            border-bottom: 1px solid #ecedf0;
            border-bottom: 1px solid var(--shade-200, #ecedf0);
            transition: all 0.3s ease;
        }
.raiken-timeline-section .timeline-container .timeline-item:last-child {
            border-bottom: none;
        }
.raiken-timeline-section .timeline-container .timeline-date {
            flex-shrink: 0;
            width: 80px;
            text-align: center;
            color: var(--color-text-secondary);
            font-family: var(--font-secondary);
        }
.raiken-timeline-section .timeline-container .day-of-week {
            /* Typography via utilities (e.g., body-12 uppercase) */
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.25rem;
            font-weight: 500;
            opacity: 0.7;
        }
.raiken-timeline-section .timeline-container .day-number {
            /* Typography via utilities (e.g., hl-24) */
            font-weight: 800;
            color: var(--color-text-primary);
            font-family: var(--font-primary);
        }
.raiken-timeline-section .timeline-container .timeline-date-text,
    .raiken-timeline-section .timeline-container .article-date {
            /* Typography via utilities (e.g., body-12) */
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
.raiken-timeline-section .timeline-container .timeline-content {
            flex: 1;
            display: flex;
            gap: 1.5rem;
            gap: var(--space-md, 1.5rem);
            align-items: flex-start;
        }
.raiken-timeline-section .timeline-container .timeline-image {
            flex-shrink: 0;
            margin-top: 0;
            /* align top edge with title */
            width: 120px;
            height: 90px;
            border-radius: 8px;
            border-radius: var(--border-radius-md, 8px);
            overflow: hidden;
            background: #ecedf0;
            background: var(--shade-200, #ecedf0);
        }
.raiken-timeline-section .timeline-container .timeline-image > img,
    .raiken-timeline-section .timeline-container .timeline-image picture > img {
            width: 100%;
            height: 100%;
            display: block;
            -o-object-fit: cover;
               object-fit: cover;
            -o-object-position: center;
               object-position: center;
            transition: transform 0.3s ease;
        }
.raiken-timeline-section .timeline-container .timeline-item:hover .timeline-image img,
    .raiken-timeline-section .timeline-container .timeline-item:hover .article-image img {
            transform: scale(1.05);
        }
.raiken-timeline-section .timeline-container .timeline-details {
            flex: 1;
            min-width: 0;
            /* Prevents flex item from overflowing */
        }
.raiken-timeline-section .timeline-container .time-ago {
            font-size: 0.75rem;
            font-size: var(--font-size-xs, 0.75rem);
            color: #c5cad4;
            color: var(--shade-300, #c5cad4);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
.raiken-timeline-section .timeline-container .pub-date {
            font-size: 0.8rem;
            font-size: var(--font-size-xs, 0.8rem);
            color: var(--color-text-secondary);
            letter-spacing: 0.2px;
            font-weight: 500;
            margin-bottom: 0.5rem;
            text-transform: none;
        }
.raiken-timeline-section .timeline-container .timeline-title {
            /* Typography via utilities (e.g., hl-18) */
            font-family: var(--font-primary);
            margin: 0 0 0.5rem 0;
            color: var(--color-text-primary);
            max-width: 100%;
            word-wrap: anywhere;
            word-break: break-word;
            hyphens: auto;
        }
.raiken-timeline-section .timeline-container .timeline-title a a {
            -webkit-text-decoration: none;
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }
.raiken-timeline-section .timeline-container .timeline-title a:hover a:hover {
            color: #36c9f0;
            color: var(--accent-contently, #36c9f0);
        }
.raiken-timeline-section .timeline-container .timeline-meta {
            /* Typography via utilities */
            color: var(--color-text-secondary);
            margin-bottom: 0.75rem;
            font-family: var(--font-secondary);
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
.raiken-timeline-section .timeline-container .author-name {
            color: #36c9f0;
            color: var(--accent-contently, #36c9f0);
            font-weight: 600;
        }
.raiken-timeline-section .timeline-container .timeline-excerpt {
            /* Typography via utilities (e.g., body-14) */
            color: var(--color-text-secondary);
            margin: 0;
            font-family: var(--font-secondary);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            line-clamp: 2;
            overflow: hidden;
            max-width: 100%;
            word-wrap: anywhere;
            word-break: break-word;
            hyphens: auto;
        }
.raiken-timeline-section .timeline-container .section-footer {
            text-align: center;
            margin-top: 3rem;
            margin-top: var(--space-xl, 3rem);
            padding-top: 2rem;
            padding-top: var(--space-lg, 2rem);
            border-top: 1px solid #ecedf0;
            border-top: 1px solid var(--shade-200, #ecedf0);
        }
/* Responsive Design */
@media (max-width: 768px) {
        .raiken-timeline-section .timeline-container {
            gap: 1.5rem;
            gap: var(--space-md, 1.5rem);
        }

        .raiken-timeline-section .timeline-item {
            flex-direction: column;
            gap: 1rem;
            gap: var(--space-sm, 1rem);
            text-align: left;
            /* left align on tablets/phones */
            align-items: stretch !important;
            /* allow full-width content */
            padding: 0.75rem 0;
            padding: var(--space-sm, 0.75rem) 0;
            /* denser */
        }

        .raiken-timeline-section .timeline-date {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            gap: var(--space-sm, 1rem);
        }

        .raiken-timeline-section .day-of-week {
            display: none;
        }

        .raiken-timeline-section .day-number {
            font-size: 1.25rem;
            opacity: 0.75;
        }

        .raiken-timeline-section .timeline-content {
            flex-direction: column;
            align-items: stretch;
            text-align: left;
            width: 100%;
        }

    .raiken-timeline-section .timeline-image {
            width: 100%;
            max-width: 300px;
            height: auto;
            aspect-ratio: 4 / 3;
        }
}
@media (max-width: 480px) {

    .raiken-timeline-section {

        /* Dense layout: text left, small thumb right, subtle date */
    }

        .raiken-timeline-section .section-header {
        }
        .raiken-timeline-section .timeline-item {
            flex-direction: row;
            align-items: flex-start !important;
            text-align: left;
            gap: 0.75rem;
            gap: var(--space-sm, 0.75rem);
        }

        .raiken-timeline-section .timeline-date {
            display: none;
        }

        .raiken-timeline-section .timeline-content {
            flex: 1 1 auto;
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            gap: 0.75rem;
            gap: var(--space-sm, 0.75rem);
            min-width: 0;
            /* allow shrink without overflow */
        }

    .raiken-timeline-section .timeline-details {
            flex: 1 1 auto;
            min-width: 0;
        }

        .raiken-timeline-section .time-ago {
            /* Typography via utilities */
            opacity: 0.8;
            margin-bottom: 0.25rem;
            letter-spacing: 0.5px;
        }

    .raiken-timeline-section .timeline-title {
            /* Typography via utilities; avoid mobile-specific font overrides */
            margin-bottom: 0.25rem;
            max-width: 100%;
            word-wrap: anywhere;
            word-break: break-word;
            hyphens: auto;
        }

    .raiken-timeline-section .timeline-meta {
            /* Typography via utilities */
            margin-bottom: 0.5rem;
        }

    .raiken-timeline-section .timeline-excerpt {
            -webkit-line-clamp: 1;
            line-clamp: 1;
            max-width: 100%;
            word-wrap: anywhere;
            word-break: break-word;
            hyphens: auto;
        }

    .raiken-timeline-section .timeline-image {
            width: 86px;
            height: auto;
            aspect-ratio: 4 / 3;
            margin-left: auto;
            order: 2;
            max-width: 30vw;
            /* avoid pushing text off-canvas */
            flex: 0 0 auto;
            margin-top: 3rem !important;
        }
}
/* Dark mode support */
html.dark .raiken-timeline-section .timeline-item {
    border-bottom-color: #292e38;
    border-bottom-color: var(--shade-200, #292e38);
}
html.dark .raiken-timeline-section .section-footer {
    border-top-color: #292e38;
    border-top-color: var(--shade-200, #292e38);
}
@media (prefers-color-scheme: dark) {
    html:not(.light) .raiken-timeline-section .timeline-item {
        border-bottom-color: #292e38;
        border-bottom-color: var(--shade-200, #292e38);
    }


    html:not(.light) .raiken-timeline-section .section-footer {
        border-top-color: #292e38;
        border-top-color: var(--shade-200, #292e38);
    }

    /* Show inline pub date on small screens */
    .raiken-timeline-section .pub-date {
        display: block;
    }
}
/* Hide inline pub date on larger screens to avoid duplication with the left date column */
@media (min-width: 769px) {
    .raiken-timeline-section .pub-date {
        display: none;
    }
}
/* === sections/relatedArticlesSection/relatedArticlesSection.css === */
/* Related Articles Section */
.related-articles-section {
    --section-padding: var(--space-lg) 0;
    padding: var(--section-padding);
    background: var(--bg-secondary);
}
.related-articles-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}
/* Section Header */
.related-articles-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.related-articles-title {
    /* Typography via utilities (e.g., hl-24) */
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}
.related-articles-subtitle {
    /* Typography via utilities (e.g., body-14) */
    color: var(--text-secondary);
    margin: 0;
}
/* Articles Grid */
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: var(--space-lg);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
/* Article Card */
.related-article-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}
.related-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}
.related-article-link {
    display: block;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* Article Image */
.related-article-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-tertiary);
    position: relative;
}
.related-article-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: transform 0.3s ease;
}
.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}
/* Article Content */
.related-article-content {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* Article Meta */
.related-article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-tertiary);
}
.related-article-date {
    font-weight: var(--font-weight-medium);
}
.reading-time::before {
    content: "•";
    margin: 0 var(--space-xs);
}
/* Article Title */
.related-article-title {
    /* Typography via utilities (e.g., hl-18) */
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
    transition: color 0.3s ease;
}
.related-article-card:hover .related-article-title {
    color: var(--color-primary);
}
/* Article Excerpt */
.related-article-excerpt {
    /* Typography via utilities (e.g., body-14/16) */
    color: var(--text-secondary);
    margin: 0 0 var(--space-md) 0;
    flex: 1;
}
/* Read More */
.read-more {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
    margin-top: auto;
    transition: gap 0.3s ease;
}
.related-article-card:hover .read-more {
    gap: var(--space-sm);
}
.read-more-text {
    transition: color 0.3s ease;
}
/* Section Footer */
.section-footer {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}
/* Use generic .btn component for section footer button */
/* Responsive Design */
@media (max-width: 768px) {
    .related-articles-section {
        --section-padding: var(--space-md) 0;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .related-article-card {
        margin: 0 var(--space-xs);
    }
    
    /* Typography handled via utilities on mobile as well */
}
@media (max-width: 480px) {
    .related-articles-container {
        padding: 0 var(--space-sm);
    }
    
    .related-article-content {
        padding: var(--space-sm);
    }
    
    /* Typography handled via utilities on small screens */
}
/* === sections/blogPostsSection/blogPostsSection.css === */
/* Blog Posts Section - Clean Style using Design Tokens */
.blog-posts-section {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--container-width-big);
    margin: 0 auto;
}
.blog-posts-section .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}
.blog-posts-section .section-header-title {
    /* Typography via utilities (e.g., hl-24) */
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}
.blog-posts-section .section-header-subtitle {

}
/* Posts Container */
.posts-container {
    display: grid;
    grid-gap: var(--space-lg);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
/* Grid Layout */
.blog-posts-section.layout-grid .posts-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
/* List Layout */
.blog-posts-section.layout-list .posts-container {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}
/* Post Item Card - Using design tokens */
.post-item {
    background: var(--color-surface);
    border: var(--border-thin);
    overflow: hidden;
    transition: var(--transition-fast);
    position: relative;
    font-family: var(--type-family-body);
}
.post-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
/* Post Image */
.post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg);
}
.post-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    transition: var(--transition-fast);
}
/* List layout adjustments */
.blog-posts-section.layout-list .post-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-gap: var(--space-md);
    gap: var(--space-md);
    align-items: start;
}
.blog-posts-section.layout-list .post-image {
    height: 180px;
    width: 100%;
}
/* Post Content */
.post-content {
    padding: var(--space-md);
}
.blog-posts-section.layout-list .post-content {
    padding: var(--space-sm) var(--space-md) var(--space-md) 0;
}
/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    flex-wrap: wrap;
}
.platform-badge {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 2px var(--space-xs);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--type-family-headline);
}
.post-date,
.read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Post Title */
.post-title {
    margin-bottom: var(--space-sm);
}
.post-title a {
    color: var(--color-text-primary);
    -webkit-text-decoration: none;
    text-decoration: none;
    transition: var(--transition-fast);
}
.post-title a:hover {
    color: var(--color-primary);
}
/* Post Excerpt */
.post-excerpt {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}
.post-tags .tag {
    background: var(--color-bg);
    color: var(--color-text-secondary);
    padding: 2px var(--space-xs);
    border: 1px solid var(--color-text-secondary);
    /* Typography via utilities (e.g., body-12) */
    font-family: var(--type-family-body);
    transition: var(--transition-fast);
}
.post-tags .tag:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}
/* Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary);
    -webkit-text-decoration: none;
    text-decoration: none;
    font-family: var(--type-family-body);
    /* Typography via utilities (e.g., body-14) */
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.read-more-btn:hover {
    color: var(--color-primary-dark);
}
/* Section Footer */
.section-footer {
    text-align: center;
}
/* Use generic .btn component for section footer button */
/* Responsive Design */
@media (max-width: 768px) {
    .blog-posts-section {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .posts-container {
        gap: var(--space-md);
    }
    
    .blog-posts-section.layout-list .post-item {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .blog-posts-section.layout-list .post-image {
        height: 200px;
    }
    
    .blog-posts-section.layout-list .post-content {
        padding: var(--space-md);
    }
    
    .post-meta {
        gap: var(--space-xs);
    }
}
@media (max-width: 480px) {
    .posts-container {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .post-content {
        padding: var(--space-sm);
    }
    
    .post-image {
        height: 160px;
    }
}
/* === assets/css/pixel-components-code.css === */
/* 
 * Pixel Design System - Code Components
 * Semantic code blocks, terminals, and syntax highlighting with modern CSS3
 */
/* * {
  box-sizing: border-box;
  border: 1px dashed #f0a;
} */
/* Semantic code blocks using code and pre elements */
pre,
code,
.code-block {
  font-family: var(--font-secondary);
  background-color: var(--code-bg);
  color: var(--code-text);
  border-radius: 0;
}
.code-line {
  display: flex;
}
.code-line-number {
  color: var(--code-comment);
  text-align: right;
  padding-right: 1rem;
  margin-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  min-width: 2rem;
}
.code-content {
  flex: 1;
}
/* Syntax highlighting classes */
.code-keyword {
  color: var(--code-keyword);
}
.code-string {
  color: var(--code-string);
}
.code-comment {
  color: var(--code-comment);
}
.code-variable {
  color: var(--code-variable);
}
/* === TERMINAL COMPONENT - REFACTORED === */
.terminal {
  position: relative;
  background-color: var(--terminal-bg);
  color: var(--terminal-text);
  font-family: 'Courier New', monospace;
  font-family: var(--font-secondary, 'Courier New', monospace);
  font-size: 14px;
  line-height: 1.4;
  margin: 1.5rem 0;
  border: 2px solid var(--color-text-primary);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 120px;
}
/* Defensive CSS to ensure proper alignment in any context */
.terminal,
.terminal * {
  text-align: left !important;
  direction: ltr !important;
}
/* Terminal header bar */
.terminal::before {
  content: '';
  display: block;
  height: 28px;
  background: var(--color-text-primary);
  margin: 0;
  padding: 0;
}
/* Terminal title */
.terminal::after {
  content: 'TERMINAL';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  line-height: 28px;
  text-align: center;
  color: var(--color-bg);
  font-family: monospace;
  font-family: var(--font-primary, monospace);
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
/* Terminal content area */
.terminal-content {
  padding: 12px 16px;
  margin: 0;
  text-align: left;
  word-wrap: break-word;
  overflow-x: auto;
  min-height: 80px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
/* Terminal prompt styling */
.terminal-prompt {
  color: #00ff41;
  color: var(--accent-green, #00ff41);
  font-weight: bold;
  margin-right: 4px;
}
/* Terminal cursor */
.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: var(--terminal-text);
  margin-left: 2px;
  vertical-align: baseline;
  animation: terminal-blink 1s infinite;
}
/* Terminal blink animation */
@keyframes terminal-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
/* Terminal cursor animation */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
/* Slide up animation for elements */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === sections/suggestedContentSection/suggestedContentSection.css === */
.suggested-content-section {
    overflow: hidden;
    gap: 0 !important;
    padding: 0 !important;
    padding: initial !important;
}
.suggested-content-section .section-header {
       padding: 0 1.5rem;
    }
.suggested-products-grid {
    display: flex;
    overflow-x: auto;
    /* horizontal scroll only */
    overflow-y: hidden;
    /* prevent vertical overflow */
    scroll-behavior: smooth;
    /* Visual gutter so first card isn't flush to the viewport */
    padding: var(--space-sm) var(--space-sm);
    padding-left: 1.5rem; /* left gutter */
    /* Make snapping respect the inset */
    scroll-padding-inline-start: 1.5rem;
    /* small horizontal padding to avoid edge clipping */
    box-sizing: border-box;
    width: 100%;
    gap: 2rem;
    scroll-snap-type: x proximity;
    /* nicer horizontal scroll */

    /* Hide scrollbar in webkit browsers */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}
.suggested-products-grid::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}
.suggested-product-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 240px;
    max-width: 280px;
    flex-shrink: 0;
    /* Prevent items from shrinking */
    scroll-snap-align: start;
    /* Keep snap position offset from the left gutter */
    scroll-margin-inline-start: 1.5rem;
    /* align items when scrolling */

    /* More minimalistic card styling */
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.suggested-product-wrapper .cardridge {
        position: relative;
        margin-bottom: 1rem;
        max-width: 100%;
        transition: transform 0.2s ease;
    }
.suggested-product-wrapper .product-info {
        padding: 0;
    }
.suggested-product-wrapper .product-name {}
.suggested-product-wrapper .product-description {}
.suggested-product-wrapper .coming-soon-label {}
/* Allow parallax artwork to escape card bounds for effect (was hidden before) */
/* Horizontal page overflow is still prevented since abs-positioned elements don't affect flex item width */
.suggested-product-wrapper:hover {
    transform: translateY(-2px);
}
.suggested-product-wrapper:hover .cardridge {
        transform: scale(1.02);
    }
/* Responsive adjustments */
@media (max-width: 768px) {
    .suggested-products-grid {
    /* Maintain left gutter on small screens too */
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
    padding-left: 1.5rem;
    padding-right: var(--space-xs);
    scroll-padding-inline-start: 1.5rem;
    }

    .suggested-product-wrapper {
        min-width: 10vw;
        max-width: 50vw;
    }

    .suggested-content-section .title {}

    .suggested-content-section .subtitle {}
}
/* === sections/youtubeVideoSection/youtubeVideoSection.css === */
.videos-container {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.videos-container .video-description {
        display: none;
    }
.video-item {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    position: relative;
}
/* Badge styling for video items */
.video-item .badge {
    position: absolute;
    top: var(--space-xs);
    right: var(--space-xs);
    z-index: 2;

}
/* Video info container */
.video-info {
    padding: var(--space-sm);
}
.video-title {
    padding-top: 2rem;
}
/* Tags styling */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}
.video-thumbnail {
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;

}
.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1;
}
.play-button:hover {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: none;
        border: none;
    }
@media (max-width: 600px) {
    .videos-container {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .video-item {
        width: 100%;
        flex: 1 1;
    }

    .video-description {
        display: none;
    }

    /* Adjust badge positioning on mobile */
    .video-item .badge {
        top: var(--space-xs);
        right: var(--space-xs);

    }

    /* Stack tags on mobile if needed */
    .video-tags {
        margin-top: var(--space-xs);
    }

    .video-tags .tag {
        padding: 1px var(--space-xs);
    }
}
/* === sections/textAndContentSection/textAndContentSection.css === */
.text-content-section {
    margin: 4rem auto;
}
.text-content-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 16%;
    flex-direction: row;
    width: 100%;
}
.text-content-section .container > * {
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
}
/* Centered layout for sections with tabs or when explicitly set to centered */
.text-content-section.layout-centered .container {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
}
.text-content-section.layout-centered .text-block,
.text-content-section.layout-centered .content-block {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}
.text-content-section.layout-left .text-block {
    order: 2;
}
.text-block {
    flex: 1 1 40%;
}
.content-block {
    flex: 1 1 60%;
    display: block;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}
.content-block img {
    /* max-width: 50%; */
    border-radius: var(--border-radius-sm);
}
.content-block iframe,
.content-block .interactive-3d {
    width: 100%;
    min-height: 300px;
    border: none;
    border-radius: var(--border-radius-sm);
    /* Added for visual consistency */
}
/* Styling for parallax containers within text-content-section */
.text-content-section .content-block .parallax-container[data-parallax="true"] {
    display: block;
    /* Ensure it behaves as a block-level element */
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Modern CSS for aspect ratio */
    position: relative;
    /* Clips layers that might extend beyond the container */
    border-radius: var(--border-radius-sm);
    /* Consistent with other media elements */
}
/* Styling for images (layers) within the parallax container in text-content-section */
/* These images are typically positioned absolutely by JS (e.g., paralaxInteraction.js) using data-pos attributes. */
/* Their dimensions are often set via inline styles in the HTML (e.g., from PHP data arrays). */
.text-content-section .content-block .parallax-container[data-parallax="true"]>img[data-pos],
.text-content-section .content-block .parallax-container[data-parallax="true"]>span[data-pos] {
    /* position: absolute; is typically handled by JavaScript or inline styles based on data-pos. */
    -o-object-fit: contain;
       object-fit: contain;
    /* Ensures the image content is scaled correctly within its given dimensions. */
    display: block;
    /* Removes extra space below image if it were treated as inline. */
    /* width and height are generally controlled by inline styles or JS for the parallax layering effect. */
    /* Consider adding max-width: 100%; and max-height: 100%; if layers sometimes visually exceed container bounds. */
}
.image-container {
    aspect-ratio: 4 / 3;
}
.tab-contents {
    position: relative;
    width: 100%;
    overflow: hidden; /* Prevent content overflow */
}
/* Allow overflow for parallax containers that need to extend beyond boundaries */
.tab-contents:has(.parallax-container[data-parallax="true"]) {
    overflow: visible;
}
/* Fallback for browsers that don't support :has() - target specific sections */
.text-content-section.featuresShowcaseSection .tab-contents {
    overflow: visible;
}
/* Also ensure tab-content doesn't clip parallax content */
.tab-content:has(.parallax-container[data-parallax="true"]),
.text-content-section.featuresShowcaseSection .tab-content {
    overflow: visible;
    padding: 0; /* Remove padding to prevent clipping */
}
.tab-content {
    display: none;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
    overflow: auto; /* Allow scrolling if content is too large */
    padding: 1rem;
    box-sizing: border-box;
}
.tab-content.active {
    display: block;
}
.tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}
.tab-content iframe,
.tab-content .interactive-3d {
    width: 100%;
    min-height: 300px;
    border: none;
    border-radius: var(--border-radius-sm);
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .text-content-section .container {
        flex-direction: column;
        gap: 3rem;
        /* Stack items vertically */
    }

    .text-content-section.layout-left .text-block,
    .text-content-section.layout-right .text-block {
        /* Ensure text block order is consistent on mobile */
        order: 2;
        /* Text block below content block */
    }

    .text-content-section.layout-left .content-block,
    .text-content-section.layout-right .content-block {
        order: 1;
        /* Content block (image/parallax) above text block */
    }

    .text-block,
    .content-block {
        flex-basis: 100%;
        /* Full width for both blocks on mobile */
        width: 100%;
    }

    .content-block img {
        max-width: 100%;
        /* Allow images to take full width of the content block */
    }

    /* Ensure centered layout works properly on mobile */
    .text-content-section.layout-centered .container {
        gap: 2rem;
    }

    .text-content-section.layout-centered .tab-content {
        padding: 0.5rem;
    }

}
/* === components/pixelMap/pixelMap.css === */
/**
 * Modern Interactive Pixel Map Component CSS
 * Top-down walkable map with keyboard movement controls
 * 
 * @version 3.0.0
 * @author RAIKEN Team
 * @description Modern pixel art style with player movement and exploration
 */
.pixel-map-container {
    /* Modern CSS Grid layout */
    display: grid;
    align-items: center;
    justify-items: center;
    place-items: center;
    margin: 2rem auto;
    max-width: 100%;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    -webkit-user-select: none;
    -moz-user-select: none;
         user-select: none;
    position: relative;
    
    /* Modern Pixel Color Palette */
    --pixel-primary: #2D4A87;
    --pixel-secondary: #4A7CA4;
    --pixel-accent: #6FC8F8;
    --pixel-ground: #7FAD7F;
    --pixel-dark-ground: #5A8B5A;
    --pixel-building: #B0622D;
    --pixel-building-light: #E2C48C;
    --pixel-gray: #708090;
    --pixel-light-gray: #C0D4EE;
    --pixel-white: #F8F8F8;
    --pixel-black: #1F1F1F;
    --pixel-uxactly-blue: #0066CC;
    --pixel-uxactly-accent: #00BFFF;
    --pixel-marker-red: #FF4444;
    --pixel-shadow: rgba(31, 31, 31, 0.3);
    --pixel-player: #FF6B6B;
    --pixel-player-shirt: #4ECDC4;
    --pixel-path: #D4B896;
    --pixel-grass: #8FBC8F;
    --pixel-water: #4A90E2;
    --pixel-tree: #228B22;
}
.pixel-map-canvas {
    position: relative;
    width: 800px;
    height: 600px;
    background: linear-gradient(135deg, var(--pixel-grass) 0%, var(--pixel-ground) 50%, var(--pixel-dark-ground) 100%);
    border: 4px solid var(--pixel-black);
    box-shadow: 
        inset 0 0 0 2px var(--pixel-white),
        inset 0 0 0 3px var(--pixel-gray),
        0 8px 24px var(--pixel-shadow);
    image-rendering: -webkit-optimize-contrast; /* Edge 79+ */
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: crisp-edges; /* Standard */
    image-rendering: pixelated; /* Modern browsers */
    overflow: hidden;
    cursor: crosshair;
}
/* Map Grid System */
.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(25, 1fr);
    grid-template-rows: repeat(19, 1fr);
    grid-gap: 0;
    gap: 0;
    z-index: 1;
}
.grid-cell {
    background: transparent;
    transition: background-color 0.2s ease;
}
.grid-cell.path {
    background: var(--pixel-path);
}
.grid-cell.water {
    background: var(--pixel-water);
    animation: waterShimmer 2s infinite ease-in-out;
}
.grid-cell.tree {
    background: var(--pixel-tree);
    position: relative;
}
.grid-cell.tree::after {
    content: '🌲';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}
/* Player Character */
.player-character {
    position: absolute;
    width: 24px;
    height: 32px;
    z-index: 100;
    transition: all 0.15s ease-out;
    cursor: pointer;
    transform-origin: center bottom;
}
.player-sprite {
    width: 100%;
    height: 100%;
    background: var(--pixel-player);
    border: 1px solid var(--pixel-black);
    position: relative;
    border-radius: 2px 2px 0 0;
}
.player-sprite::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 12px;
    background: var(--pixel-player-shirt);
    border: 1px solid var(--pixel-black);
    border-radius: 1px;
}
.player-sprite::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--pixel-white);
    border: 1px solid var(--pixel-black);
    border-radius: 50%;
}
/* Player Movement States */
.player-character.moving {
    animation: playerWalk 0.4s infinite;
}
.player-character.facing-up {
    transform: scaleY(-1);
}
.player-character.facing-down {
    transform: scaleY(1);
}
.player-character.facing-left {
    transform: scaleX(-1);
}
.player-character.facing-right {
    transform: scaleX(1);
}
/* Building Structures */
.buildings-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
}
.building {
    position: absolute;
    background: var(--pixel-building);
    border: 2px solid var(--pixel-building-light);
    z-index: 50;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0 var(--pixel-shadow);
    border-radius: 2px;
}
.building:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 2px 4px 0 var(--pixel-shadow);
}
.building-office {
    background: linear-gradient(to bottom, var(--pixel-light-gray), var(--pixel-gray));
}
.building-tall {
    background: linear-gradient(to bottom, var(--pixel-building-light), var(--pixel-building));
}
/* UXACTLY Headquarters */
.uxactly-hq {
    position: absolute;
    top: 30%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 60;
    cursor: pointer;
}
.uxactly-building {
    width: 80px;
    height: 100px;
    background: linear-gradient(to bottom, var(--pixel-uxactly-accent), var(--pixel-uxactly-blue));
    border: 3px solid var(--pixel-white);
    border-radius: 4px;
    position: relative;
    box-shadow: 
        0 4px 0 var(--pixel-black),
        0 8px 20px var(--pixel-shadow);
    transition: all 0.3s ease;
}
.uxactly-building:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 0 var(--pixel-black),
        0 12px 30px var(--pixel-shadow);
}
.uxactly-flag {
    position: absolute;
    top: -10px;
    right: 10px;
    width: 20px;
    height: 15px;
    background: var(--pixel-marker-red);
    border: 1px solid var(--pixel-white);
    animation: flagWave 2s infinite ease-in-out;
}
.uxactly-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pixel-white);
    color: var(--pixel-uxactly-blue);
    padding: 4px 8px;
    border: 2px solid var(--pixel-uxactly-blue);
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 8px var(--pixel-shadow);
    animation: labelPulse 3s infinite ease-in-out;
}
/* Interactive Elements */
.interactive-element {
    position: absolute;
    z-index: 70;
    cursor: pointer;
    transition: all 0.2s ease;
}
.interactive-element:hover {
    filter: brightness(1.2);
    transform: scale(1.05);
}
/* Movement Controls UI */
.movement-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(248, 248, 248, 0.9);
    border: 2px solid var(--pixel-black);
    border-radius: 8px;
    padding: 12px;
    font-size: 11px;
    z-index: 200;
    box-shadow: 0 4px 12px var(--pixel-shadow);
}
.controls-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--pixel-black);
}
.control-item {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
    color: var(--pixel-gray);
}
.key-combo {
    background: var(--pixel-light-gray);
    color: var(--pixel-black);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 10px;
    border: 1px solid var(--pixel-gray);
}
/* Animations */
@keyframes playerWalk {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}
@keyframes waterShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}
@keyframes flagWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}
@keyframes labelPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.05); }
}
@keyframes buildingPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}
/* Collision Detection Visual Feedback */
.collision-warning {
    animation: shake 0.3s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .pixel-map-canvas {
        width: 600px;
        height: 450px;
    }
    
    .map-grid {
        grid-template-columns: repeat(19, 1fr);
        grid-template-rows: repeat(14, 1fr);
    }
}
@media (max-width: 768px) {
    .pixel-map-canvas {
        width: 400px;
        height: 300px;
    }
    
    .map-grid {
        grid-template-columns: repeat(13, 1fr);
        grid-template-rows: repeat(10, 1fr);
    }
    
    .player-character {
        width: 20px;
        height: 26px;
    }
    
    .movement-controls {
        position: static;
        margin-top: 16px;
        width: 100%;
        box-sizing: border-box;
    }
}
/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .player-character,
    .building,
    .uxactly-building,
    .interactive-element {
        transition: none;
        animation: none;
    }
    
    .grid-cell.water {
        animation: none;
    }
    
    .uxactly-flag,
    .uxactly-label {
        animation: none;
    }
}
/* High Contrast Mode */
@media (prefers-contrast: high) {
    .pixel-map-container {
        --pixel-primary: #000000;
        --pixel-secondary: #FFFFFF;
        --pixel-accent: #FFFF00;
        --pixel-black: #000000;
        --pixel-white: #FFFFFF;
        --pixel-shadow: rgba(0, 0, 0, 0.8);
    }
    
    .pixel-map-canvas {
        border-width: 6px;
    }
    
    .building, .uxactly-building {
        border-width: 3px;
    }
}
/* Focus States for Keyboard Navigation */
.pixel-map-canvas:focus {
    outline: 4px solid var(--pixel-uxactly-blue);
    outline-offset: 4px;
}
.player-character:focus {
    box-shadow: 0 0 0 3px var(--pixel-uxactly-accent);
    border-radius: 4px;
}
/* === components/appPrivacyPolicy/appPrivacyPolicy.css === */
/* 
 * General Application Privacy Policy Component Styles
 * Follows the NES-inspired pixel design system
 */
.app-general-privacy {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  transition: var(--transition-all);
}
.app-general-privacy .app-privacy-section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: var(--border-thin);
}
.app-general-privacy .app-privacy-section:last-of-type {
  border-bottom: none;
}
.app-general-privacy .app-privacy-section h3 {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}
.app-general-privacy .list li {
  margin-bottom: var(--space-sm);
}
.app-general-privacy .list li strong {
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 0.9em;
}
.app-privacy-legal {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--border-thin);
  font-size: 0.9em;
  color: var(--color-text-secondary);
}
.app-privacy-legal p {
  margin-bottom: var(--space-sm);
}
/* === components/aiPartnersPrivacy/aiPartnersPrivacy.css === */
/* 
 * AI Partners Privacy Component Styles
 * Modern table layout for displaying AI partner privacy information
 */
.ai-partners-privacy {
  margin: 2rem 0 3rem;
}
.ai-partners-privacy h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.ai-partners-privacy p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
/* AI Partner Table Layout */
.ai-partner-table {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 140px;
  grid-gap: 0;
  gap: 0;
  border: 1px solid var(--shade-200);
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem 0;
  background: var(--color-background);
}
.ai-partner-row {
  display: contents;
}
.ai-partner-row.header {
  font-weight: 600;
  background: var(--shade-100);
}
.ai-partner-row.header > div {
  background: var(--shade-100);
  padding: 1rem;
  border-bottom: 2px solid var(--shade-200);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-primary);
}
.ai-partner-row:not(.header) > div {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--shade-200);
  border-right: 1px solid var(--shade-200);
  display: flex;
  align-items: center;
  min-height: 60px;
}
.ai-partner-row:not(.header):last-child > div {
  border-bottom: none;
}
.ai-partner-row > div:last-child {
  border-right: none;
}
/* Partner name column with logo */
.partner-name {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--color-text-primary);
}
.partner-logo {
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}
/* Features column */
.partner-features {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}
/* Privacy features column */
.partner-privacy {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}
/* Policy link column */
.partner-link {
  justify-content: center !important;
  padding: 1.25rem 0.75rem !important;
}
.partner-link a {
  color: var(--color-primary);
  -webkit-text-decoration: none;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  min-width: 80px;
}
.partner-link a:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-1px);
}
/* AI Privacy Controls */
.ai-privacy-controls {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--shade-100);
  border-radius: 8px;
  border-left: 4px solid var(--color-primary);
}
.ai-privacy-controls .list {
  margin: 0;
}
.ai-privacy-controls .list li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.ai-privacy-controls .list li:last-child {
  margin-bottom: 0;
}
/* Responsive design */
@media (max-width: 1024px) {
  .ai-partner-table {
    grid-template-columns: 180px 1fr 1fr 120px;
  }
  
  .partner-logo {
    width: 28px;
    height: 28px;
  }
  
  .ai-partner-row > div {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .partner-link {
    padding: 1rem 0.5rem !important;
  }
  
  .partner-link a {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    min-width: 70px;
  }
}
@media (max-width: 768px) {
  .ai-partner-table {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .ai-partner-row {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--color-background);
    border: 1px solid var(--shade-200);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
  }
  
  .ai-partner-row.header {
    display: none; /* Hide table headers on mobile */
  }
  
  .ai-partner-row:not(.header) > div {
    border-right: none;
    border-bottom: 1px solid var(--shade-200);
    padding: 1rem;
    display: block;
  }
  
  .ai-partner-row:not(.header) > div:last-child {
    border-bottom: none;
  }
  
  /* Add labels for mobile */
  .partner-features::before {
    content: "Powers: ";
    font-weight: 600;
    color: var(--color-text-primary);
  }
  
  .partner-privacy::before {
    content: "Privacy: ";
    font-weight: 600;
    color: var(--color-text-primary);
  }
  
  .partner-link {
    justify-content: flex-start !important;
  }
  
  .partner-link::before {
    content: "Policy: ";
    font-weight: 600;
    color: var(--color-text-primary);
    margin-right: 0.5rem;
  }
}
/* === pages/dataprivacy/dataprivacy.css === */
/* filepath: g:\webApps\raikenio\pages\dataprivacy\dataprivacy.css */
/* 
 * Data Privacy Page Styles
 * Modern, clean styling with subtle retro pixel accents
 */
html[data-privacy-init] body .privacy-container {
  /* Reduce accidental reflow impact during initialization */
  contain: layout style; /* allows more predictable layout before dynamic injection */
}
/* Placeholder min-height for embedded consent list to reduce jump before JS populates */
#embedded-consent-options-list {
  min-height: 280px; /* Adjust after measuring typical populated height */
}
/* Main container with improved spacing */
.privacy-category-section {
  display: flex;
  gap: 4rem;
  flex-direction: column;
  margin-top: 4rem;
}
.privacy-container {
  max-width: var(--container-width-big);
  margin: 3rem auto;
  border-radius: 8px;
}
/* Improved header styling with better spacing */
.privacy-header {
  text-align: center;
  position: relative;

}
.privacy-intro {
  font-size: 1rem;
  font-size: var(--font-size-base, 1rem);

  line-height: 1.6;
  margin: var(--space-md) auto var(--space-lg);
  color: var(--color-text-secondary);
}
/* Privacy sections with cleaner design */
.privacy-section {
  margin: 0 auto;
  transition: transform 0.2s ease;
}
/* Specific fix for platform privacy section overflow */
#platform-privacy .text-content-section .container {
  overflow: visible;
  min-height: 0;
}
#platform-privacy .tab-content {
  max-width: 100%;
  word-wrap: break-word;
  word-wrap: break-word;
}
/* Reduce heading size to match h3 style */
.privacy-section h2 {
  font-size: 1rem;
  font-size: var(--font-size-base, 1rem);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  display: inline-block;
  font-weight: 600;
}
/* Modernized highlight cards fully utilizing pixel design system */
.privacy-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: var(--space-lg);
  gap: var(--space-lg);
  margin: 2.5rem 0;
}
.privacy-highlight-card {
  /* Full implementation of card styling */
  border: var(--border-thin);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: var(--space-md);
  position: relative;
  transition: var(--transition-transform), var(--transition-shadow);
  overflow: hidden;
  border-radius: 0;
  border-left: 4px solid var(--color-primary);
  text-align: left;
  /* Override center alignment from base card */
  display: block;
  /* Override flex from base card */
}
.privacy-highlight-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}
.privacy-highlight-card h3 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  font-size: var(--font-size-base, 1rem);
  font-family: var(--font-primary);
}
.privacy-highlight-card p {
  font-size: 0.95em;
  font-size: var(--font-size-sm, 0.95em);
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--color-text-secondary);
}
/* Platform tabs using pixel design system */
.platform-section {
  margin: 3.5rem 0;
}
.platform-section .tabs {
  overflow: auto !important;
  }
.platform-content {
  display: none;
  padding: var(--space-md);
  border: var(--border-thin);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: var(--transition-all);
}
.platform-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}
.platform-content h3 {
  margin-top: 0;
  font-size: 1rem;
  font-size: var(--font-size-base, 1rem);
}
/* Document-style layout for application privacy policy */
.app-privacy-document {
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 2.5rem;
       column-gap: 2.5rem;
  -moz-column-rule: 1px solid var(--shade-100);
       column-rule: 1px solid var(--shade-100);
  /* margin: 2rem 0; */
  /* padding: 1.5rem; */
  /* background-color: var(--shade-100); */
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04); */
  font-size: 0.95rem;
  font-size: var(--font-size-sm, 0.95rem);
  line-height: 1.5;
}
.cookieSection .container {
  align-items: flex-start;
}
/* Style headings but don't span across columns */
.app-privacy-document h3,
.app-privacy-document h4 {
  page-break-inside: avoid;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-top: 1.5rem;
  padding-bottom: 0rem;
  font-size: .8rem;
  font-size: var(--font-size-sm, .8rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
/* Override the default app-privacy-section styling for our multi-column layout */
.app-privacy-document .app-privacy-section {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
  page-break-inside: avoid;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  display: inline-block;
  /* Helps prevent breaking across columns */
  width: 100%;
}
/* Style for the legal footer outside of columns */
.app-privacy-legal {
  margin-top: 2rem;
  border-top: 1px solid var(--shade-100);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9em;
  font-size: var(--font-size-sm, 0.9em);
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.app-privacy-legal p {
  margin-bottom: 0.75rem;
}
.app-privacy-legal a {
  color: var(--color-primary);
  -webkit-text-decoration: none;
  text-decoration: none;
}
.app-privacy-legal a:hover {
  -webkit-text-decoration: underline;
  text-decoration: underline;
}
.app-privacy-document p,
.app-privacy-document ul {
  page-break-inside: avoid;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: 1rem;
}
/* Support for third column on larger screens */
@media (min-width: 1200px) {

  .app-privacy-document h3,
  .app-privacy-document h4 {
    page-break-inside: avoid;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    margin-top: 1.5rem;
    padding-bottom: 0rem;
    font-size: .8rem;
    font-size: var(--font-size-sm, .8rem);
    font-weight: 600;
    margin-bottom: 1rem;
  }
}
/* Cleaner collapsible sections */
.nes-collapsible {
  margin: 1rem 0;
  border: 1px solid var(--shade-200);
  border-radius: 6px;
  overflow: hidden;
  background: var(--shade-200);
}
.nes-collapsible-header {
  background: var(--shade-200);
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}
.nes-collapsible-header:hover {
  background: var(--shade-200);
}
.nes-collapsible-header::after {
  content: "+";
  font-size: 1.2rem;
  transition: transform 0.2s;
}
.nes-collapsible-header.active::after {
  content: "-";
}
.nes-collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  background: var(--shade-200);
}
.nes-collapsible-content.visible {
  max-height: 5000px;
  padding: 1.5rem;
}
/* Modern notice design with pixel styling */
.privacy-notice {
  background: var(--card-bg);
  border: var(--border-thin);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md);
  box-shadow: var(--shadow-small);
  position: relative;
  transition: var(--transition-all);
}
.privacy-notice:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow);
}
/* Data rights cards */
.data-rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin: 2rem 0;
}
.data-right-item {
  background: var(--shade-200);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}
.data-right-item h4 {
  margin-top: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
  font-size: var(--font-size-lg, 1.1rem);
  margin-bottom: 0.75rem;
}
.data-right-item p {
  margin-bottom: 0;
  color: var(--color-text-secondary);
}
/* Cleaner list styling */
.list {
  list-style: none;
  padding-left: 0;
  margin: var(--space-md) 0;
}
.list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--color-primary);
  font-weight: bold;
}
/* Animation for tab content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .privacy-container {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0 var(--space-md);
    margin: 1.5rem auto;
  }

  .privacy-highlight-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .platform-tabs {
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: none;
  }

  .platform-tab.active::after {
    display: none;
  }

  .platform-tab.active {
    background: var(--shade-200);
    border-radius: 4px;
  }

  .data-rights-list {
    grid-template-columns: 1fr;
  }

  .privacy-section h2 {
    font-size: 1.4rem;
    font-size: var(--font-size-lg, 1.4rem);
  }

  .app-privacy-document {
    -moz-column-count: 1;
         column-count: 1;
    -moz-column-gap: 0;
         column-gap: 0;
    padding: 1rem 0.5rem;
  }

}
/* === components/forms/forms.css === */
/* Enhanced Form Wrapper */
.form-component {
  --form-bg: var(--color-background-subtle);
  --form-border: var(--color-border);
  --form-radius: var(--border-radius, 0);
  --form-padding: var(--space-md);
  --form-gap: var(--space-md);
  
  background: var(--form-bg);
  border: 1px solid var(--form-border);
  border-radius: 0;
  border-radius: var(--form-radius);
  padding: var(--form-padding);
  
  /* CSS Grid for responsive form layouts */
  display: grid;
  grid-gap: var(--form-gap);
  gap: var(--form-gap);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* Form Group Component */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  
  /* Full width by default */
  grid-column: 1 / -1;
  
  /* Allow inline for smaller fields */
}
.form-group.form-group--inline {
    grid-column: auto;
  }
.form-group.form-group--half {
    grid-column: span 1;
  }
/* Enhanced Form Labels */
.form-label {
  display: block;
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  font-size: var(--font-size-sm);
  
  /* Required field indicator */
}
.form-label[data-required="true"]::after {
    content: " *";
    color: #ef4444;
    color: var(--accent-red, #ef4444);
    font-weight: bold;
  }
/* Form Fields - Extends Design System */
.form-field {
  /* Inherit from design system but add enhancements */
  font-family: var(--font-secondary);
  font-size: max(0.875rem, min(2vw, 1rem));
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0;
  transition: var(--transition);
  border: var(--border-thin);
  min-height: 44px;
  width: 100%;
  
  /* Validation states */
}
.form-field::-moz-placeholder {
    color: var(--color-text-secondary);
    opacity: 0.8;
  }
.form-field::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.8;
  }
.form-field:focus {
    border-color: var(--color-primary);
    background-color: var(--color-surface);
    box-shadow: inset 0 0 0 1px var(--color-primary);
  }
.form-field:disabled {
    color: #888;
    background-color: var(--color-surface);
    opacity: 0.7;
    cursor: not-allowed;
  }
.form-field:invalid:not(:-moz-placeholder) {
    border-color: #ef4444;
    border-color: var(--accent-red, #ef4444);
  }
.form-field:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    border-color: var(--accent-red, #ef4444);
  }
.form-field:valid:not(:-moz-placeholder) {
    border-color: #10b981;
    border-color: var(--accent-green, #10b981);
  }
.form-field:valid:not(:placeholder-shown) {
    border-color: #10b981;
    border-color: var(--accent-green, #10b981);
  }
/* Textarea Specific */
.form-field--textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.6;
}
/* Form Help Text */
.form-help {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.4;
}
.form-help.form-help--error {
    color: #ef4444;
    color: var(--accent-red, #ef4444);
  }
.form-help.form-help--success {
    color: #10b981;
    color: var(--accent-green, #10b981);
  }
/* Enhanced Submit Button - Uses Design System Base */
.form-submit {
  --btn-bg: var(--color-primary);
  --btn-color: var(--color-white);
  --btn-hover-bg: var(--color-primary-dark);
  --btn-padding: var(--space-sm) var(--space-lg);
  --btn-transition: var(--transition);
  
  background: var(--btn-bg);
  color: var(--btn-color);
  border: none;
  padding: var(--btn-padding);
  border-radius: 0; /* Pixel design system */
  font-family: var(--font-primary);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: var(--btn-transition);
  justify-self: start;
  min-height: 44px;
  
  /* Loading state with CSS */
  
  /* Pixel design system compatibility */
}
.form-submit:hover:not(:disabled) {
  }
.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
.form-submit[data-loading="true"] {
    position: relative;
    color: transparent;
  }
.form-submit[data-loading="true"]::after {
      content: "";
      position: absolute;
      top: 50%;
      right: auto;
      bottom: auto;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 16px;
      height: 16px;
      border: 2px solid transparent;
      border-top-color: currentColor;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
.form-submit.pixel-style {
    image-rendering: pixelated;
  }
.form-submit.pixel-style::before {
      content: '[ ';
    }
.form-submit.pixel-style::after {
      content: ' ]';
    }
/* Form Actions Container */
.form-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}
/* Loading Animation */
@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .form-component {
    grid-template-columns: 1fr;
    padding: var(--space-sm);
  }
  
  .form-group {
    grid-column: 1 / -1;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-submit {
    width: 100%;
    justify-self: stretch;
  }
}
/* High Contrast Mode */
@media (prefers-contrast: high) {
  .form-field {
    border-width: 2px;
  }
  
  .form-submit {
    border: 2px solid var(--color-text-primary);
  }
}
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .form-field,
  .form-submit {
    transition: none;
  }
  
  .form-submit:hover {
    transform: none;
  }
}
/* === components/waitlistModal/waitlistModal.css === */
/* components/waitlistModal/waitlistModal.css */
#waitlist-modal .modal-content {
    max-width: 500px;
}
#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
#waitlist-form .nes-field {
    margin-bottom: 0;
}
#waitlist-feedback {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 3px;
    display: none; /* Hidden by default */
}
#waitlist-feedback.is-success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
    display: block;
}
#waitlist-feedback.is-error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    display: block;
}

