    /* --- Карусель (сверху, во всю ширину) --- */

    /* --- Верхнее меню --- */

    /* =====================================================
       === HERO BLOCK: баннер + карточки сразу под ним ===
       Карточки начинаются прямо под баннером без больших отступов.
       Точки баннера внутри баннера — на полупрозрачной плашке.
       Стрелок prev/next по бокам НЕТ — навигация только по точкам.
       Кейсы БЕЗ фоновых плашек.
       ===================================================== */
    :root {
      --home-content-max: 1296px;
    }

    body.demo-home-page {
      font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    }

    .demo-home-page input,
    .demo-home-page button,
    .demo-home-page select,
    .demo-home-page textarea {
      font-family: inherit;
    }

    .hero-section {
      background: #071018;
      padding: 24px 24px 54px;
    }

    .hero-section > .contents,
    .collection-section > .contents {
      max-width: var(--home-content-max);
    }

    .banner-slider {
      position: relative;
      width: min(100%, var(--home-content-max));
      aspect-ratio: 4.5 / 1;
      margin: 0 auto;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }
    .banner-slider::after {
      content: '';
      position: absolute;
      inset: auto 0 0;
      z-index: 2;
      height: 48%;
      background: linear-gradient(180deg, rgba(7, 16, 24, 0) 0%, rgba(7, 16, 24, 0.58) 48%, #071018 100%);
      pointer-events: none;
    }
    .banner-slides {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
    .banner-slide {
      position: relative;
      min-width: 100%;
      height: 100%;
      flex-shrink: 0;
    }
    .banner-slide > .banner-background {
      width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
    }
    .banner-season-title {
      position: absolute;
      top: 47%;
      left: 50%;
      z-index: 3;
      display: flex;
      width: 100%;
      flex-direction: column;
      align-items: center;
      transform: translate(-50%, -50%);
      pointer-events: none;
      filter: drop-shadow(0 8px 18px rgba(8, 18, 31, 0.65));
    }
    .banner-season-logo {
      width: min(22%, 400px);
      height: auto;
      object-fit: contain;
      display: block;
    }

    /* Точки внутри баннера */
    .banner-dots {
      position: absolute;
      bottom: 14px;
      left: 50%;
      transform: translateX(-50%);
      display: flex; justify-content: center; gap: 6px;
      z-index: 10;
      padding: 6px 12px;
      background: rgba(20, 20, 35, 0.6);
      border-radius: 16px;
      backdrop-filter: blur(8px);
    }
    .banner-dot {
      width: 9px; height: 9px; border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      cursor: pointer; transition: background-color 0.3s, transform 0.3s;
    }
    .banner-dot.active {
      background: #FFD700;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      transform: scale(1.25);
    }
    .banner-dot:hover { background: rgba(255, 255, 255, 0.7); }

    /* Карусель кейсов под баннером — без фонов плашек */
    .hero-cases {
      position: relative;
      z-index: 2;
      width: min(100%, var(--home-content-max));
      margin: -48px auto 0;
    }
    .free-cases-header {
      width: min(100%, var(--home-content-max));
      margin: 28px auto 24px;
    }
    .hero-cases.hero-cases-with-header {
      margin-top: 0;
    }
    .hero-cases-wrapper {
      position: relative;
      overflow: hidden;
    }
    .hero-cases-carousel {
      --home-case-column-width: calc((100% - 100px) / 6);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
    }
    .hero-cases-carousel > .case-card,
    .collection-grid > .grid-case-card {
      flex: 0 0 var(--home-case-column-width);
      max-width: var(--home-case-column-width);
      min-width: 0;
    }

    /* =====================================================
       === ОФОРМЛЕНИЕ КАРТОЧКИ КЕЙСА (общее) ===
       Без фона, без обводки, без скругления — только содержимое.
       ===================================================== */
    .case-card,
    .grid-case-card {
      background: transparent;
      border: none;
      padding: 0 0 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      transition: transform 0.25s;
      position: relative;
      width: 100%;
    }
    .case-link-overlay,
    .grid-case-link-overlay,
    .premium-case-link-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      display: block;
    }
    .case-card { width: 100%; }
    .case-card::after,
    .grid-case-card::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 2px;
      background: rgba(104, 120, 148, 0.35);
      pointer-events: none;
    }
    .case-card:hover,
    .grid-case-card:hover {
      transform: translateY(-3px);
    }

    /* Шапка карточки: BONUS / NEW слева + сердечко справа */
    .case-tags-row,
    .grid-case-tags {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
      gap: 6px;
      padding: 0 2px;
    }
    .case-tag {
      padding: 3px 7px;
      border-radius: 4px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.4px;
      background: #2a2a40;
      color: #8888aa;
      text-transform: uppercase;
    }
    .case-tag.bonus { background: rgba(255,255,255,0.06); color: #aaaacc; }
    .case-tag.new   { background: rgba(255,255,255,0.06); color: #aaaacc; }

    .case-favorite,
    .grid-case-favorite {
      width: 18px; height: 18px;
      margin-left: auto;
      cursor: pointer;
      opacity: 0.55;
      transition: opacity 0.2s, transform 0.2s;
      position: relative;
      z-index: 2;
      border: none;
      background: transparent;
      padding: 0;
    }
    .case-favorite:hover,
    .grid-case-favorite:hover { opacity: 1; transform: scale(1.1); }
    .case-favorite.active,
    .grid-case-favorite.active { opacity: 1; }
    .case-favorite img,
    .grid-case-favorite img {
      width: 100%;
      height: 100%;
      display: block;
    }
    .case-favorite.active img,
    .grid-case-favorite.active img {
      filter: brightness(1.2) saturate(1.4);
    }

    /* Картинка кейса */
    .case-image,
    .grid-case-image {
      width: 100%;
      max-width: none;
      height: 158px;
      object-fit: contain;
      filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45));
      margin-top: 4px;
    }

    /* Название */
    .case-name,
    .grid-case-name {
      font-size: 13px;
      line-height: 130%;
      color: #ffffff;
      font-weight: 400;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
      margin-top: 2px;
    }

    /* Case price */
    .case-price,
    .grid-case-price {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 16px;
      line-height: 120%;
      color: #ffffff;
      font-weight: 600;
    }
    .case-price img,
    .grid-case-price img {
      width: 14px; height: 14px; object-fit: contain;
    }

    .home-gallery-section {
      padding: 8px 24px 24px;
      background: #141420;
    }
    .home-gallery-header {
      margin-bottom: 18px;
      text-align: center;
    }
    .home-gallery-title {
      font-size: 24px;
      color: #ffffff;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .home-gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }
    .home-gallery-card {
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      border: 1px solid #2a2a40;
      background: #1a1a2e;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    }
    .home-gallery-image {
      display: block;
      width: 100%;
      height: 240px;
      object-fit: cover;
    }
    .home-gallery-caption {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 14px 16px;
      background: linear-gradient(180deg, rgba(20, 20, 32, 0) 0%, rgba(20, 20, 32, 0.92) 100%);
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
    }

    /* =====================================================
       === ОСНОВНАЯ КОЛЛЕКЦИЯ ===
       ===================================================== */
    .collection-section {
      padding: 0 24px 24px;
      background: #071018;
    }

    /* --- Панель фильтров --- */
    .filters-bar {
      display: flex;
      align-items: center;
      gap: 24px;
      background: #101722;
      border: 1px solid rgba(42, 49, 69, 0.55);
      border-radius: 8px;
      padding: 8px 20px;
      margin-bottom: 44px;
      position: relative;
      flex-wrap: nowrap;
      color: #687894;
      font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
      font-size: 12px;
      font-weight: 400;
      line-height: 130%;
    }
    .filter-field {
      background: #0d141f;
      border: 1px solid #1f2a3a;
      border-radius: 8px;
      height: 36px;
      display: flex;
      align-items: center;
      transition: border-color 0.2s;
    }
    .filter-field:hover { border-color: #3a3a55; }
    .filter-field input {
      width: 100%; background: transparent; border: none; outline: none;
      color: #687894; font-size: inherit; line-height: inherit; font-weight: inherit;
      text-transform: none; letter-spacing: 0;
      padding: 0 14px; height: 100%;
    }
    .filter-field input::placeholder { color: #687894; opacity: 1; }

    .filter-dropdown {
      position: relative;
      flex: 1 1 auto;
      min-width: 220px;
      height: 36px;
      border: 1px solid #1f2a3a;
      border-radius: 8px;
      background: #0d141f;
    }
    .filter-dropdown-trigger {
      width: 100%; height: 36px;
      background: transparent; border: 0; border-radius: 8px;
      padding: 0 12px 0 14px;
      color: #687894; font-size: inherit; line-height: inherit; font-weight: inherit; text-transform: none; letter-spacing: 0;
      cursor: pointer; display: flex; align-items: center; justify-content: space-between;
      gap: 10px; transition: all 0.2s; user-select: none;
    }
    .filter-dropdown-trigger:hover,
    .filter-dropdown.open .filter-dropdown-trigger { color: #9aa6bb; }
    .filter-dropdown-arrow { width: 12px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform: rotate(0deg); transition: transform 0.2s; flex-shrink: 0; }
    .filter-dropdown.open .filter-dropdown-arrow { transform: rotate(180deg); }
    .filter-dropdown-menu {
      position: absolute; top: calc(100% + 6px); left: 0; right: 0;
      background: #0f0f1c; border: 1px solid #2a2a40; border-radius: 8px;
      padding: 6px; z-index: 100; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
      opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s;
    }
    .filter-dropdown.open .filter-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .filter-dropdown-item { padding: 8px 12px; color: #687894; font-size: 12px; line-height: 130%; font-weight: 400; text-transform: none; letter-spacing: 0; cursor: pointer; border-radius: 6px; transition: all 0.15s; }
    .filter-dropdown-item:hover { background: rgba(151, 93, 248, 0.1); color: #ffffff; }
    .filter-dropdown-item.active { color: #ffffff; }

    .filter-name { flex: 0 0 196px; min-width: 0; position: relative; }
    .filter-name input { padding-right: 40px; }
    .filter-name-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: #4a4a6a; pointer-events: none; }
    .filter-price-group {
      display: flex;
      flex: 0 0 196px;
      min-width: 0;
    }
    .filter-price { flex: 1 1 0; min-width: 0; position: relative; }
    .filter-price:first-child {
      border-radius: 8px 0 0 8px;
    }
    .filter-price:last-child {
      margin-left: -1px;
      border-radius: 0 8px 8px 0;
    }
    .filter-price input { padding-left: 36px !important; }
    .filter-price-coin { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; object-fit: contain; pointer-events: none; opacity: 0.7; }

    .filter-toggle {
      display: flex; align-items: center; gap: 8px;
      cursor: pointer; user-select: none; height: 36px; padding: 0 12px; flex-shrink: 0;
      background: #0d141f; border: 1px solid #1f2a3a; border-radius: 8px;
    }
    .filter-toggle-label { color: #687894; font-size: inherit; line-height: inherit; text-transform: none; letter-spacing: 0; font-weight: inherit; transition: color 0.2s; white-space: nowrap; }
    .filter-toggle:hover .filter-toggle-label { color: #ffffff; }
    .filter-toggle-switch {
      position: relative;
      width: 32px;
      height: 20px;
      border-radius: 10px;
      transition: background 0.2s;
      flex-shrink: 0;
      border: 1px solid;
    }
    .filter-toggle-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #6a6a8a; border-radius: 50%; transition: all 0.2s; }
    .filter-toggle input { display: none; }
    .filter-toggle input:checked ~ .filter-toggle-switch { background: #975DF8; }
    .filter-toggle input:checked ~ .filter-toggle-switch::after { left: 16px; background: #ffffff; }
    .filter-toggle input:checked ~ .filter-toggle-label { color: #ffffff; }

    .filter-toggle:not(.filter-fav-toggle) { flex: 0 0 198px; justify-content: space-between; }
    .filter-fav-toggle { flex: 0 0 172px; cursor: pointer; justify-content: space-between; }
    .filter-fav-toggle,
    .filter-fav-icon {
      background: #0d141f;
    }
    .filter-fav-icon-inline { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .filter-fav-icon-inline img { width: 100%; height: 100%; display: block; opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
    .filter-fav-toggle:hover .filter-fav-icon-inline img { opacity: 1; }
    .filter-fav-toggle.active .filter-fav-icon-inline img { opacity: 1; filter: brightness(1.2) saturate(1.4); }
    .filter-fav-toggle.active .filter-toggle-label { color: #ffffff; }

    .filter-fav-icon { width: 40px; height: 40px; background: #0f0f1c; border: 1px solid #2a2a40; border-radius: 8px; display: none; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; flex-shrink: 0; padding: 0; }
    .filter-fav-icon:hover { border-color: #3a3a55; }
    .filter-fav-icon img { width: 18px; height: 18px; display: block; opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
    .filter-fav-icon.active img { opacity: 1; filter: brightness(1.2) saturate(1.4); }

    .filter-clear-btn {
      height: 36px; background: #151d2b; border: 0;
      padding: 0 18px; border-radius: 8px;
      color: #687894; font-weight: inherit; font-size: inherit; line-height: inherit;
      text-transform: none; letter-spacing: 0;
      cursor: pointer; transition: all 0.2s; flex-shrink: 0; white-space: nowrap;
    }
    .filter-clear-btn:hover { border-color: #3a3a55; color: #ffffff; }
    .filter-clear-btn:focus { outline: none; }
    .filter-clear-btn:focus-visible { outline: 1px solid #687894; outline-offset: 2px; }

    /* Заголовок коллекции */
    .collection-header {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      margin: 0 0 34px;
      gap: 16px;
    }
    .collection-header-left { display: flex; align-items: center; font-size: 6.6px; }
    .collection-info {
      position: relative;
      display: inline-flex;
    }
    .collection-back-btn {
      display: flex; align-items: center; gap: 8px;
      background: transparent; border: 1px solid #2a2a40; border-radius: 8px;
      padding: 10px 18px;
      color: #8888aa; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
      cursor: pointer; transition: all 0.2s;
    }
    .collection-back-btn:hover { border-color: #4a4a7a; color: #ffffff; }
    .collection-back-btn svg { width: 14px; height: 14px; fill: currentColor; }
    .collection-back-btn .q-icon {
      width: 18px; height: 18px; border-radius: 50%;
      border: 1.5px solid currentColor;
      display: inline-flex; align-items: center; justify-content: center;
      font-size: 11px; font-weight: 700; color: inherit; line-height: 1;
    }
    .collection-info-tooltip {
      position: absolute;
      top: calc(100% + 10px);
      left: 0;
      z-index: 25;
      width: min(320px, calc(100vw - 32px));
      padding: 14px 16px;
      border: 1px solid #2a2a40;
      border-radius: 12px;
      background: #15152a;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
      color: #b8bad6;
      font-size: 13px;
      line-height: 1.45;
      text-transform: none;
      letter-spacing: 0;
    }
    .collection-info-tooltip[hidden] { display: none; }
    .collection-info-title {
      margin-bottom: 6px;
      color: #ffffff;
      font-size: 14px;
      font-weight: 700;
    }
    .collection-info-text { color: #a7a9c7; }
    .collection-title-wrapper { display: flex; flex-direction: column; align-items: center; gap: 4px; }
    .collection-title { font-size: 28px; line-height: 110%; color: #ffffff; font-weight: 600; text-transform: uppercase; letter-spacing: 0; }
    .collection-balance-info { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8888aa; }
    .collection-balance-info strong { color: #ffffff; font-weight: 700; display: flex; align-items: center; gap: 4px; }
    .collection-balance-info img { width: 16px; height: 16px; }
    .collection-header-right { display: flex; justify-content: flex-end; font-size: 6.6px; }
    .collection-header-title-only {
      grid-template-columns: minmax(0, 1fr);
    }

    .collection-open-btn {
      display: flex; align-items: center; gap: 8px;
      background: transparent; border: 1px solid #2a2a40; border-radius: 8px;
      padding: 10px 18px;
      color: #8888aa; font-weight: 600; font-size: 12px;
      text-transform: uppercase; letter-spacing: 0.5px;
      cursor: pointer; transition: all 0.2s; text-decoration: none;
    }
    .collection-open-btn:hover { border-color: #4a4a7a; color: #ffffff; }
    .collection-open-btn svg { width: 14px; height: 14px; fill: currentColor; }

    .collection-grid {
      --home-case-column-width: calc((100% - 100px) / 6);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px 20px;
    }
    .remaining-cases-section {
      padding: 12px 24px 48px;
      background: #071018;
    }
    .remaining-cases-section > .contents {
      width: min(100%, var(--home-content-max));
      margin: 0 auto;
    }
    .remaining-cases-section + .remaining-cases-section {
      padding-top: 0;
    }
    .collection-empty-state {
      margin-top: 22px;
      text-align: center;
      color: #8f95bd;
      font-size: 14px;
      padding: 18px;
      border: 1px dashed #2a2a40;
      border-radius: 12px;
      background: rgba(15, 15, 28, 0.6);
    }

    /* === ПЛАНШЕТНАЯ ВЕРСИЯ === */
    @media (max-width: 1280px) {
      .hero-cases-carousel,
      .collection-grid { --home-case-column-width: calc((100% - 80px) / 5); }
      .case-image, .grid-case-image { height: 150px; }
      .filters-bar { gap: 16px; }
      .filter-dropdown { min-width: 180px; }
      .filter-name { flex-basis: 180px; }
      .filter-price-group { flex-basis: 180px; }
      .filter-toggle:not(.filter-fav-toggle) { flex-basis: 176px; }
      .filter-fav-toggle { flex-basis: 150px; }
      .home-gallery-grid  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 1024px) and (min-width: 768px) {
      .hero-section { padding: 22px 18px 50px; }
      .hero-cases { margin-top: -38px; }
      .hero-cases-carousel { --home-case-column-width: calc((100% - 60px) / 4); }
      .collection-grid {
        --home-case-column-width: calc((100% - 48px) / 4);
        gap: 16px;
      }
      .case-image, .grid-case-image { height: 150px; }
      .filter-price, .filter-toggle { display: none; }
      .filter-price-group { display: none; }
      .filter-fav-icon { display: flex; }
      .filter-dropdown { flex: 0 0 160px; min-width: 0; }
      .collection-title { font-size: 22px; }
      .banner-slider { aspect-ratio: 4.1 / 1; }
      .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .home-gallery-image { height: 220px; }
    }

    /* === МОБИЛЬНАЯ ВЕРСИЯ === */
    @media (max-width: 767px) {
      .hero-section { padding: 12px 10px 32px; }
      .hero-cases { margin-top: -22px; }
      .banner-slider { aspect-ratio: 2.9 / 1; }
      .banner-season-title { top: 50%; }
      .banner-season-logo { width: min(140px, 45vw); }
      .banner-slider { border-radius: 12px; }
      .banner-dots { bottom: 8px; padding: 4px 10px; }
      .banner-dot.active { width: 9px; height: 9px; }
      .hero-cases-carousel {
        --home-case-column-width: calc((100% - 10px) / 2);
        gap: 10px;
      }
      .case-card,
      .grid-case-card { gap: 6px; }
      .case-image, .grid-case-image { height: 142px; max-width: none; }
      .case-name,
      .grid-case-name { font-size: 11px; }
      .case-price,
      .grid-case-price { font-size: 13px; }

      .home-gallery-section { padding: 8px 12px 16px; }
      .home-gallery-title { font-size: 18px; }
      .home-gallery-grid { grid-template-columns: 1fr; gap: 12px; }
      .home-gallery-card { border-radius: 12px; }
      .home-gallery-image { height: 190px; }
      .home-gallery-caption { font-size: 13px; padding: 12px; }

      .collection-section { padding: 6px 10px 16px; }
      .filters-bar { padding: 8px; gap: 8px; margin-bottom: 16px; flex-wrap: nowrap; }
      .filter-dropdown, .filter-price, .filter-price-group, .filter-toggle { display: none; }
      .filter-name { flex: 1 1 auto; min-width: 0; }
      .filter-name input { font-size: 11px; }
      .filter-fav-icon { display: flex; width: 38px; height: 38px; }
      .filter-fav-icon svg { width: 16px; height: 16px; }
      .filter-clear-btn { padding: 0 14px; height: 38px; font-size: 11px; }
      .filter-field { height: 38px; }

      .collection-header { grid-template-columns: 1fr; gap: 12px; text-align: center; }
      .collection-header-left, .collection-header-right { justify-content: center; }
      .collection-back-btn { display: none; }
      .collection-header-right { display: none; }
      .collection-title { font-size: 18px; }
      .collection-grid {
        --home-case-column-width: calc((100% - 10px) / 2);
        gap: 10px;
      }
      .remaining-cases-section { padding: 8px 10px 28px; }
      .grid-case-image { height: 142px; max-width: none; }
      .grid-case-name { font-size: 11px; }
      .grid-case-price { font-size: 13px; }
    }

    /* =====================================================
       === ПРЕМИУМ КЕЙСЫ ===
       ===================================================== */
    .premium-section {
      padding: 32px 24px 48px;
      background: #071018;
    }
    .premium-section > .contents {
      width: min(100%, 1280px);
      max-width: 1280px;
      margin: 0 auto;
    }
    .premium-block {
      position: relative;
      min-height: 550px;
      aspect-ratio: 2.32 / 1;
      max-height: 680px;
      margin: 0 auto;
      background-image:
        linear-gradient(90deg, rgba(3, 8, 14, 0.62) 0%, rgba(3, 8, 14, 0.74) 56%, rgba(3, 8, 14, 0.94) 100%),
        var(--premium-background, url('../../img/free-cases-bg.webp'));
      background-size: cover;
      background-position: center 8%;
      border: 1px solid rgba(255, 255, 255, 0.03);
      border-radius: 16px;
      padding: 44px 40px;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    }
    .premium-content {
      position: relative;
      z-index: 1;
      width: min(100%, 1296px);
      height: 100%;
      margin: 0 auto;
      display: grid;
      align-content: center;
      gap: 46px;
    }
    .premium-ribbon {
      position: absolute;
      z-index: 3;
      min-width: 340px;
      padding: 10px 44px;
      background: #f3b723;
      color: #111a26;
      font-size: 14px;
      line-height: 1;
      font-weight: 500;
      text-transform: uppercase;
      text-align: justify;
      white-space: nowrap;
      overflow: hidden;
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    }
    .premium-ribbon-track {
      display: block;
      width: max-content;
      animation: premium-ribbon-marquee 6s linear infinite;
      will-change: transform;
    }
    @keyframes premium-ribbon-marquee {
      from { transform: translateX(260px); }
      to { transform: translateX(-100%); }
    }
    @media (prefers-reduced-motion: reduce) {
      .premium-ribbon-track {
        animation: none;
        transform: none;
      }
    }
    .premium-ribbon.top-left { top: -25px; left: -80px; transform: rotate(-34deg); }
    .premium-ribbon.bottom-right { right: -65px; bottom: 5px; transform: rotate(-34deg); }
    .premium-header {
      position: relative;
      z-index: 4;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 32px;
    }
    .premium-header-title-only {
      grid-template-columns: minmax(0, 1fr);
    }
    .premium-header-side { display: flex; font-size: 6.6px; }
    .premium-header-left { justify-content: flex-start; }
    .premium-header-right { justify-content: flex-end; }
    .premium-info { position: relative; }
    .premium-control {
      min-height: 40px;
      padding: 0 18px;
      border: 1px solid rgba(89, 104, 132, 0.18);
      border-radius: 8px;
      background: rgba(17, 26, 39, 0.72);
      color: #66738a;
      font-size: 12px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }
    .premium-control:hover {
      color: #d8deea;
      border-color: rgba(243, 183, 35, 0.35);
      background: rgba(17, 26, 39, 0.9);
    }
    .premium-control-icon {
      width: 18px;
      height: 18px;
      border: 1px solid currentColor;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
    }
    .premium-control svg { width: 18px; height: 18px; fill: currentColor; }
    .premium-info-tooltip {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      z-index: 5;
      width: 260px;
      padding: 12px 14px;
      border: 1px solid #26344a;
      border-radius: 8px;
      background: #101824;
      color: #c8d0df;
      font-size: 12px;
      line-height: 1.5;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    }
    .premium-title-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      text-align: center;
    }
    .premium-title {
      color: #ffffff;
      font-size: 30px;
      line-height: 1.15;
      font-weight: 600;
      text-transform: uppercase;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    }
    .premium-balance-info {
      display: flex;
      align-items: center;
      gap: 6px;
      color: #b8beca;
      font-size: 14px;
    }
    .premium-balance-info strong {
      color: #ffffff;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .premium-balance-info img { width: 16px; height: 16px; }
    .premium-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 200px));
      justify-content: center;
      gap: 40px;
      transition: opacity 0.2s;
    }
    @media (min-width: 768px) {
      .premium-grid.premium-grid-count-1 { grid-template-columns: minmax(220px, 297px); justify-content: center; }
      .premium-grid.premium-grid-count-2 { grid-template-columns: repeat(2, minmax(220px, 297px)); justify-content: center; }
      .premium-grid.premium-grid-count-3 { grid-template-columns: repeat(3, minmax(220px, 297px)); justify-content: center; }
    }
    .premium-case {
      position: relative;
      min-width: 0;
      padding: 0 0 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      transition: transform 0.25s;
    }
    .premium-case::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: #9da2aa;
      opacity: 0.75;
    }
    .premium-case:nth-child(2)::after { background: #c69317; }
    .premium-case:nth-child(3)::after { background: #2f77bd; }
    .premium-case:nth-child(4)::after { background: #b75a25; }
    .premium-case:hover { transform: translateY(-4px); }
    .premium-case-fav {
      position: absolute;
      top: 0;
      right: 12px;
      z-index: 2;
      width: 18px;
      height: 18px;
      padding: 0;
      border: 0;
      background: transparent;
      cursor: pointer;
      opacity: 0.8;
    }
    .premium-case-fav:hover,
    .premium-case-fav.active { opacity: 1; }
    .premium-case-fav img {
      width: 100%;
      height: 100%;
      display: block;
    }
    .premium-case-image {
      width: 100%;
      max-width: none;
      height: 158px;
      object-fit: contain;
      margin-top: 4px;
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
    }
    .premium-case-name {
      width: 100%;
      color: #d7dbe4;
      font-size: 13px;
      font-weight: 400;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .premium-case-price {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      color: #ffffff;
      font-weight: 600;
    }
    .premium-case-price img {
      width: 14px;
      height: 14px;
    }

    .collection-back-btn,
    .collection-open-btn,
    .premium-control {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-sizing: border-box;
      height: 36px;
      min-height: 36px;
      padding: 0 16px;
      border: 1px solid #1d2939;
      border-radius: 8px;
      background: #141c2a;
      color: #687894;
      box-shadow: none;
      font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
      font-size: inherit;
      line-height: 1;
      font-weight: 600;
      letter-spacing: 0;
      text-transform: uppercase;
      text-decoration: none;
      white-space: nowrap;
    }
    .collection-back-btn .q-icon,
    .collection-open-btn svg {
      flex: 0 0 18px;
      width: 18px;
      height: 18px;
    }
    .collection-back-btn:hover,
    .collection-open-btn:hover,
    .premium-control:hover {
      border-color: #344156;
      background: #192436;
      color: #ffffff;
    }
    .premium-empty-state {
      grid-column: 1 / -1;
      text-align: center;
      padding: 28px;
      border-radius: 8px;
      background: rgba(15, 24, 36, 0.62);
      border: 1px dashed rgba(255, 255, 255, 0.12);
      color: #d0d4ef;
    }
    @media (max-width: 1024px) and (min-width: 768px) {
      .premium-section { padding-inline: 18px; }
      .premium-block { min-height: 520px; padding: 36px 24px; }
      .premium-content { gap: 34px; }
      .premium-header { gap: 16px; }
      .premium-header-left { padding-left: 0; }
      .premium-control { padding-inline: 12px; font-size: 10px; }
      .premium-title { font-size: 23px; }
      .premium-grid { gap: 18px; }
      .premium-case-image { height: 130px; max-width: 160px; }
    }
    @media (max-width: 767px) {
      .premium-section { padding: 16px 10px 28px; }
      .premium-block {
        min-height: 690px;
        height: auto;
        max-height: none;
        aspect-ratio: auto;
        padding: 110px 14px 64px;
        border-radius: 12px;
        background-position: center top;
      }
      .premium-content { height: auto; align-content: start; gap: 30px; }
      .premium-header { grid-template-columns: 1fr; }
      .premium-header-side { display: none; }
      .premium-title { font-size: 20px; }
      .premium-balance-info { font-size: 11px; }
      .premium-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
      .premium-grid.premium-grid-count-1 { grid-template-columns: minmax(0, 159px); justify-content: center; }
      .premium-case { padding: 22px 6px 14px; gap: 7px; }
      .premium-case-fav { right: 6px; }
      .premium-case-image { height: 108px; max-width: 140px; }
      .premium-case-name { font-size: 12px; }
      .premium-case-price { font-size: 13px; }
      .premium-ribbon { min-width: 300px; padding: 8px 44px; font-size: 11px; }
      .premium-ribbon.top-left { top: -32px; left: -100px; }
      .premium-ribbon.bottom-right { display: none; }
    }

    /* === БЛОК СТАТИСТИКИ === */
    @media (max-width: 767px) {
    }

    /* === ФУТЕР === */
@media (max-width: 1024px) and (min-width: 768px) {
    }
    @media (max-width: 767px) {
    }
