/* ============================================================
       DESIGN TOKENS
       ============================================================ */
    :root {
      /* Фоны */
      --bg-base: #0a0a12;
      --bg-surface: #12121e;
      --bg-elevated: #1a1a2a;
      --bg-card: rgba(255,255,255,0.03);
      --bg-card-hover: rgba(255,255,255,0.07);
      --bg-glass: rgba(255,255,255,0.05);
      --bg-glass-strong: rgba(255,255,255,0.09);

      /* Акценты — неоновая система градиентов */
      --accent-cyan: #00d4ff;
      --accent-violet: #8b5cf6;
      --accent-rose: #f43f5e;
      --accent-lime: #84cc16;
      --accent-amber: #f59e0b;
      --brand: #0e9ec4;
      --brand-hover: #0b86a8;
      --grad-primary: var(--brand);
      --grad-hot: #e11d48;
      --grad-cool: #6366f1;
      --grad-aurora: var(--brand);

      /* Текст */
      --text-1: #f0f2f5;
      --text-2: #9ca3af;
      --text-3: #6b7280;
      --text-accent: var(--accent-cyan);

      /* Рамки */
      --border-1: rgba(255,255,255,0.06);
      --border-2: rgba(255,255,255,0.10);
      --border-3: rgba(255,255,255,0.16);

      /* Тени */
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
      --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
      --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
      --glow-cyan: 0 0 30px rgba(0,212,255,0.12);
      --glow-violet: 0 0 30px rgba(139,92,246,0.12);

      /* Радиусы */
      --r-sm: 8px;
      --r-md: 12px;
      --r-lg: 16px;
      --r-xl: 20px;
      --r-full: 9999px;

      /* Единая сетка контента (шапка, hero, секции) */
      --content-max: 1400px;
      --content-gutter: 32px;

      /* Шапка: логотип + высота ряда (для sticky в каталоге/корзине) */
      --header-logo-size: 56px;
      --header-inner-min-h: 76px;
      --header-subnav-h: 0px;
      --promo-bar-stack: 40px;
      --layout-sticky-top: calc(var(--promo-bar-stack) + var(--header-inner-min-h));

      /* Затемнение поверх фоновых картинок (+0.10 к базовым значениям) */
      --bg-scrim: rgba(10, 10, 18, 0.30);
      --bg-scrim-mid: rgba(10, 10, 18, 0.48);
      --bg-scrim-read: rgba(10, 10, 18, 0.72);
      --bg-scrim-heavy: rgba(10, 10, 18, 0.95);

      /* Тайминги */
      --ease-out: cubic-bezier(0.4,0,0.2,1);
      --t-fast: 150ms var(--ease-out);
      --t-base: 250ms var(--ease-out);
      --t-slow: 400ms var(--ease-out);

      /* Типографика */
      --font-body: 'Inter', system-ui, -apple-system, sans-serif;
      --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
    }

    /* ============================================================
       RESET
       ============================================================ */
    *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
    html { -webkit-font-smoothing: antialiased; }
    body {
      font-family: var(--font-body);
      background: var(--bg-base);
      color: var(--text-1);
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; color: inherit; }

    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-base); }
    ::-webkit-scrollbar-thumb { background: var(--bg-glass-strong); border-radius: var(--r-full); }

    .container {
      width: 100%;
      max-width: var(--content-max);
      margin: 0 auto;
      padding: 0 var(--content-gutter);
      box-sizing: border-box;
    }

    /* ============================================================
       UTILITIES
       ============================================================ */
    .grad-text {
      color: var(--brand);
    }
    .grad-text-hot {
      color: var(--grad-hot);
    }

    /* Бейджи */
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 10px;
      border-radius: var(--r-full);
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      line-height: 1.6;
    }
    .badge-sale { background: var(--grad-hot); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.45); }
    .badge-new {
      background: rgba(22, 78, 8, 0.92);
      color: #ecfccb;
      border: 1px solid rgba(190, 242, 100, 0.5);
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
    .badge-free {
      background: rgba(22, 78, 8, 0.88);
      color: #ecfccb;
      border: 1px solid rgba(190, 242, 100, 0.45);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    }
    .badge-ea {
      background: rgba(76, 29, 149, 0.9);
      color: #ede9fe;
      border: 1px solid rgba(196, 181, 253, 0.45);
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .platform-tag {
      display: inline-flex;
      align-items: center;
      padding: 1px 6px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 500;
      background: var(--bg-glass);
      color: var(--text-3);
    }

    /* ============================================================
       1. TOP PROMO BAR
       ============================================================ */
    .promo-bar {
      background: var(--bg-elevated);
      color: var(--text-2);
      border-bottom: 1px solid var(--border-1);
      padding: 8px 0;
      text-align: center;
      font-size: 13px;
      font-weight: 500;
      position: relative;
      z-index: 100;
    }
    .promo-bar strong {
      font-weight: 600;
      color: var(--brand);
      text-decoration: none;
    }
    .promo-bar strong:hover { text-decoration: underline; text-underline-offset: 2px; }
    .promo-bar .sep { opacity: 0.6; margin: 0 8px; }

    /* ============================================================
       2. HEADER
       ============================================================ */
    .header {
      position: sticky;
      top: 0;
      z-index: 90;
      background: rgba(10, 10, 18, 0.82);
      backdrop-filter: blur(12px) saturate(140%);
      -webkit-backdrop-filter: blur(12px) saturate(140%);
      border-bottom: 1px solid var(--border-1);
    }
    .header-inner {
      display: flex;
      align-items: center;
      min-height: var(--header-inner-min-h);
      padding: 10px 30px;
      gap: 12px 20px;
    }

    .logo-lockup {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
      margin-inline-end: clamp(4px, 1vw, 12px);
      line-height: 1.15;
    }
    .logo-mark {
      display: block;
      flex-shrink: 0;
      line-height: 0;
    }
    .header .logo-mark .logo-img {
      width: var(--header-logo-size);
      height: var(--header-logo-size);
      max-width: var(--header-logo-size);
      object-fit: contain;
      object-position: center;
    }
    .logo-wordmark {
      display: flex;
      flex-direction: column;
      gap: 5px;
      min-width: 0;
      line-height: 1;
    }
    .logo-wordmark__line--top {
      display: block;
      font-family: var(--font-heading);
      font-size: 1.2rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .logo-wordmark__style {
      color: var(--text-1);
    }
    .logo-wordmark__your {
      margin-left: 0.28em;
      color: var(--brand);
    }
    .logo-wordmark__collection {
      display: block;
      font-family: var(--font-heading);
      font-size: 0.625rem;
      font-weight: 700;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--text-1);
      white-space: nowrap;
    }
    .logo-lockup--footer .logo-mark .logo-img {
      width: 40px;
      height: 40px;
      max-width: 40px;
    }
    .logo-lockup--footer .logo-wordmark__line--top {
      font-size: 1.05rem;
    }
    .logo-lockup--footer .logo-wordmark__collection {
      font-size: 0.5625rem;
      letter-spacing: 0.28em;
    }

    .logo {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      line-height: 0;
    }
    .logo-img--light {
      display: none;
    }
    html[data-theme="light"] .logo-img--dark {
      display: none;
    }
    html[data-theme="light"] .logo-img--light {
      display: block;
    }

    .footer-brand .logo-img {
      width: auto;
      height: 44px;
      max-width: min(220px, 70vw);
      object-fit: contain;
    }

    /* Navigation */
    .nav {
      display: flex;
      align-items: center;
      gap: 2px;
      flex-shrink: 0;
    }
    .nav-item { position: static; }
    .nav-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 8px 12px;
      border-radius: var(--r-sm);
      font-size: 13px;
      font-weight: 600;
      color: var(--text-2);
      transition: all var(--t-fast);
      position: relative;
      white-space: nowrap;
    }
    .nav-link i {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      opacity: 0.88;
    }
    .nav-link:hover,
    .nav-link.active {
      color: var(--text-1);
      background: var(--bg-glass);
    }
    .nav-link.active i { color: var(--brand); opacity: 1; }
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 12px;
      right: 12px;
      height: 2px;
      background: var(--brand);
      border-radius: 2px;
    }
    button.nav-link {
      border: none;
      background: none;
      cursor: pointer;
      color: inherit;
      text-align: left;
    }
    .nav-link--mega .nav-link__chevron {
      width: 14px;
      height: 14px;
      opacity: 0.55;
      transition: transform var(--t-fast), opacity var(--t-fast);
    }
    .nav-item.is-mega-open {
      position: relative;
      z-index: 89;
    }
    .nav-item.is-mega-open .nav-link--mega {
      color: var(--text-1);
      background: color-mix(in srgb, var(--brand) 18%, var(--bg-glass));
      box-shadow:
        0 0 0 1px color-mix(in srgb, var(--brand) 42%, transparent),
        0 4px 18px color-mix(in srgb, var(--brand) 22%, transparent);
    }
    .nav-item.is-mega-open .nav-link--mega > i:first-of-type {
      color: var(--brand);
      opacity: 1;
    }
    .nav-item.is-mega-open .nav-link--mega::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 12px;
      right: 12px;
      height: 2px;
      background: var(--brand);
      border-radius: 2px;
    }
    .nav-item.is-mega-open .nav-link--mega .nav-link__chevron {
      transform: rotate(180deg);
      opacity: 1;
      color: var(--brand);
    }

    /* Подшапка (мега-меню) — по клику */
    .header-mega-backdrop {
      position: fixed;
      inset: 0;
      z-index: 85;
      background: rgba(4, 6, 12, 0.45);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.22s var(--ease-out), visibility 0.22s var(--ease-out);
    }
    .header-mega-backdrop:not([hidden]) {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
    .header-subnav {
      position: absolute;
      left: 0;
      right: 0;
      top: 100%;
      z-index: 88;
      background: rgba(14, 14, 24, 0.96);
      border-bottom: 0 solid var(--border-2);
      box-shadow: none;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      max-height: 0;
      overflow: hidden;
      transform: translateY(-6px);
      transition:
        opacity 0.22s var(--ease-out),
        visibility 0.22s var(--ease-out),
        max-height 0.32s var(--ease-out),
        transform 0.22s var(--ease-out),
        box-shadow 0.22s var(--ease-out);
    }
    .header-subnav__inner {
      position: relative;
      padding-block: 0;
    }
    .mega-panel {
      display: none;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 28px 36px;
    }
    .mega-panel--shop {
      grid-template-columns: minmax(140px, 20%) minmax(140px, 20%) minmax(0, 1fr);
      gap: 12px 28px;
    }
    .mega-col--genres .mega-genres-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      column-gap: 10px;
      row-gap: 0;
    }
    .mega-col--genres .mega-link {
      padding: 5px 8px;
      margin-inline: -8px;
      font-size: 13px;
      gap: 8px;
    }
    .mega-col--genres .mega-link i {
      width: 15px;
      height: 15px;
    }
    .mega-panel--legal {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 720px;
    }
    .header.header--mega-open .header-subnav.is-open {
      opacity: 1;
      visibility: visible;
      max-height: min(420px, 70vh);
      pointer-events: auto;
      border-bottom-width: 1px;
      box-shadow: var(--shadow-md);
      transform: translateY(0);
    }
    .header.header--mega-open .header-subnav.is-open .header-subnav__inner {
      padding-block: 18px 20px;
    }
    .header[data-mega="shop"] .mega-panel--shop,
    .header[data-mega="legal"] .mega-panel--legal {
      display: grid;
      animation: dropIn 0.2s var(--ease-out);
    }
    .mega-col h4 {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      color: var(--text-3);
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border-1);
    }
    .mega-col h4 i {
      width: 14px;
      height: 14px;
      color: var(--brand);
    }
    .mega-link {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px 10px;
      margin-inline: -10px;
      border-radius: var(--r-sm);
      font-size: 14px;
      color: var(--text-2);
      transition: background var(--t-fast), color var(--t-fast);
    }
    .mega-link i {
      width: 17px;
      height: 17px;
      flex-shrink: 0;
      color: var(--brand);
    }
    .mega-link:hover {
      background: var(--bg-glass);
      color: var(--text-1);
    }

    /* Search */
    .search {
      flex: 1 1 auto;
      min-width: 140px;
      max-width: 420px;
      margin-inline: auto 0;
      position: relative;
    }
    .search input {
      width: 100%; height: 38px;
      padding: 0 14px 0 40px;
      background: var(--bg-glass);
      border: 1px solid var(--border-1);
      border-radius: var(--r-full);
      color: var(--text-1);
      font-size: 14px;
      font-family: var(--font-body);
      transition: all var(--t-base);
    }
    .search input::placeholder { color: var(--text-3); }
    .search input:focus {
      outline: none;
      border-color: var(--accent-cyan);
      background: var(--bg-glass-strong);
      box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
    }
    .search .s-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 14px;
      height: 14px;
      color: var(--text-3);
      pointer-events: none;
    }
    .search .s-icon svg {
      width: 14px;
      height: 14px;
      stroke-width: 2.25;
    }
    .search .s-kbd {
      position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
      padding: 2px 7px; border-radius: 5px;
      background: var(--bg-glass); border: 1px solid var(--border-1);
      font-size: 11px; color: var(--text-3); font-weight: 500;
    }

    /* Header actions */
    .hdr-actions {
      display: flex;
      align-items: center;
      gap: 2px;
      flex-shrink: 0;
      margin-inline-start: auto;
    }
    .icon-btn {
      width: 38px; height: 38px;
      display: grid; place-items: center;
      border-radius: var(--r-sm);
      color: var(--text-2);
      transition: all var(--t-fast);
      position: relative;
    }
    .icon-btn:hover { background: var(--bg-glass); color: var(--text-1); }
    .icon-btn i { width: 18px; height: 18px; }
    .notif-dot {
      position: absolute; top: 7px; right: 7px;
      width: 7px; height: 7px;
      background: var(--accent-rose);
      border-radius: 50%;
      border: 1.5px solid var(--bg-base);
    }
    .avatar {
      width: 34px; height: 34px;
      border-radius: var(--r-full);
      background: var(--brand);
      display: grid; place-items: center;
      font-size: 13px; font-weight: 700; color: #fff;
      cursor: pointer;
      transition: box-shadow var(--t-base);
    }
    .avatar:hover { box-shadow: 0 0 0 3px rgba(14, 158, 196, 0.28); }

    /* ============================================================
       3. HERO CAROUSEL
       ============================================================ */
    .hero { padding: 28px 0 0; }

    .hero > .container {
      width: 100%;
      max-width: var(--content-max);
      margin-inline: auto;
      padding-inline: var(--content-gutter);
      box-sizing: border-box;
    }

    .carousel {
      position: relative;
      border-radius: var(--r-xl);
      overflow: hidden;
      aspect-ratio: 16 / 8.5;
      background: var(--bg-surface);
      box-shadow: var(--shadow-lg), var(--glow-cyan);
      border: 1px solid var(--border-2);
    }

    .slide {
      position: absolute; inset: 0;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.9s var(--ease-out);
    }
    .slide.active {
      opacity: 1;
      pointer-events: auto;
    }
    .slide-hit {
      position: absolute;
      inset: 0;
      z-index: 1;
    }

    .slide-bg {
      position: absolute; inset: 0;
      background-size: cover;
      background-position: center;
    }
    .slide-bg--art {
      background-position: center left;
      transform: scale(1.02);
    }
    .slide-actions {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    /* Оверлей слева — текст на баннерах справа */
    .slide-overlay-left {
      position: absolute; inset: 0;
      background: linear-gradient(to right, var(--bg-scrim-heavy) 0%, rgba(10, 10, 18, 0.75) 45%, transparent 75%);
    }
    /* Оверлей справа — для баннеров где текст слева */
    .slide-overlay-right {
      position: absolute; inset: 0;
      background: linear-gradient(to left, var(--bg-scrim-heavy) 0%, rgba(10, 10, 18, 0.75) 45%, transparent 75%);
    }

    .slide-body {
      position: absolute;
      top: 0;
      bottom: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: var(--hero-zone, 50%);
      max-width: 560px;
      min-width: 300px;
      z-index: 2;
    }
    .slide-body.left {
      left: 0;
      right: auto;
      padding: clamp(24px, 4vw, 48px) var(--content-gutter);
    }
    .slide-body.right {
      left: auto;
      right: 0;
      padding: clamp(24px, 4vw, 48px) var(--content-gutter) clamp(48px, 6vw, 88px) var(--content-gutter);
      text-align: right;
      align-items: flex-end;
    }
    .slide-body.right .slide-meta { justify-content: flex-end; flex-wrap: wrap; }
    .slide-body.right .slide-actions { justify-content: flex-end; }
    .slide-body.right p { margin-left: auto; }

    .slide-body .badge { margin-bottom: 14px; }
    .slide-body h1 {
      font-family: var(--font-heading);
      font-size: 44px;
      font-weight: 900;
      line-height: 1.05;
      letter-spacing: -1.5px;
      margin-bottom: 10px;
      color: #f4f6fa;
    }
    .slide-body p {
      font-size: 15px;
      color: rgba(240, 242, 245, 0.9);
      line-height: 1.55;
      margin-bottom: 20px;
      max-width: 400px;
    }
    .slide-meta {
      display: flex; align-items: center; gap: 16px;
      font-size: 13px;
      color: rgba(240, 242, 245, 0.72);
      margin-bottom: 20px;
    }
    .slide-meta span { display: flex; align-items: center; gap: 5px; }
    .slide-meta i { width: 14px; height: 14px; }

    /* Controls */
    .carousel-ctrl {
      position: absolute;
      bottom: var(--content-gutter);
      right: var(--content-gutter);
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 5;
    }
    .c-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,0.25);
      transition: all var(--t-base);
      cursor: pointer;
    }
    .c-dot.active { width: 28px; border-radius: 4px; background: var(--accent-cyan); }
    .c-arrow {
      width: 36px; height: 36px;
      border-radius: var(--r-sm);
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.1);
      color: #fff;
      display: grid; place-items: center;
      transition: all var(--t-fast);
    }
    .c-arrow:hover { background: rgba(255,255,255,0.16); }
    .c-arrow i { width: 16px; height: 16px; }

    /* ============================================================
       BUTTONS
       ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 11px 26px;
      border-radius: var(--r-full);
      font-size: 14px;
      font-weight: 600;
      font-family: var(--font-body);
      transition: all var(--t-base);
      white-space: nowrap;
    }
    .btn i { width: 16px; height: 16px; }
    .btn-primary {
      background: var(--brand);
      color: #fff;
      box-shadow: 0 4px 16px rgba(14, 158, 196, 0.22);
    }
    .btn-primary:hover {
      background: var(--brand-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 22px rgba(14, 158, 196, 0.3);
    }
    .btn-outline {
      background: var(--bg-glass-strong);
      color: var(--text-1);
      border: 1px solid var(--border-2);
      backdrop-filter: blur(10px);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.13);
      border-color: var(--border-3);
    }
    .btn-icon {
      width: 42px; height: 42px; padding: 0;
      border-radius: var(--r-sm);
      background: var(--bg-glass);
      border: 1px solid var(--border-1);
      color: var(--text-2);
      backdrop-filter: blur(10px);
      transition: all var(--t-fast);
    }
    .btn-icon:hover { color: var(--accent-rose); border-color: rgba(244,63,94,0.3); background: rgba(244,63,94,0.08); }
    .btn-icon i { width: 18px; height: 18px; }

    /* ============================================================
       4. QUICK STATS
       ============================================================ */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 24px;
    }
    .stat {
      background: var(--bg-card);
      border: 1px solid var(--border-1);
      border-radius: var(--r-lg);
      padding: 20px;
      display: flex; align-items: center; gap: 16px;
      transition: all var(--t-base);
    }
    .page-home .stats .stat {
      background: rgba(14, 14, 26, 0.92);
      border-color: rgba(255, 255, 255, 0.14);
      box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .page-home .stats .stat:hover {
      background: rgba(22, 22, 38, 0.96);
      border-color: rgba(255, 255, 255, 0.2);
    }
    .page-home .stat-label {
      color: rgba(255, 255, 255, 0.88);
    }
    .stat:hover {
      background: var(--bg-card-hover);
      border-color: var(--border-2);
      transform: translateY(-2px);
    }
    .stat-icon {
      width: 46px; height: 46px;
      border-radius: var(--r-md);
      display: grid; place-items: center;
      flex-shrink: 0;
    }
    .stat-icon i { width: 22px; height: 22px; }
    .stat-icon.cyan { background: rgba(0,212,255,0.08); color: var(--accent-cyan); }
    .stat-icon.violet { background: rgba(139,92,246,0.08); color: var(--accent-violet); }
    .stat-icon.lime { background: rgba(132,204,22,0.08); color: var(--accent-lime); }
    .stat-icon.amber { background: rgba(245,158,11,0.08); color: var(--accent-amber); }
    .stat-val { font-family: var(--font-heading); font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
    .stat-label { font-size: 13px; color: var(--text-3); }

    /* ============================================================
       SECTIONS
       ============================================================ */
    .section { padding: 48px 0; }
    .section-head {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 22px;
    }
    .section-head h2 {
      font-family: var(--font-heading);
      font-size: 22px; font-weight: 700; letter-spacing: -0.3px;
    }
    .see-all {
      font-size: 14px; color: var(--accent-cyan); font-weight: 500;
      display: flex; align-items: center; gap: 4px;
      transition: gap var(--t-fast);
    }
    .see-all:hover { gap: 8px; }
    .see-all i { width: 16px; height: 16px; }

    /* Category Tabs */
    .tabs {
      display: flex; gap: 8px; margin-bottom: 20px;
      overflow-x: auto; padding-bottom: 4px;
    }
    .tabs::-webkit-scrollbar { height: 0; }
    .tab {
      padding: 7px 18px; border-radius: var(--r-full);
      font-size: 13px; font-weight: 500;
      color: var(--text-2); background: var(--bg-glass);
      white-space: nowrap; transition: all var(--t-fast);
    }
    .tab:hover { color: var(--text-1); background: var(--bg-glass-strong); }
    .tab.active { color: #fff; background: var(--grad-primary); }

    /* ============================================================
       5. GAME CARDS GRID
       ============================================================ */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 20px;
    }
    .card {
      position: relative;
      border-radius: var(--r-lg);
      overflow: hidden;
      background: var(--bg-card);
      border: 1px solid var(--border-1);
      transition: all var(--t-slow);
      cursor: pointer;
    }
    .card:hover:not(.is-card-tilt) {
      transform: translateY(-5px);
      border-color: var(--border-2);
      box-shadow: var(--shadow-lg);
    }

    /* Image */
    .card-img {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: var(--bg-elevated);
    }
    .card-img img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform var(--t-slow);
    }
    .card:hover .card-img img { transform: scale(1.04); }
    .card-img::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
      background: linear-gradient(to top, rgba(10, 10, 18, 0.80), transparent);
      pointer-events: none;
    }

    /* Badges */
    .card-badges {
      position: absolute; top: 8px; left: 8px;
      display: flex; gap: 5px; z-index: 2;
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
    }
    .card-badges .badge {
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    /* Quick actions — hover */
    .card-actions {
      position: absolute; top: 8px; right: 8px;
      display: flex; flex-direction: column; gap: 5px; z-index: 2;
      opacity: 0; transform: translateX(8px);
      transition: all var(--t-base);
    }
    .card:hover .card-actions { opacity: 1; transform: translateX(0); }
    .qa-btn {
      width: 32px; height: 32px;
      border-radius: var(--r-sm);
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.08);
      color: #fff;
      display: grid; place-items: center;
      transition: all var(--t-fast);
    }
    .qa-btn:hover { background: rgba(0,0,0,0.75); }
    .qa-btn i { width: 14px; height: 14px; }

    /* Playtime */
    .card-live {
      position: absolute; bottom: 8px; left: 8px; z-index: 2;
      display: flex; align-items: center; gap: 5px;
      padding: 3px 8px; border-radius: var(--r-sm);
      background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
      font-size: 11px; color: var(--text-2);
    }
    .live-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--accent-lime);
    }

    /* Info */
    .card-body { padding: 14px; }
    .card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
    .card-tag {
      display: inline-flex;
      align-items: center;
      padding: 3px 8px;
      border-radius: var(--r-full);
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.35px;
      background: var(--tag-bg);
      color: var(--tag-text);
      border: 1px solid var(--tag-border);
    }
    .card-title {
      font-size: 14px; font-weight: 600; line-height: 1.35;
      margin-bottom: 6px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .card-meta {
      display: flex; align-items: center; gap: 10px;
      font-size: 12px; color: var(--text-3); margin-bottom: 8px;
    }
    .card-meta .platforms { display: flex; gap: 4px; }

    /* Review score */
    .score { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; }
    .score.good { color: var(--accent-lime); }
    .score.mid { color: var(--accent-amber); }
    .score.bad { color: var(--accent-rose); }
    .score i { width: 13px; height: 13px; }

    /* Pricing */
    .card-price { display: flex; align-items: center; justify-content: space-between; }
    .price { font-size: 16px; font-weight: 700; color: var(--accent-lime); }
    .price-old { font-size: 12px; color: var(--text-3); text-decoration: line-through; margin-right: 8px; }
    .price-row { display: flex; align-items: center; }
    .btn-sm { padding: 5px 14px; font-size: 12px; }

    /* ============================================================
       6. FEATURED + SIDEBAR
       ============================================================ */
    .featured {
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 20px;
    }
    .feat-main {
      border-radius: var(--r-xl); overflow: hidden;
      position: relative; aspect-ratio: 16/10;
      display: block;
    }
    .feat-main-stretch {
      position: absolute;
      inset: 0;
      z-index: 2;
    }
    .feat-main img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform var(--t-slow);
    }
    .feat-main:hover img { transform: scale(1.03); }
    .feat-main-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, var(--bg-scrim-heavy) 0%, var(--bg-scrim) 50%, transparent 80%);
      display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
      padding: 28px;
      z-index: 3;
      pointer-events: none;
    }
    .feat-main-overlay .badge {
      align-self: flex-start;
      width: auto;
      max-width: 100%;
      flex: 0 0 auto;
    }
    .feat-main-overlay h3 {
      font-family: var(--font-heading);
      font-size: 26px; font-weight: 800; letter-spacing: -0.5px;
      margin-bottom: 8px;
      color: #f4f6fa;
    }
    .feat-main-overlay p {
      font-size: 14px;
      color: rgba(240, 242, 245, 0.88);
      margin-bottom: 16px;
      max-width: 480px;
    }

    .feat-side { display: flex; flex-direction: column; gap: 14px; }
    .feat-card {
      display: flex; gap: 14px; padding: 14px;
      background: var(--bg-card); border: 1px solid var(--border-1);
      border-radius: var(--r-lg);
      transition: all var(--t-base); cursor: pointer; flex: 1;
    }
    .feat-card:hover { background: var(--bg-card-hover); border-color: var(--border-2); transform: translateX(3px); }
    .feat-card-img {
      width: 110px; min-height: 68px;
      border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0;
      background: var(--bg-elevated);
    }
    .feat-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .feat-card-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
    .feat-card-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .feat-card-info .tags { display: flex; gap: 4px; margin-bottom: 6px; }
    .feat-card-info .tags span {
      font-size: 10px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: var(--r-full);
      background: var(--tag-bg);
      color: var(--tag-text);
      border: 1px solid var(--tag-border);
    }
    .feat-card-info .p { font-size: 14px; font-weight: 700; color: var(--accent-lime); }

    /* ============================================================
       7. DEALS BANNER
       ============================================================ */
    .deals {
      position: relative; border-radius: var(--r-xl); overflow: hidden;
      padding: 48px;
      background: linear-gradient(135deg, #150530, #0a1a35);
      border: 1px solid rgba(139,92,246,0.15);
    }
    .deals-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(circle at 15% 50%, rgba(139,92,246,0.12), transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(0,212,255,0.08), transparent 50%);
    }
    .deals-bg--art {
      background-size: cover;
      background-position: center;
      opacity: 0.28;
    }
    .deals-bg--art::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(90deg, var(--bg-scrim-heavy) 0%, var(--bg-scrim-read) 55%, var(--bg-scrim-mid) 100%);
    }
    .feat-main-actions {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-top: 4px;
      position: relative;
      z-index: 4;
      pointer-events: auto;
    }
    .deals-inner {
      position: relative;
      display: flex; align-items: center; justify-content: space-between;
    }
    .deals-text h2 {
      font-family: var(--font-heading);
      font-size: 34px; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px;
    }
    .deals-text p { font-size: 15px; color: var(--text-2); max-width: 460px; }
    .deals-text .btn { margin-top: 18px; margin-right: 10px; }

    .countdown {
      display: flex;
      gap: clamp(14px, 2.5vw, 28px);
      align-items: center;
      flex-shrink: 0;
    }
    .cd-item { text-align: center; min-width: 4.5ch; }
    .cd-val {
      font-family: var(--font-heading);
      font-size: clamp(36px, 4.5vw, 52px);
      font-weight: 900;
      letter-spacing: -1.5px;
      line-height: 1;
    }
    .cd-val.hot { background: var(--grad-hot); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .cd-label {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-2);
      margin-top: 6px;
    }
    .cd-sep {
      font-size: clamp(28px, 3vw, 40px);
      color: var(--text-3);
      font-weight: 300;
      margin-top: -18px;
      line-height: 1;
    }

    /* ============================================================
       8. GENRE COLLAGE BANNERS
       Используются коллажи-арты пользователя
       ============================================================ */
    .genre-collages {
      display: flex; flex-direction: column; gap: 32px;
    }

    .genre-row-head {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 16px;
    }
    .genre-row-head h2 {
      font-family: var(--font-heading);
      font-size: 22px; font-weight: 700; letter-spacing: -0.3px;
      display: flex; align-items: center; gap: 10px;
    }
    .genre-row-head h2 i { width: 22px; height: 22px; color: var(--accent-cyan); }

    .genre-banner {
      position: relative;
      border-radius: var(--r-xl);
      overflow: hidden;
      cursor: pointer;
      transition: all var(--t-slow);
    }
    .genre-banner:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg), var(--glow-cyan);
    }

    /* ART: Коллаж-арт для жанра. Замените src на свой файл */
    .genre-banner img {
      width: 100%;
      aspect-ratio: 1672/941;
      object-fit: cover;
      display: block;
    }

    .genre-banner-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(10, 10, 18, 0.95) 0%, var(--bg-scrim) 40%, transparent 70%);
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 32px;
    }

    .genre-banner-overlay .genre-title {
      font-family: var(--font-heading);
      font-size: 28px; font-weight: 800; letter-spacing: -0.5px;
      margin-bottom: 6px;
    }
    .genre-banner-overlay .genre-desc {
      font-size: 14px; color: var(--text-2); max-width: 500px; margin-bottom: 16px;
    }
    .genre-banner-overlay .btn { align-self: flex-start; }

    /* Сетка коллажей — 2 колонки */
    .genre-pair {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .genre-pair .genre-banner img {
      aspect-ratio: 16/9;
    }

    /* Компактный баннер подборки: заголовок сверху слева + 1 карточка справа */
    .collection-spotlight-wrap {
      padding-top: 0;
      padding-bottom: 36px;
      overflow: visible;
    }
    .collection-spotlight-wrap .container {
      position: relative;
    }
    .genre-spotlight--reverse .genre-spotlight__top {
      flex-direction: row-reverse;
      padding: 20px 24px 20px 10px;
    }
    .genre-spotlight--reverse .genre-spotlight__bg::after {
      background: linear-gradient(
        -105deg,
        var(--bg-scrim) 0%,
        var(--bg-scrim-mid) 28%,
        var(--bg-scrim-read) 52%,
        var(--bg-scrim-heavy) 100%
      );
    }
    .section--grid { padding-top: 0; padding-bottom: 36px; }
    .grid--catalog {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 18px;
    }
    .section--grid-wide .grid--catalog {
      grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
    }
    .genre-spotlight {
      position: relative;
      border-radius: var(--r-xl);
      overflow: visible;
      isolation: isolate;
      border: 1px solid var(--border-1);
      background: var(--bg-surface);
      transition: border-color var(--t-base), box-shadow var(--t-base);
    }
    .genre-spotlight:hover {
      border-color: var(--border-2);
      box-shadow: var(--shadow-md);
    }
    .genre-spotlight__bg {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
    }
    .genre-spotlight__bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.28;
    }
    .genre-spotlight__bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        105deg,
        var(--bg-scrim-heavy) 0%,
        var(--bg-scrim-read) 48%,
        var(--bg-scrim-mid) 72%,
        var(--bg-scrim) 100%
      );
    }
    .genre-spotlight__body {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 0 0 14px;
      min-height: 0;
    }
    .genre-spotlight__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 10px 8px 24px;
      min-height: 0;
    }
    .genre-spotlight__copy {
      flex: 1;
      min-width: 0;
      align-self: center;
      padding-top: 2px;
      position: relative;
      z-index: 2;
    }
    .genre-spotlight__copy::before {
      content: '';
      position: absolute;
      inset: -10px -14px -10px -10px;
      z-index: -1;
      border-radius: var(--r-lg);
      background: linear-gradient(
        120deg,
        var(--bg-scrim-heavy) 0%,
        rgba(10, 10, 18, 0.92) 55%,
        var(--bg-scrim-mid) 100%
      );
      pointer-events: none;
    }
    .genre-spotlight--reverse .genre-spotlight__copy::before {
      inset: -10px -10px -10px -14px;
      background: linear-gradient(
        -120deg,
        var(--bg-scrim-heavy) 0%,
        rgba(10, 10, 18, 0.92) 55%,
        var(--bg-scrim-mid) 100%
      );
    }
    .genre-spotlight__rail-wrap {
      width: 100%;
      margin-inline: 0;
      padding: 0 12px 4px;
    }
    .genre-spotlight__rail-bar {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 6px;
      padding: 0 2px;
    }
    .genre-spotlight__rail.collection-rail {
      margin-top: 0;
    }
    .genre-spotlight__rail .collection-rail__track {
      padding-bottom: 12px;
    }
    .genre-spotlight__rail.collection-rail::before,
    .genre-spotlight__rail.collection-rail::after {
      display: none;
    }
    .genre-spotlight__copy .genre-title {
      font-family: var(--font-heading);
      font-size: clamp(28px, 3.2vw, 34px);
      font-weight: 800;
      letter-spacing: -0.6px;
      margin-bottom: 10px;
      line-height: 1.08;
    }
    .genre-spotlight__copy .genre-desc {
      font-size: 15px;
      color: rgba(240, 242, 245, 0.88);
      line-height: 1.55;
      max-width: 480px;
      margin-bottom: 16px;
    }
    .catalog-hero__body {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      min-height: 248px;
      padding: 20px 10px 20px 24px;
    }
    .genre-spotlight__slider {
      position: relative;
      z-index: 3;
      flex-shrink: 0;
      align-self: center;
      width: min(440px, 52vw);
    }
    .genre-spotlight__slider-stage {
      position: relative;
      padding: 0 26px;
    }
    .genre-spotlight__viewport {
      width: 100%;
      overflow: hidden;
      border-radius: var(--r-lg);
    }
    .genre-spotlight__arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 4;
      background: rgba(10, 10, 18, 0.82);
      border-color: var(--border-2);
      backdrop-filter: blur(12px);
    }
    .genre-spotlight__arrow--prev { left: 2px; }
    .genre-spotlight__arrow--next { right: 2px; }
    .genre-spotlight__arrow:disabled {
      opacity: 0.35;
      pointer-events: none;
    }
    .genre-spotlight__track {
      display: flex;
      transition: transform 0.45s var(--ease-out);
      will-change: transform;
    }
    .genre-spotlight__track > .feat-card {
      flex: 0 0 100%;
      width: 100%;
      min-width: 0;
      box-sizing: border-box;
      background: rgba(14, 14, 26, 0.94);
      border-color: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .genre-spotlight__track > .feat-card:hover {
      transform: translateX(2px);
      border-color: var(--border-2);
    }
    .genre-spotlight__track .feat-card-img {
      width: 110px;
      height: 100%;
      min-height: 88px;
      position: relative;
    }
    .genre-spotlight__badge {
      position: absolute;
      top: 6px;
      left: 6px;
      z-index: 2;
      font-size: 10px;
      padding: 3px 7px;
    }
    .genre-spotlight__track .feat-card-info .p {
      display: flex;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 15px;
    }
    .genre-spotlight__track .feat-card-info .p .price-old {
      font-size: 12px;
      color: var(--text-3);
      text-decoration: line-through;
      font-weight: 500;
    }

    /* Scroll-telling: 2 слоя обоев + статичная вуаль (без filter/transform) */
    body.page-home {
      background: var(--bg-base);
    }
    .scroll-walls {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
      contain: strict;
      transform: translateZ(0);
    }
    .scroll-wall {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center 24%;
      background-repeat: no-repeat;
      opacity: 0;
      transition: opacity 1.1s ease-out;
      will-change: opacity;
    }
    .scroll-wall.is-active {
      opacity: 1;
    }
    .scroll-wall-veil {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 88% 70% at 50% 32%, rgba(10, 10, 18, 0.28) 0%, rgba(10, 10, 18, 0.62) 72%),
        linear-gradient(180deg, rgba(10, 10, 18, 0.48) 0%, rgba(10, 10, 18, 0.68) 55%, rgba(10, 10, 18, 0.82) 100%);
    }
    .main-stage {
      position: relative;
      z-index: 1;
    }
    .page-home .section,
    .page-home .hero {
      background: transparent;
    }
    .page-home [data-scroll-chapter] {
      position: relative;
    }
    @media (prefers-reduced-motion: reduce) {
      .scroll-wall { transition: none; }
      html[data-theme="light"] { transition: none; }
    }

    /* legacy pick-hub (unused) */
    .pick-hub-section { padding-top: 0; }
    .pick-hub {
      background: var(--bg-glass);
      border: 1px solid var(--border-1);
      border-radius: var(--r-xl);
      padding: 20px;
    }
    .pick-hub__tabs {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
      margin-bottom: 18px;
      scrollbar-width: thin;
    }
    .pick-tab {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 14px 8px 8px;
      border-radius: var(--r-full);
      background: var(--bg-card);
      border: 1px solid var(--border-1);
      color: var(--text-2);
      font-size: 13px;
      font-weight: 600;
      transition: all var(--t-fast);
      white-space: nowrap;
    }
    .pick-tab:hover { color: var(--text-1); border-color: var(--border-2); }
    .pick-tab.active {
      color: #fff;
      border-color: transparent;
      background: var(--grad-primary);
      box-shadow: 0 4px 16px rgba(0,212,255,0.2);
    }
    .pick-tab__thumb {
      width: 36px;
      height: 36px;
      border-radius: var(--r-sm);
      overflow: hidden;
      flex-shrink: 0;
    }
    .pick-tab__thumb img { width: 100%; height: 100%; object-fit: cover; }
    .pick-tab__label { display: flex; align-items: center; gap: 6px; }
    .pick-tab__label i { width: 14px; height: 14px; }
    .pick-tab.active .pick-tab__label i { color: #fff; }

    .pick-panel { display: none; }
    .pick-panel.active { display: block; }

    .pick-panel__intro {
      display: grid;
      grid-template-columns: 140px 1fr auto;
      gap: 16px;
      align-items: center;
      margin-bottom: 16px;
    }
    .pick-panel__art {
      border-radius: var(--r-md);
      overflow: hidden;
      height: 78px;
      border: 1px solid var(--border-1);
    }
    .pick-panel__art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .pick-panel__copy h3 {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.3px;
      margin-bottom: 4px;
    }
    .pick-panel__copy p {
      font-size: 13px;
      color: var(--text-2);
      line-height: 1.45;
      max-width: 520px;
    }
    .pick-panel__all { white-space: nowrap; }

    .section-head--rail {
      flex-wrap: wrap;
      gap: 12px 16px;
      margin-bottom: 18px;
    }
    .section-head__actions {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-left: auto;
    }
    .section--rail {
      padding-top: 40px;
      padding-bottom: 40px;
      overflow: hidden;
    }
    .collection-rail {
      position: relative;
      margin-top: 0;
    }
    .collection-rail__nav {
      display: flex;
      gap: 8px;
      flex-shrink: 0;
    }
    .c-arrow--rail {
      width: 34px;
      height: 34px;
      background: var(--bg-glass-strong);
      border: 1px solid var(--border-2);
      color: var(--text-1);
    }
    .collection-rail__track {
      display: flex;
      gap: 14px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      padding: 4px 4px 16px;
      scrollbar-width: thin;
      scrollbar-color: var(--accent-cyan) transparent;
    }
    .collection-rail__track::-webkit-scrollbar {
      height: 5px;
    }
    .collection-rail__track::-webkit-scrollbar-track {
      background: transparent;
      margin: 0 8px;
    }
    .collection-rail__track::-webkit-scrollbar-thumb {
      background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
      border-radius: var(--r-full);
      opacity: 0.85;
    }
    .collection-rail__track::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(90deg, var(--accent-violet), var(--accent-rose));
    }
    .collection-rail::before,
    .collection-rail::after {
      content: '';
      position: absolute;
      top: 0;
      bottom: 20px;
      width: 40px;
      z-index: 2;
      pointer-events: none;
    }
    .collection-rail::before {
      left: 0;
      background: linear-gradient(90deg, var(--bg-base) 15%, transparent);
    }
    .collection-rail::after {
      right: 0;
      background: linear-gradient(-90deg, var(--bg-base) 15%, transparent);
    }

    .card--rail {
      flex: 0 0 188px;
      scroll-snap-align: start;
    }
    .card--rail .card-img--portrait { aspect-ratio: 3 / 4; }
    .card--rail .card-body { padding: 10px 12px 12px; }
    .card--rail .card-title a { font-size: 13px; }
    .card--rail .card-meta { margin-bottom: 6px; }
    .card--rail .card-price .btn-sm { padding: 6px 12px; font-size: 12px; }

    /* ============================================================
       9. GLASS FEATURES
       ============================================================ */
    .glass-row {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    }
    .glass {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid var(--border-2);
      border-radius: var(--r-xl);
      padding: 28px;
      transition: all var(--t-slow);
      position: relative; overflow: hidden;
    }
    .glass::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    }
    .glass:hover {
      transform: translateY(-3px);
      border-color: var(--border-3);
      box-shadow: var(--glow-cyan);
    }
    .glass-icon {
      width: 50px; height: 50px;
      border-radius: var(--r-md);
      display: grid; place-items: center;
      margin-bottom: 20px;
    }
    .glass-icon i { width: 24px; height: 24px; }
    .glass h3 {
      font-family: var(--font-heading);
      font-size: 17px; font-weight: 700; margin-bottom: 8px;
    }
    .glass p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

    /* ============================================================
       10. REVIEWS
       ============================================================ */
    .reviews {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 20px;
    }
    .review {
      background: var(--bg-card); border: 1px solid var(--border-1);
      border-radius: var(--r-lg); padding: 22px;
      transition: all var(--t-base);
    }
    .review:hover { background: var(--bg-card-hover); border-color: var(--border-2); }
    .review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
    .review-avatar {
      width: 38px; height: 38px; border-radius: var(--r-full);
      background: var(--grad-cool); display: grid; place-items: center;
      font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
    }
    .review-author { flex: 1; }
    .review-author strong { display: block; font-size: 14px; }
    .review-author span { font-size: 12px; color: var(--text-3); }
    .review-stars { color: var(--accent-amber); font-size: 13px; letter-spacing: 2px; }
    .review-stars i { width: 14px; height: 14px; }
    .review blockquote { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
    .review .about { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 5px; }
    .review .about strong { color: var(--accent-cyan); font-weight: 500; }
    .review .about i { width: 12px; height: 12px; }

    /* ============================================================
       11. NEWS
       ============================================================ */
    .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .news {
      display: flex; gap: 20px;
      background: var(--bg-card); border: 1px solid var(--border-1);
      border-radius: var(--r-lg); overflow: hidden;
      cursor: pointer; transition: all var(--t-base);
    }
    .news:hover { background: var(--bg-card-hover); border-color: var(--border-2); }
    .news-img { width: 220px; flex-shrink: 0; background: var(--bg-elevated); }
    .news-img img { width: 100%; height: 100%; object-fit: cover; }
    .news-body { padding: 22px; display: flex; flex-direction: column; justify-content: center; }
    .news-tag {
      font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
      color: var(--accent-cyan); margin-bottom: 8px;
    }
    .news-body h3 {
      font-size: 15px; font-weight: 600; line-height: 1.45; margin-bottom: 8px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .news-body p { font-size: 13px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
    .news-body p i { width: 13px; height: 13px; }

    /* ============================================================
       12. FOOTER
       ============================================================ */
    .footer {
      position: relative;
      z-index: 2;
      margin-top: 64px;
      border-top: 1px solid var(--border-1);
      background: var(--bg-surface);
      isolation: isolate;
    }
    .page-home .footer {
      background: rgba(14, 14, 26, 0.98);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.45);
    }
    .footer-grid {
      padding: 56px 0 40px;
      display: grid;
      grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
      gap: 40px;
    }
    .footer-brand .logo,
    .footer-brand .logo-lockup { margin-bottom: 14px; }
    .footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-bottom: 20px; max-width: 280px; }
    .footer-social { display: flex; gap: 8px; }
    .footer-social a {
      width: 34px; height: 34px; border-radius: var(--r-sm);
      background: var(--bg-glass); display: grid; place-items: center;
      color: var(--text-3); transition: all var(--t-fast);
    }
    .footer-social a:hover { background: var(--bg-glass-strong); color: var(--text-1); }
    .footer-social a i { width: 16px; height: 16px; }

    .f-col h4 {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 1.2px; color: var(--text-1); margin-bottom: 18px;
    }
    .f-col a { display: block; padding: 4px 0; font-size: 14px; color: var(--text-3); transition: color var(--t-fast); }
    .f-col a:hover { color: var(--text-1); }

    .footer-bottom {
      border-top: 1px solid var(--border-1);
      padding: 18px 0;
      display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
      gap: 8px 16px;
      font-size: 13px; color: var(--text-3);
    }
    .footer-bottom__addr { flex: 1 1 220px; max-width: 100%; line-height: 1.45; }
    .footer-links { display: flex; gap: 28px; }
    .footer-links a { color: var(--text-3); transition: color var(--t-fast); }
    .footer-links a:hover { color: var(--text-1); }

    /* ============================================================
       ANIMATIONS
       ============================================================ */
    @keyframes dropIn {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes shimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
    @keyframes pulse {
      0%,100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }

    .skeleton {
      background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      border-radius: var(--r-sm);
    }

    .live-badge {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 4px 10px; border-radius: var(--r-full);
      background: rgba(244,63,94,0.1); border: 1px solid rgba(244,63,94,0.25);
      font-size: 12px; font-weight: 600; color: var(--accent-rose);
      margin-bottom: 10px;
    }
    .live-badge .dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--accent-rose); animation: pulse 2s ease-in-out infinite;
    }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 1024px) {
      .featured { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .footer-brand { grid-column: 1 / -1; }
      .glass-row { grid-template-columns: 1fr 1fr; }
      .deals-inner { flex-direction: column; gap: 28px; text-align: center; }
      .slide-body h1 { font-size: 34px; }
      .genre-pair { grid-template-columns: 1fr; }
      .genre-spotlight__top { flex-direction: column; min-height: 0; padding: 16px 16px 4px; }
      .genre-spotlight--reverse .genre-spotlight__top { flex-direction: column; padding: 16px; }
      .genre-spotlight__body { gap: 12px; padding-bottom: 12px; }
      .genre-spotlight__rail-wrap { padding: 0 8px; }
      .catalog-hero__body { flex-direction: column; min-height: 0; padding: 16px; }
      .genre-spotlight__track .feat-card-img {
        width: 96px;
        min-height: 72px;
      }
      .genre-spotlight__slider { align-self: stretch; width: 100%; max-width: 360px; margin: 0 auto; }
      .genre-spotlight__slider-stage { padding: 0 20px; }
      .genre-spotlight__arrow--prev { left: 0; }
      .genre-spotlight__arrow--next { right: 0; }
      .pick-panel__intro { grid-template-columns: 1fr; }
      .pick-panel__art { height: 120px; max-width: 220px; }
      .pick-panel__all { justify-self: start; }
    }

    @media (max-width: 768px) {
      :root {
        --header-logo-size: 76px;
        --header-inner-min-h: 92px;
      }
      .nav { display: none; }
      .header-subnav { display: none !important; }
      .header-inner { gap: 16px; }
      .search { max-width: none; }
      .search .s-kbd { display: none; }
      .stats { grid-template-columns: 1fr 1fr; }
      .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
      .slide-body h1 { font-size: 26px; }
      .slide-body.left,
      .slide-body.right {
        padding: 24px var(--content-gutter) 32px;
      }
      .slide-body { max-width: 340px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
      .footer-brand { grid-column: 1 / -1; }
      .news-grid { grid-template-columns: 1fr; }
      .glass-row { grid-template-columns: 1fr; }
      .deals { padding: 28px; }
      .deals-text h2 { font-size: 26px; }
      .countdown { gap: 12px; }
      .cd-val { font-size: 24px; }
    }

    @media (max-width: 480px) {
      :root {
        --content-gutter: 16px;
      }
      .stats { grid-template-columns: 1fr; }
      .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
      .card-body { padding: 10px; }
      .card-tags { display: none; }
    }
/* StyleCollection extensions */
.catalog-layout { padding: 8px 0 72px; }
.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-bottom: 20px;
}
.catalog-toolbar__search {
  flex: 1; min-width: min(100%, 280px); display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--border-1); background: var(--bg-glass);
}
.catalog-toolbar__icon { display: grid; place-items: center; color: var(--text-3); flex-shrink: 0; }
.catalog-toolbar__icon i { width: 18px; height: 18px; }
.catalog-toolbar__search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text-1);
  font-size: 14px; padding: 8px 0;
}
.catalog-toolbar__search input:focus { outline: none; }
.catalog-toolbar__filters-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding-inline: 18px; border-radius: var(--r-full);
}
.catalog-toolbar__filters-btn i { width: 18px; height: 18px; }
.catalog-toolbar__badge {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full);
  background: var(--grad-primary); color: #fff; font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.catalog-filter-drawer { position: fixed; inset: 0; z-index: 190; }
.catalog-filter-drawer[hidden] { display: none !important; }
body.is-catalog-filters-open { overflow: hidden; }
.catalog-filter-drawer__backdrop {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  background: rgba(4, 6, 14, 0.55); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.32s ease;
}
.catalog-filter-drawer.is-open .catalog-filter-drawer__backdrop { opacity: 1; }
.catalog-filter-drawer__panel {
  position: absolute; top: 0; left: 0; width: min(380px, 92vw); height: 100%;
  display: flex; flex-direction: column;
  background: var(--bg-surface); border-right: 1px solid var(--border-1);
  box-shadow: 16px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(-104%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.catalog-filter-drawer.is-open .catalog-filter-drawer__panel { transform: translateX(0); }
.catalog-filter-drawer__head {
  flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--border-1);
}
.catalog-filter-drawer__head h3 {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; margin: 0 0 2px;
}
.catalog-filter-drawer__head .catalog-filters__count { font-size: 12px; font-weight: 600; color: var(--text-3); }
.catalog-filter-drawer__scroll {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  padding: 18px 20px 28px;
  -webkit-overflow-scrolling: touch;
}
.catalog-filter-drawer__scroll .catalog-filters__genres { max-height: none; }
.catalog-filters-fab {
  position: fixed; z-index: 60; right: max(16px, calc((100vw - var(--content-max)) / 2 + 12px));
  bottom: 24px; width: 52px; height: 52px; border-radius: var(--r-full);
  border: 1px solid var(--border-2); background: var(--bg-surface);
  box-shadow: var(--shadow-lg); color: var(--text-1);
  display: none; align-items: center; justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.catalog-filters-fab i { width: 22px; height: 22px; }
.catalog-filters-fab:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.catalog-filters-fab__badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-full); background: var(--accent-rose); color: #fff;
  font-size: 10px; font-weight: 800; display: grid; place-items: center;
}
.catalog-filters__count { font-size: 12px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.catalog-filters__block { margin-bottom: 20px; }
.catalog-filters__block:last-child { margin-bottom: 0; }
.catalog-filters__title { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.1px; color: var(--text-3); margin: 0 0 10px; }
.catalog-filters__title i { width: 14px; height: 14px; color: var(--brand); }
.catalog-filters__title--spaced { margin-top: 16px; }
.catalog-filters__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.catalog-filters__types,
.catalog-filters__sort { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 8px 12px; border-radius: var(--r-full);
  border: 1px solid var(--border-1); background: rgba(0,0,0,0.2);
  font-size: 12px; font-weight: 600; color: var(--text-2); text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.catalog-pill i { width: 14px; height: 14px; flex-shrink: 0; }
.catalog-pill:hover { border-color: var(--border-2); color: var(--text-1); background: var(--bg-glass); }
.catalog-pill.is-on { border-color: rgba(14, 158, 196, 0.55); background: rgba(14, 158, 196, 0.14); color: var(--text-1); box-shadow: 0 0 0 1px rgba(14, 158, 196, 0.2); }
.catalog-pill--sm { min-height: 32px; padding: 6px 10px; font-size: 11px; }
.catalog-filters__genres { display: flex; flex-direction: column; gap: 4px; padding-right: 2px; }
.catalog-genre {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm); font-size: 13px; color: var(--text-2); text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.catalog-genre i { width: 16px; height: 16px; color: var(--text-3); }
.catalog-genre:hover { background: var(--bg-glass); color: var(--text-1); }
.catalog-genre.is-on { background: rgba(14, 158, 196, 0.1); color: var(--text-1); }
.catalog-genre.is-on i { color: var(--brand); }
.catalog-genre__cnt { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.catalog-filters__price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.catalog-filters__price-sep { color: var(--text-3); font-size: 12px; }
.catalog-filters__apply { width: 100%; margin-top: 14px; }
.catalog-filters__reset { width: 100%; margin-top: 8px; display: flex; justify-content: center; }
.catalog-results-meta { font-size: 13px; color: var(--text-3); margin: 0 0 18px; }
[data-card-grid],
.page-home .collection-rail__track,
.page-home .grid--catalog {
  perspective: 720px;
  perspective-origin: 50% 35%;
}
[data-card-grid] .card--grid,
.page-home .card--grid,
.page-home .card--rail {
  position: relative;
  z-index: 0;
  transform-style: preserve-3d;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}
[data-card-grid] .card--grid.is-card-tilt,
.page-home .card--grid.is-card-tilt,
.page-home .card--rail.is-card-tilt {
  z-index: 3;
  will-change: transform;
  border-color: var(--border-2);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.5),
    0 12px 24px rgba(14, 158, 196, 0.22);
}
[data-card-grid] .card--grid .card-media,
.page-home .card--grid .card-media,
.page-home .card--rail .card-media {
  transform: translateZ(36px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-card-grid] .card--grid .card-body,
.page-home .card--grid .card-body,
.page-home .card--rail .card-body {
  transform: translateZ(52px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-card-grid] .card--grid.is-card-tilt .card-img img,
.page-home .card--grid.is-card-tilt .card-img img,
.page-home .card--rail.is-card-tilt .card-img img {
  transform: scale(1.1);
}
[data-card-grid] .card--grid.is-card-tilt .card-foot-buy,
.page-home .card--grid.is-card-tilt .card-foot-buy {
  transform: scale(1.08) translateZ(8px);
}
[data-card-grid] .card--grid:hover .card-img img,
.page-home .card--grid:hover .card-img img,
.page-home .card--rail:hover .card-img img {
  transform: none;
}
.catalog-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.catalog-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 14px;
  border-radius: var(--r-full); border: 1px solid var(--border-1); background: var(--bg-glass);
  font-size: 12px; font-weight: 600; color: var(--text-2); text-decoration: none;
}
.catalog-chip i { width: 14px; height: 14px; opacity: 0.7; }
.catalog-chip:hover { border-color: var(--brand); color: var(--text-1); }
.catalog-chip--clear { border-style: dashed; color: var(--text-3); }
.page-about-hero { padding: 48px 0 32px; background: linear-gradient(180deg, rgba(14, 158, 196, 0.08) 0%, transparent 100%); border-bottom: 1px solid var(--border-1); }
.page-about-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 12px; }
.page-about-hero__lead { font-size: 1.1rem; color: var(--text-2); max-width: 56ch; line-height: 1.6; margin: 0; }
.page-about__grid { display: grid; grid-template-columns: 1fr min(300px, 32%); gap: 28px; align-items: start; }
.page-about-card { padding: 20px 22px; margin-bottom: 14px; border-radius: var(--r-lg); border: 1px solid var(--border-1); background: var(--bg-glass); }
.page-about-card h2 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.page-about-card p { margin: 0; color: var(--text-2); line-height: 1.65; }
.page-about-aside { position: sticky; top: var(--layout-sticky-top); padding: 22px; border-radius: var(--r-lg); border: 1px solid rgba(14, 158, 196, 0.35); background: rgba(14, 158, 196, 0.08); }
.page-about-aside h3 { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 10px; }
.page-about-aside p { font-size: 14px; color: var(--text-2); margin-bottom: 16px; line-height: 1.55; }
.page-about-aside .btn { width: 100%; margin-bottom: 8px; justify-content: center; }
@media (max-width: 900px) {
  .page-about__grid { grid-template-columns: 1fr; }
  .page-about-aside { position: static; }
}
.filter-block { margin-bottom: 22px; }
.filter-block h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-3); margin-bottom: 12px; }
.filter-check { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); font-size: 13px; cursor: pointer; margin-bottom: 4px; }
.filter-check:hover { background: var(--bg-glass); }
.filter-check.is-on { background: rgba(0,212,255,0.08); }
.filter-check input { accent-color: var(--accent-cyan); }
.filter-check .cnt { margin-left: auto; font-size: 11px; color: var(--text-3); }
.filter-input, .filter-select { width: 100%; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--border-1); background: rgba(0,0,0,0.25); color: var(--text-1); font-size: 14px; }
.filter-block .price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; justify-content: center; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--border-1); font-weight: 600; font-size: 14px; }
.pager a.is-on { background: var(--grad-primary); color: #fff; border-color: transparent; }
.empty { text-align: center; color: var(--text-3); padding: 48px; }
.card-img--portrait { aspect-ratio: 2 / 3; }
.game-hero { position: relative; min-height: 380px; margin-bottom: 40px; }
.game-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center top; filter: brightness(0.35); }
.game-hero__bg--fallback {
  background-image: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #0a0a12 100%) !important;
  filter: none;
}
.game-buy { gap: 16px; }
.game-buy .btn-fav { flex-shrink: 0; }
.btn-fav.is-on { color: var(--accent-hot); border-color: rgba(244, 63, 94, 0.45); background: rgba(244, 63, 94, 0.12); }
.btn-fav.is-on svg { fill: currentColor; }
.btn-fav--card { width: 36px; height: 36px; }
.card-img-foot { display: flex; align-items: center; gap: 8px; }
.fav-page-grid { display: grid; gap: 16px; }
.fav-page-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}
.fav-page-card__cover img { width: 88px; height: 118px; object-fit: cover; border-radius: var(--r-md); }
.fav-page-card__body { display: flex; flex-direction: column; gap: 8px; }
.fav-page-card__actions { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.icon-btn--fav .cart-badge-count { background: var(--accent-hot); }
.game-hero__veil { position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg-base) 0%, transparent 55%, rgba(10, 10, 18, 0.85) 100%); }
.game-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 48px;
}
.game-hero__grid { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.game-hero__cover { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); }
.game-hero__info { min-width: 0; }
.game-hero__parent { margin: 0 0 12px; }
.chip--link { text-decoration: none; color: var(--text-2); }
.chip--link:hover { color: var(--text-1); border-color: var(--brand); }
.game-hero__title { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 10px; }
.game-hero__tagline { font-size: 1.05rem; margin-bottom: 16px; color: var(--text-2); max-width: 72ch; line-height: 1.55; }
.game-about__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--text-1);
}
.game-about__text { margin-bottom: 28px; }
.game-about .game-delivery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.game-parent-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 18px; margin-bottom: 22px; border-radius: var(--r-lg);
  border: 1px solid var(--border-2);
  background: var(--bg-surface);
}
.game-parent-card__label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 4px; }
.game-parent-card__title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--text-1); }
.game-parent-card__hint { font-size: 13px; color: var(--text-2); margin-top: 6px; max-width: 52ch; }
.game-delivery { margin-top: 8px; }
.game-delivery__title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--text-1); }
.game-delivery__title i { width: 18px; height: 18px; color: var(--brand); }
.game-delivery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.game-delivery-card {
  padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--border-1);
  background: var(--bg-glass);
}
.game-delivery-card h4 { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--text-1); }
.game-delivery-card h4 i { width: 16px; height: 16px; color: var(--brand); }
.game-delivery-card ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13px; line-height: 1.55; }
.game-delivery-card li + li { margin-top: 6px; }
.game-dlc-section { padding-top: 0; scroll-margin-top: 96px; }
.game-dlc-section__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.game-dlc-section__lead { color: var(--text-2); font-size: 14px; max-width: 640px; margin-top: 8px; }
.game-dlc-section__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 20px; }
.game-dlc-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  transition: border-color var(--t-base), background var(--t-base);
}
.game-dlc-card:hover { border-color: var(--border-2); background: var(--bg-card-hover); }
.game-dlc-card__cover { position: relative; display: block; }
.game-dlc-card__cover img { width: 100px; height: 134px; object-fit: cover; border-radius: var(--r-md); }
.game-dlc-card__cover .badge { position: absolute; top: 8px; left: 8px; }
.game-dlc-card__title { font-size: 16px; font-weight: 700; color: var(--text-1); display: block; margin-bottom: 6px; }
.game-dlc-card__tagline { font-size: 13px; color: var(--text-2); line-height: 1.45; margin-bottom: 12px; }
.game-dlc-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.game-dlc-card__prices .price { font-weight: 700; color: var(--accent-lime); }

.game-parent-offer { padding-top: 0; scroll-margin-top: 96px; }
.game-parent-offer__card {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
html[data-theme="light"] .game-parent-offer__card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.12);
}
.game-parent-offer__media img { width: 100%; border-radius: var(--r-md); aspect-ratio: 3/4; object-fit: cover; }
.game-parent-offer__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-cyan); }
.game-parent-offer__title { font-family: var(--font-heading); font-size: 1.5rem; margin: 8px 0; }
.game-parent-offer__title a { color: inherit; }
.game-parent-offer__text { color: var(--text-2); font-size: 14px; line-height: 1.55; max-width: 560px; }
.game-parent-offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.game-parent-offer__prices { display: flex; align-items: baseline; gap: 10px; }

.game-addons { margin-top: 32px; }
.game-addons__title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 12px; }
.game-addons__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.game-addon-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center;
  padding: 10px; border-radius: var(--r-md); border: 1px solid var(--border-1); background: var(--bg-card);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.game-addon-card:hover { border-color: var(--border-2); background: var(--bg-card-hover); }
.game-addon-card img { width: 72px; height: 96px; object-fit: cover; border-radius: var(--r-sm); }
.game-addon-card strong { display: block; font-size: 14px; margin: 6px 0 4px; color: var(--text-1); }
.game-addon-card__price { font-size: 13px; font-weight: 700; color: var(--accent-lime); }
.drawer-reco { padding: 0 16px 12px; border-top: 1px solid var(--border-1); overflow-x: auto; }
.drawer-reco .reco-strip__grid { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
.reco-strip { margin-top: 16px; }
.reco-strip__head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 10px; }
.reco-strip__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.reco-tablet {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-md);
  overflow: hidden; border: 1px solid var(--border-1); background: var(--bg-card);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.reco-tablet:hover { border-color: var(--border-2); transform: translateY(-2px); }
.reco-tablet__pill {
  position: absolute; top: 6px; left: 6px; z-index: 2; padding: 2px 8px; border-radius: var(--r-full);
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--grad-hot); color: #fff;
}
.reco-tablet__img { aspect-ratio: 3/4; background: var(--bg-elevated); }
.reco-tablet__img img { width: 100%; height: 100%; object-fit: cover; }
.reco-tablet__meta { padding: 8px 10px 10px; }
.reco-tablet__meta strong { display: block; font-size: 12px; line-height: 1.3; color: var(--text-1); margin-bottom: 4px; }
.reco-tablet__meta span { font-size: 12px; font-weight: 700; color: var(--accent-lime); }
.modal-panel .reco-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-buy {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.game-buy .price-big {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #15803d;
}
.game-buy .price-big s {
  color: #5c667a;
}
.chip { display: inline-flex; padding: 6px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; border: 1px solid var(--border-1); background: var(--bg-glass); margin: 0 8px 8px 0; }
.chip:hover { border-color: var(--accent-cyan); }
.prose { color: var(--text-2); line-height: 1.7; max-width: 72ch; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent-cyan); }
.drawer[hidden] { display: none !important; }
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); }
.drawer-panel { position: absolute; top: 0; right: 0; width: min(400px, 100%); height: 100%; background: var(--bg-surface); border-left: 1px solid var(--border-1); display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border-1); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.drawer-foot { padding: 20px 22px; border-top: 1px solid var(--border-1); }
.cart-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-1); }
.cart-row img { width: 52px; height: 78px; object-fit: cover; border-radius: var(--r-sm); }
.icon-btn { position: relative; }
.cart-badge-count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: var(--r-full); background: var(--accent-rose); font-size: 10px; font-weight: 800; color: #fff; display: grid; place-items: center; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg-surface); border: 1px solid var(--border-2); border-radius: var(--r-md); box-shadow: var(--shadow-lg); z-index: 50; overflow: hidden; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border-1); }
.suggest-item:hover { background: var(--bg-glass); }
.suggest-item img { width: 36px; height: 54px; object-fit: cover; border-radius: 6px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; padding: 12px 22px; border-radius: var(--r-full); background: var(--text-1); color: var(--bg-base); font-weight: 700; }
.toast[hidden] { display: none; }
@media (max-width: 900px) {
  .catalog-toolbar__filters-btn span:not(.catalog-toolbar__badge) { display: none; }
  .catalog-filters-fab { display: flex; }
  .game-hero__grid { grid-template-columns: 1fr; }
}

/* Grid cards: цена на обложке */
.card--grid {
  --card-fill: var(--bg-surface);
  display: flex;
  flex-direction: column;
  background: var(--card-fill);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}
.card--grid:hover {
  transform: scale(1.02);
  border-color: var(--border-2);
  box-shadow: var(--shadow-card-hover);
}
.card--grid .card-media {
  position: relative;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.card--grid .card-img {
  aspect-ratio: 2 / 3;
  display: block;
}
.card--grid .card-img::after {
  display: none;
}
.card--grid .card-img img {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card--grid:hover .card-img img {
  transform: scale(1.05);
}
.card-img-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 10px 12px;
  background: linear-gradient(
    to top,
    var(--card-foot-bg-solid) 0%,
    var(--card-foot-bg-mid) 42%,
    transparent 100%
  );
  transition: padding 0.3s ease;
}
.card-foot-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.card-foot-prices .price {
  font-size: 17px;
  font-weight: 800;
  color: var(--price-color);
  line-height: 1;
  text-shadow: var(--price-shadow);
}
.card-foot-prices .price-old {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: line-through;
}
.card-foot-buy {
  flex-shrink: 0;
  padding: 6px 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card--grid:hover .card-foot-buy {
  transform: scale(1.04);
}
.card--grid .card-body {
  flex: 1;
  padding: 12px 14px 14px;
  background: var(--card-fill);
  border-top: 1px solid var(--border-1);
  position: relative;
  z-index: 4;
  margin-top: -1px;
}
.card--grid .card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-1);
}
.card--grid .card-tags {
  margin-bottom: 6px;
  gap: 5px;
}
.card--grid .card-meta {
  margin-bottom: 0;
}
.card-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@keyframes card-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.grid .card--grid {
  animation: card-rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.grid .card--grid:nth-child(1) { animation-delay: 0.02s; }
.grid .card--grid:nth-child(2) { animation-delay: 0.05s; }
.grid .card--grid:nth-child(3) { animation-delay: 0.08s; }
.grid .card--grid:nth-child(4) { animation-delay: 0.11s; }
.grid .card--grid:nth-child(5) { animation-delay: 0.14s; }
.grid .card--grid:nth-child(6) { animation-delay: 0.17s; }
.grid .card--grid:nth-child(7) { animation-delay: 0.2s; }
.grid .card--grid:nth-child(8) { animation-delay: 0.23s; }

@media (prefers-reduced-motion: reduce) {
  .grid .card--grid {
    animation: none;
  }
  .card--grid,
  .card--grid .card-img img,
  .card-foot-buy,
  [data-card-grid] .card--grid,
  [data-card-grid] .card--grid .card-media,
  [data-card-grid] .card--grid .card-body,
  .page-home .card--grid,
  .page-home .card--rail,
  .page-home .card--grid .card-media,
  .page-home .card--rail .card-media {
    transition: none;
  }
  [data-card-grid] .card--grid.is-card-tilt,
  .page-home .card--grid.is-card-tilt,
  .page-home .card--rail.is-card-tilt {
    transform: none !important;
  }
  .card--grid:hover .card-img img {
    transform: none;
  }
  .catalog-filter-drawer__panel,
  .catalog-filter-drawer__backdrop {
    transition: none;
  }
}

/* Каталог hero = spotlight таблетка */
.catalog-hero-wrap {
  padding: 20px 0 28px;
}
.catalog-hero-wrap.section {
  padding-top: 20px;
  padding-bottom: 28px;
}
.catalog-hero-wrap__inner {
  padding-inline: 0;
}
.catalog-hero__body { min-height: 248px; }

/* Тема: тёмная (доп. переменные карточек) */
:root {
  --card-foot-bg-solid: rgba(10, 10, 18, 0.97);
  --card-foot-bg-mid: rgba(10, 10, 18, 0.55);
  --price-color: var(--accent-lime);
  --price-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  --tag-bg: rgba(255, 255, 255, 0.08);
  --tag-text: var(--text-2);
  --tag-border: rgba(255, 255, 255, 0.1);
  --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

/* Светлая тема — мягкий фон, плотные карточки */
html[data-theme="light"] {
  color-scheme: light;

  --bg-base: #dfe3eb;
  --bg-surface: #ffffff;
  --bg-elevated: #f0f2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fc;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-strong: rgba(255, 255, 255, 0.94);

  --text-1: #141824;
  --text-2: #3d4658;
  --text-3: #5c667a;
  --text-accent: #0e7490;

  --border-1: rgba(20, 24, 36, 0.1);
  --border-2: rgba(20, 24, 36, 0.16);
  --border-3: rgba(20, 24, 36, 0.22);

  --shadow-sm: 0 2px 8px rgba(20, 24, 36, 0.06);
  --shadow-md: 0 6px 24px rgba(20, 24, 36, 0.1);
  --shadow-lg: 0 14px 40px rgba(20, 24, 36, 0.14);
  --shadow-card-hover: 0 18px 44px rgba(20, 24, 36, 0.16);
  --glow-cyan: 0 0 24px rgba(14, 116, 144, 0.12);
  --glow-violet: 0 0 24px rgba(109, 40, 217, 0.1);

  --accent-cyan: #0891b2;
  --accent-violet: #7c3aed;
  --accent-rose: #e11d48;
  --accent-lime: #16a34a;
  --accent-amber: #d97706;

  --card-foot-bg-solid: rgba(255, 255, 255, 0.98);
  --card-foot-bg-mid: rgba(255, 255, 255, 0.72);
  --price-color: #15803d;
  --price-shadow: none;
  --tag-bg: #eef1f6;
  --tag-text: #3d4a5f;
  --tag-border: rgba(20, 24, 36, 0.1);

  --bg-scrim: rgba(223, 227, 235, 0.22);
  --bg-scrim-mid: rgba(223, 227, 235, 0.48);
  --bg-scrim-read: rgba(223, 227, 235, 0.72);
  --bg-scrim-heavy: rgba(248, 250, 253, 0.98);

  transition: background-color 0.35s ease, color 0.35s ease;
}

html[data-theme="light"] body {
  background: var(--bg-base);
}

html[data-theme="light"] .scroll-wall {
  filter: brightness(0.96) saturate(0.92) contrast(1.04);
}
html[data-theme="light"] .scroll-wall-veil {
  background:
    radial-gradient(ellipse 88% 70% at 50% 32%, rgba(223, 227, 235, 0.22) 0%, rgba(223, 227, 235, 0.5) 72%),
    linear-gradient(180deg, rgba(223, 227, 235, 0.38) 0%, rgba(223, 227, 235, 0.52) 55%, rgba(223, 227, 235, 0.62) 100%);
}
html[data-theme="light"] .page-home .section,
html[data-theme="light"] .page-home .hero {
  background: transparent;
}
/* Hero-карусель: светлая вуаль + тёмный текст (не белое на белом) */
html[data-theme="light"] .slide-overlay-left {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.88) 38%,
    rgba(255, 255, 255, 0.35) 62%,
    transparent 78%
  );
}
html[data-theme="light"] .slide-overlay-right {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.88) 38%,
    rgba(255, 255, 255, 0.35) 62%,
    transparent 78%
  );
}
/* Рекомендуемое: светлая вуель снизу + тёмный текст */
html[data-theme="light"] .feat-main-overlay {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.82) 38%,
    rgba(255, 255, 255, 0.35) 68%,
    transparent 88%
  );
}
html[data-theme="light"] .feat-main-overlay h3 {
  color: var(--text-1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
html[data-theme="light"] .feat-main-overlay p {
  color: var(--text-2);
}
/* Страница игры: только цвет текста в светлой теме (фон hero как в тёмной) */
html[data-theme="light"] .game-hero__title {
  color: #f4f6fa;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
html[data-theme="light"] .game-hero__tagline {
  color: rgba(240, 242, 245, 0.9);
}
html[data-theme="light"] .game-hero .breadcrumb {
  color: rgba(240, 242, 245, 0.65);
}
html[data-theme="light"] .game-hero .breadcrumb a {
  color: #7dd3fc;
}
html[data-theme="light"] .game-hero .chip {
  color: rgba(240, 242, 245, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .game-about .game-delivery-card {
  background: #ffffff;
  border-color: var(--border-1);
  box-shadow: var(--shadow-sm);
}
html[data-theme="light"] .slide-body h1 {
  color: var(--text-1);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
html[data-theme="light"] .slide-body p {
  color: var(--text-2);
}
html[data-theme="light"] .slide-meta {
  color: var(--text-3);
}
html[data-theme="light"] .slide-meta span {
  color: var(--text-2);
}
html[data-theme="light"] .carousel {
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg);
}
html[data-theme="light"] .c-dot {
  background: rgba(20, 24, 36, 0.2);
}
html[data-theme="light"] .c-dot.active {
  background: var(--brand);
}
html[data-theme="light"] .c-arrow {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border-2);
  color: var(--text-1);
}
html[data-theme="light"] .c-arrow:hover {
  background: #fff;
  border-color: var(--border-3);
}
html[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html[data-theme="light"] .promo-bar {
  background: var(--bg-surface);
  color: var(--text-2);
  border-bottom-color: var(--border-1);
}
html[data-theme="light"] .card--grid {
  --card-fill: #ffffff;
  border-color: var(--border-1);
  box-shadow: var(--shadow-sm);
}
html[data-theme="light"] .card--grid:hover {
  border-color: rgba(14, 116, 144, 0.28);
  box-shadow: var(--shadow-card-hover);
}
html[data-theme="light"] .card--grid .card-body {
  background: #ffffff;
  border-top-color: var(--border-1);
}
html[data-theme="light"] .feat-card,
html[data-theme="light"] .genre-spotlight__track > .feat-card,
html[data-theme="light"] .stat,
html[data-theme="light"] .catalog-sidebar,
html[data-theme="light"] .deals {
  background: linear-gradient(135deg, #e4e9f2 0%, #d8e0ec 100%);
  border-color: var(--border-1);
  color: var(--text-1);
}
html[data-theme="light"] .deals-bg--art {
  opacity: 0.32;
  filter: saturate(1.1) contrast(1.05);
}
html[data-theme="light"] .deals-bg--art::after {
  background: linear-gradient(
    90deg,
    rgba(228, 233, 242, 0.98) 0%,
    rgba(228, 233, 242, 0.92) 50%,
    rgba(228, 233, 242, 0.55) 100%
  );
}
html[data-theme="light"] .deals-text h2,
html[data-theme="light"] .deals-text p {
  color: var(--text-1);
}
html[data-theme="light"] .deals-text p {
  color: var(--text-2);
}
html[data-theme="light"] .genre-spotlight {
  background: var(--bg-surface);
  border-color: var(--border-1);
  box-shadow: var(--shadow-sm);
}
html[data-theme="light"] .genre-spotlight__bg img {
  opacity: 0.36;
  filter: saturate(1.14) contrast(1.05);
}
html[data-theme="light"] .genre-spotlight__bg::after {
  background: linear-gradient(
    105deg,
    var(--bg-scrim-heavy) 0%,
    rgba(248, 250, 253, 0.98) 38%,
    rgba(248, 250, 253, 0.48) 62%,
    var(--bg-scrim) 100%
  );
}
html[data-theme="light"] .genre-spotlight--reverse .genre-spotlight__bg::after {
  background: linear-gradient(
    -105deg,
    var(--bg-scrim) 0%,
    rgba(248, 250, 253, 0.48) 38%,
    rgba(248, 250, 253, 0.98) 62%,
    var(--bg-scrim-heavy) 100%
  );
}
html[data-theme="light"] .genre-spotlight__copy::before {
  background: linear-gradient(120deg, rgba(252, 253, 255, 1) 0%, rgba(248, 250, 253, 0.98) 50%, rgba(248, 250, 253, 0.35) 100%);
}
html[data-theme="light"] .genre-spotlight--reverse .genre-spotlight__copy::before {
  background: linear-gradient(-120deg, rgba(252, 253, 255, 1) 0%, rgba(248, 250, 253, 0.98) 50%, rgba(248, 250, 253, 0.35) 100%);
}
html[data-theme="light"] .genre-spotlight__copy .genre-desc {
  color: var(--text-2);
}
html[data-theme="light"] .genre-spotlight__track > .feat-card {
  background: #ffffff;
  border-color: var(--border-1);
  box-shadow: var(--shadow-sm);
}
html[data-theme="light"] .genre-spotlight__arrow {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-1);
  border-color: var(--border-2);
}
html[data-theme="light"] .countdown .cd-label {
  color: var(--text-2);
}
html[data-theme="light"] .countdown .cd-sep {
  color: var(--text-3);
}
html[data-theme="light"] .page-home .stat-label {
  color: rgba(255, 255, 255, 0.92);
}
html[data-theme="light"] .c-arrow--rail {
  background: #ffffff;
  border-color: var(--border-1);
  color: var(--text-1);
}
html[data-theme="light"] .collection-rail::before {
  background: linear-gradient(90deg, var(--bg-base) 20%, transparent);
}
html[data-theme="light"] .collection-rail::after {
  background: linear-gradient(-90deg, var(--bg-base) 20%, transparent);
}
html[data-theme="light"] .page-home .footer,
html[data-theme="light"] .footer {
  background: #ffffff;
  border-top-color: var(--border-1);
  box-shadow: 0 -8px 32px rgba(20, 24, 36, 0.06);
}
html[data-theme="light"] .toast {
  background: #141824;
  color: #fff;
}
html[data-theme="light"] .score.good {
  color: #15803d;
}
html[data-theme="light"] .header-mega-backdrop:not([hidden]) {
  background: rgba(12, 16, 28, 0.28);
}
html[data-theme="light"] .header-subnav {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--border-1);
}
html[data-theme="light"] .search-suggest,
html[data-theme="light"] .drawer-panel,
html[data-theme="light"] .modal-panel {
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

/* Шапка — см. .hdr-actions в блоке header */

/* Модалки, cookie, чат */
.modal[hidden], .cookie-bar[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; z-index: 1; width: min(440px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bg-surface); border: 1px solid var(--border-2); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.modal-panel--chat { width: min(400px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-1); }
.modal-body { padding: 20px; }
.modal-note { font-size: 13px; color: var(--text-3); margin-bottom: 16px; line-height: 1.5; }
.form-field { display: block; margin-bottom: 14px; }
.form-field span { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.form-field input, .form-field select {
  width: 100%; padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border-1); background: var(--bg-glass); color: var(--text-1);
}
.cookie-bar {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 240;
  max-width: 520px; margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--bg-surface); border: 1px solid var(--border-2); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); font-size: 13px;
}
.support-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 230;
  width: 52px; height: 52px; border-radius: var(--r-full);
  background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.chat-body { display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.chat-log { flex: 1; max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { font-size: 13px; padding: 10px 12px; border-radius: var(--r-md); max-width: 90%; line-height: 1.45; }
.chat-msg--bot { background: var(--bg-glass); align-self: flex-start; }
.chat-msg--user { background: rgba(0,212,255,0.12); align-self: flex-end; margin-left: auto; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--border-1); background: var(--bg-glass); color: var(--text-1); }

/* Корзина и кабинет */
.cart-page { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.cart-page-summary {
  padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border-1);
  background: var(--bg-glass); position: sticky; top: var(--layout-sticky-top);
}
.cart-page-total { display: block; font-size: 1.75rem; color: var(--accent-lime); margin: 12px 0 16px; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 32px 0 64px; }
.account-nav { display: flex; flex-direction: column; gap: 8px; }
.account-nav h1 { font-size: 1.5rem; margin-bottom: 12px; }
.account-nav a { padding: 10px 12px; border-radius: var(--r-sm); color: var(--text-2); font-weight: 500; }
.account-nav a.is-on, .account-nav a:hover { background: var(--bg-glass); color: var(--text-1); }
.account-hint { font-size: 14px; color: var(--text-3); margin-bottom: 20px; max-width: 56ch; }
.order-card {
  padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--border-1);
  background: var(--bg-card); margin-bottom: 12px;
}
.order-card__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; color: var(--text-3); }
.order-card__status { font-weight: 600; text-transform: capitalize; }
.order-card__status--paid { color: var(--accent-lime); }
.order-card__status--pending { color: var(--accent-amber, #e8b84a); }
.account-user { font-size: 13px; color: var(--text-3); margin: -4px 0 12px; padding: 0 12px; word-break: break-all; }
.account-badge { color: var(--accent-amber, #e8b84a); }
.account-subhead { font-size: 1.1rem; margin: 24px 0 12px; }
.account-logout { margin-top: 16px; padding: 0 8px; }
.auth-card { max-width: 420px; margin: 48px auto 80px; padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--border-1); background: var(--bg-card); }
.auth-card h1 { margin-bottom: 8px; }
.auth-form--narrow { max-width: 360px; }
.auth-form-error { color: #f87171; font-size: 14px; margin: 8px 0; }
.auth-form-ok { color: var(--accent-lime); font-size: 14px; margin: 8px 0; }
.auth-links { margin-top: 20px; font-size: 14px; color: var(--text-3); }
.auth-links a { color: var(--accent-lime); }
@media (max-width: 768px) {
  .cart-page, .account-layout { grid-template-columns: 1fr; }
  .cookie-bar { left: 12px; right: 12px; bottom: 72px; }
}

/* Фоновая докачка обложек */
.image-sync-pill {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  max-width: min(320px, calc(100vw - 32px));
  padding: 10px 14px;
  border-radius: var(--r-full);
  background: var(--bg-glass-strong);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  pointer-events: none;
}

/* Staff desk (token link) */
.staff-desk { background: var(--bg-base); color: var(--text-1); min-height: 100vh; }
.staff-desk-wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.staff-desk-head h1 { font-family: var(--font-heading); font-size: 1.5rem; margin: 8px 0; }
.staff-desk-badge { font-size: 12px; color: var(--accent-lime); text-transform: uppercase; letter-spacing: 0.06em; }
.staff-desk-meta { font-size: 14px; color: var(--text-3); line-height: 1.5; }
.staff-desk-card { background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--r-lg); padding: 18px; margin-top: 16px; }
.staff-desk-card h2 { font-size: 1rem; margin: 0 0 12px; }
.order-line-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.order-line-items__row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px 14px; align-items: start;
  padding: 12px; border-radius: var(--r-md); background: var(--bg-glass); border: 1px solid var(--border-1);
}
.order-line-items__thumb {
  display: block; width: 72px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.order-line-items__thumb img { display: block; width: 72px; height: 108px; object-fit: cover; }
.order-line-items__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.order-line-items__title {
  font-weight: 600; font-size: 15px; color: var(--text-1); text-decoration: none; line-height: 1.3;
}
a.order-line-items__title:hover { color: var(--accent-cyan); }
.order-line-items__shop-link { font-size: 12px; color: var(--accent-cyan); text-decoration: none; }
.order-line-items__shop-link:hover { text-decoration: underline; }
.order-line-items__slug { font-size: 11px; color: var(--text-3); word-break: break-all; }
.order-line-items__price { font-size: 14px; font-weight: 600; text-align: right; white-space: nowrap; }
.order-line-items__qty { display: block; font-size: 11px; font-weight: 400; color: var(--text-3); }
.order-lines-block { margin-bottom: 20px; }
.account-subhead { font-size: 1rem; margin: 0 0 10px; }
.staff-desk-key, .order-key-line { display: block; margin: 8px 0; padding: 10px 12px; background: var(--bg-glass); border-radius: var(--r-sm); font-size: 14px; word-break: break-all; }
.staff-desk-thread { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.staff-msg { font-size: 13px; padding: 10px 12px; border-radius: var(--r-md); line-height: 1.45; }
.staff-msg--system { background: rgba(255, 200, 80, 0.1); border: 1px solid rgba(255, 200, 80, 0.25); }
.staff-msg--staff { background: rgba(0, 212, 255, 0.1); align-self: flex-end; max-width: 92%; }
.staff-msg--customer { background: var(--bg-glass); max-width: 92%; }
.staff-msg time { display: block; font-size: 11px; color: var(--text-3); margin-top: 6px; }
.staff-desk-reply { display: flex; flex-direction: column; gap: 8px; }
.staff-desk-reply textarea { width: 100%; padding: 10px; border-radius: var(--r-sm); border: 1px solid var(--border-1); background: var(--bg-glass); color: var(--text-1); }
.staff-desk-ok { color: var(--accent-lime); font-size: 14px; }

.order-card__link { display: block; color: inherit; text-decoration: none; }
.order-card__link:hover { opacity: 0.92; }
.order-keys-card { background: var(--bg-surface); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 16px; margin-bottom: 20px; }
.order-keys-card h3 { margin: 0 0 10px; font-size: 1rem; }
.order-chat { margin-top: 24px; }
.order-chat-log { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; padding: 12px; background: var(--bg-glass); border-radius: var(--r-md); }
.order-chat-msg { font-size: 13px; padding: 10px 12px; border-radius: var(--r-md); line-height: 1.45; }
.order-chat-msg--user { background: rgba(0, 212, 255, 0.12); align-self: flex-end; max-width: 90%; }
.order-chat-msg--staff { background: var(--bg-surface); border: 1px solid var(--border-1); }
.order-chat-msg--system { background: rgba(180, 255, 120, 0.08); border: 1px solid rgba(180, 255, 120, 0.2); }
.order-chat-form { display: flex; gap: 8px; flex-wrap: wrap; }
.order-chat-form input { flex: 1; min-width: 180px; }
.order-profile-request { margin: 16px 0; padding: 16px; border: 1px dashed var(--border-2); border-radius: var(--r-md); }
.chat-form-email { width: 100%; margin-bottom: 8px; padding: 8px 10px; border-radius: var(--r-sm); border: 1px solid var(--border-1); background: var(--bg-glass); color: var(--text-1); }
