/* ============================================================
   CHEAT-HUB — DESIGN LAYER «ACID SLASH»
   Загружается последним. Токсичный лайм на графите,
   моно-подписи, мотив косого среза.
   ============================================================ */

/* ===== 0. TOKEN RECOLOR — вся палитра сайта через эти переменные ===== */
:root {
    --bg-absolute: #0A0B09;
    --bg-primary: #0E100C;
    --bg-secondary: #14170F;
    --bg-tertiary: #1D2016;
    --bg-card: #111310;

    --accent-primary: #C6F24E;      /* acid lime */
    --accent-primary-dark: #9FCC33;
    --accent-secondary: #DEFF7F;

    --accent-success: #4ADE80;
    --accent-warning: #FFB020;
    --accent-error: #FF5C5C;
    --accent-info: #56C8D8;

    --text-white: #EEF2E6;          /* bone */
    --text-light: #A8B09E;
    --text-medium: #7A8272;
    --text-dark: #565E4F;

    --border-color: rgba(230, 244, 210, 0.07);
    --border-hover: rgba(198, 242, 78, 0.5);

    --glass-bg: rgba(14, 16, 12, 0.88);

    --gradient-primary: linear-gradient(135deg, #D2FF5C 0%, #B8E840 100%);
    --gradient-accent: linear-gradient(135deg, #DEFF7F 0%, #C6F24E 100%);

    --shadow-primary: 0 4px 20px rgba(198, 242, 78, 0.12);
}

/* ===== 1. BASE ===== */
html { scroll-behavior: smooth; }

body {
    background: #0A0B09;
    color: var(--text-light);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.section-title,
.hero-h1,
.catalog-hero-title,
.current-filter-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

::selection { background: rgba(198, 242, 78, 0.3); color: #0D0F09; }

* { scrollbar-color: rgba(198, 242, 78, 0.28) var(--bg-secondary); }

/* ===== 1.1 ФИШКА: терминальные подписи «//» ===== */
.section-eyebrow,
.hero-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.22em;
}

.section-eyebrow::before { content: '// '; opacity: 0.55; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Убираем остатки «адского» бренда и градиентных заголовков */
.hell-brand,
.hell-brand:hover,
.hero-title-main,
.hero-title-main.hell-brand,
.catalog-hero-title {
    font-family: 'Space Grotesk', sans-serif !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    animation: none !important;
    filter: none !important;
    text-shadow: none !important;
}

.hell-brand::after { display: none !important; }

/* Чистый вордмарк в шапке */
.nav-brand .hell-brand {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--text-white) !important;
    letter-spacing: 0.04em !important;
    transition: color 0.2s ease;
}
.nav-brand:hover .hell-brand { color: var(--accent-secondary) !important; }

/* Парящие частицы и фоновые канвасы — выключить */
.global-cheat-animation,
.cheat-animation-canvas,
.hero-background,
.hero-overlay,
#ch-leaves-canvas { display: none !important; }

/* ===== 2. NAVBAR ===== */
.navbar {
    background: rgba(10, 11, 9, 0.85) !important;
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--border-color);
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
    text-shadow: none;
    box-shadow: none;
}

.nav-links .nav-btn-outline {
    border-radius: 6px !important;
    border: 1px solid rgba(198, 242, 78, 0.4) !important;
    color: var(--accent-secondary) !important;
    padding: 8px 18px !important;
}

.nav-links .nav-btn-outline:hover {
    background: rgba(198, 242, 78, 0.12) !important;
    border-color: var(--accent-primary) !important;
    color: var(--accent-secondary) !important;
}

.logo-icon {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

/* ===== 3. BUTTONS — строгие, почти без скруглений ===== */
.btn-primary,
.btn-success,
.btn-danger,
.btn-secondary {
    border-radius: 6px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(180deg, #D2FF5C 0%, #B8E840 100%);
    color: #101402;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(180deg, #DEFF7F 0%, #C6F24E 100%);
    color: #101402;
    filter: none;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-white);
    border-radius: 6px;
}

.btn-secondary:hover {
    border-color: rgba(198, 242, 78, 0.5);
    color: var(--accent-secondary);
    background: rgba(198, 242, 78, 0.07);
}

/* Hero-кнопки: primary — золото, secondary — тёмная с золотой рамкой */
.btn-hero {
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before { display: none; }

.btn-hero-primary {
    background: linear-gradient(180deg, #D2FF5C 0%, #B8E840 100%) !important;
    color: #101402 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-size: 0.95rem !important;
    padding: 15px 34px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.btn-hero-primary:hover {
    background: linear-gradient(180deg, #DEFF7F 0%, #C6F24E 100%) !important;
    color: #101402 !important;
    transform: translateY(-1px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: var(--text-white) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-size: 0.95rem !important;
    padding: 15px 34px !important;
    backdrop-filter: blur(6px);
}

.btn-hero-secondary:hover {
    border-color: var(--accent-primary) !important;
    color: var(--accent-secondary) !important;
    background: rgba(198, 242, 78, 0.08) !important;
    transform: translateY(-1px);
}

/* ===== 4. HERO (home) ===== */
.hero-home {
    min-height: auto;
    padding: clamp(64px, 9vh, 104px) 0 44px;
    background:
        linear-gradient(180deg, rgba(10, 11, 9, 0) 0%, #0A0B09 88%),
        radial-gradient(900px 420px at 50% -8%, rgba(198, 242, 78, 0.09), transparent 62%),
        linear-gradient(rgba(238, 242, 230, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 242, 230, 0.024) 1px, transparent 1px);
    background-size: auto, auto, 56px 56px, 56px 56px;
    border-bottom: 1px solid var(--border-color);
}

/* Герой с игровым артом на фоне (как у getcheats) */
.hero-home--art {
    background-size: cover !important;
    background-position: center 35% !important;
}

/* Арт занимает правую часть — текст героя прижат влево */
.hero-home--art .hero-content {
    align-items: flex-start;
    text-align: left;
    margin: 0;
}

.hero-home--art .hero-subtitle { margin: 0 0 30px !important; }

.hero-home--art .hero-stats {
    justify-content: flex-start;
    background: rgba(9, 10, 8, 0.4);
}

@media (max-width: 900px) {
    /* На мобильных персонаж уходит под текст — возвращаем центр и плотнее затемнение */
    .hero-home--art .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-home--art .hero-stats { justify-content: center; }
    .hero-home--art { background-position: 62% 35% !important; }
}

.hero-home--art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(238, 242, 230, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238, 242, 230, 0.02) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.hero-home .container { position: relative; z-index: 1; }

/* Полоса статистики под CTA */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 34px;
    padding: 14px 26px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(9, 10, 8, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-stats__item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.hero-stats__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
}

.hero-stats__label {
    color: var(--text-light);
    font-size: 0.88rem;
}

.hero-stats__div {
    width: 1px;
    height: 22px;
    background: var(--border-color);
}

@media (max-width: 640px) {
    .hero-stats { gap: 12px 16px; padding: 12px 16px; }
    .hero-stats__div { display: none; }
}


.hero-content {
    padding: 12px 0 0;
    max-width: 780px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 22px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 242, 78, 0.6));
}

.hero-eyebrow::after {
    background: linear-gradient(90deg, rgba(198, 242, 78, 0.6), transparent);
}

.hero-h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-white);
    margin: 0 0 18px;
    min-height: 1.2em;
}

.hero-title-tagline {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: none;
    opacity: 1;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto 30px !important;
}

.hero-social-proof__item svg { color: var(--accent-primary); }

/* ===== 5. STATUS BADGES — фирменная косая черта, выверенная геометрия =====
   Высота 28px, дрейф косой 8px (≈16°). Белый штрих 2px идёт строго
   параллельно срезам сегментов, зазоры с обеих сторон ровно по 3px. */
.status-badge-v2,
.catalog-card-status.status-badge-v2 {
    display: inline-flex !important;
    width: 100% !important;
    height: 28px !important;
    max-width: none;
    min-width: 0;
    padding: 0 !important;
    margin: 0;
    background: rgba(9, 9, 11, 0.9) !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* верхние углы повторяют радиус карточки — полоса без «щелей» в углах */
    border-radius: 6px 6px 0 0 !important;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    color: #9a9aa2;
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Сегмент статуса: правая грань срезана под угол косой.
   margin-right: 0 обязателен — старый -12px из style.css задвигал
   название вглубь статусного блока */
.status-badge-v2 .status-text {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 0 !important;
    padding: 0 20px 0 12px;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    color: inherit;
    white-space: nowrap;
    z-index: 1;
}

/* Подложка статуса слегка тонирована своим цветом */
.status-undetected .status-text { background: rgba(76, 175, 125, 0.13); }
.status-on-update .status-text { background: rgba(91, 155, 213, 0.13); }
.status-detected .status-text { background: rgba(207, 68, 68, 0.15); }
.status-risky .status-text { background: rgba(212, 160, 60, 0.13); }
.status-generic .status-text { background: rgba(201, 168, 76, 0.13); }

/* Разделитель — косой канал в цвет фона бейджа, без белой заливки:
   сегменты разнесены параллельными срезами, зазор 6px */
.status-badge-v2 .status-separator {
    position: relative;
    width: 0;
    flex-shrink: 0;
    background: transparent;
    transform: none;
    box-shadow: none;
    margin: 0;
}

.status-badge-v2 .status-separator::before { display: none; }

/* Название: тянется до правого края полосы (flex-grow), при нехватке
   места сокращается с многоточием. Левый срез — дрейф 8px (13→5),
   строго параллелен срезу статуса: канал между ними ровно 5px по всей высоте */
.status-badge-v2 .status-product-name {
    flex: 1 1 auto !important;
    display: block;
    line-height: 26px;
    margin-left: -8px;
    clip-path: polygon(13px 0, 100% 0, 100% 100%, 5px 100%);
    padding: 0 12px 0 14px;
    background: transparent;
    color: #E9EFDF !important;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: none;
    min-width: 0;
}

/* ===== 6. CARDS: каталог, категории, хиты — острая геометрия ===== */
.catalog-card,
.ch-tp-card,
.category-card,
.usp-card,
.how-step,
.faq-item,
.stat-card,
.purchase-selection-frame {
    border-radius: 6px;
}

.variant-item { border-radius: 4px; }

.catalog-card-image,
.ch-tp-card__media {
    border-radius: 0;
}

.catalog-card-content,
.ch-tp-card__body { padding: 16px 18px 18px; }

/* Мобильные переопределения — держим единый малый радиус */
@media (max-width: 600px) {
    .category-card,
    .catalog-card,
    .ch-tp-card {
        border-radius: 6px !important;
    }
    .catalog-card-image { height: auto !important; aspect-ratio: 16 / 9; }
    .catalog-card-title { font-size: 1.05rem !important; }
    .catalog-card-price { color: var(--text-white) !important; }

    /* Гасим мобильные !important из style.css, ломающие геометрию косой */
    .catalog-card-status.status-badge-v2 {
        font-size: 0.64rem !important;
        padding: 0 !important;
        border-radius: 6px 6px 0 0 !important;
        height: 26px !important;
    }
    .catalog-card-status.status-badge-v2 .status-product-name {
        line-height: 24px;
    }
    .catalog-card-badges {
        max-width: 100%;
        padding: 0;
    }
}

/* Оверлей «Нет в наличии» */
.catalog-card-out-of-stock {
    background: rgba(9, 9, 11, 0.74);
    backdrop-filter: blur(3px);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

/* Ранговые бейджи «#1» убраны — конфликтуют с пилюлей статуса */
.ch-tp-card__rank { display: none; }

/* Контейнер бейджей: полоса на всю ширину карточки, без отступов.
   Ширина задана контейнером (100% карточки) — без циклов процентов */
.catalog-card-badges {
    right: auto;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ===== 7. CATALOG ===== */
.catalog-hero { padding: 52px 0 28px; }

/* Шапка каталога — влево, как секции на главной */
.catalog-hero--left {
    text-align: left;
    padding: 46px 0 20px;
}

.catalog-hero--left .catalog-hero-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem) !important;
    margin-bottom: 8px !important;
}

.catalog-hero--left .catalog-hero-sub { margin: 0 !important; }

/* Вместо грязно-коричневой подложки — лёгкое свечение сверху */
.catalog-hero::before {
    background: radial-gradient(700px 260px at 50% 0%, rgba(198, 242, 78, 0.05), transparent 70%) !important;
}

.catalog-hero-title {
    color: var(--text-white) !important;
    font-weight: 700;
}

.catalog-hero-sub {
    color: var(--text-medium) !important;
}

.catalog-search { border-radius: 6px; }

/* Иконка поиска абсолютная — возвращаем отступ под неё */
.catalog-search { position: relative; }
.catalog-search .catalog-search-input { padding-left: 44px !important; }
.search-icon-wrap { color: var(--text-medium); }

.search-form .btn-primary { border-radius: 6px; }
.btn-back-categories { border-radius: 6px; }

.active-filter-header { margin-top: 4px; }

/* Скриншоты товаров не приглушаем (в базе стояло opacity: .5) */
.catalog-card-image img,
.ch-tp-card__media img {
    opacity: 1;
}

/* ===== 8. PRODUCT PAGE ===== */
.breadcrumb {
    color: var(--text-medium);
    font-size: 0.88rem;
}

/* Заголовок товара: моно-надзаголовок как на главной */
.label-above {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-secondary);
}

.label-above::before { content: '// '; opacity: 0.55; }

/* Чипы фич прямо под заголовком товара */
.product-head-chips {
    margin: 4px 0 8px;
}

/* Панель покупки не уезжает при скролле */
@media (min-width: 1000px) {
    .product-sidebar-v2 {
        position: sticky;
        top: 92px;
        align-self: start;
    }
}

/* Панель покупки */
.purchase-selection-frame {
    background: rgba(20, 23, 15, 0.45) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    padding: 20px !important;
}

.purchase-panel-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-white) !important;
}

.variant-item {
    border-radius: 4px !important;
    border: 1px solid var(--border-color) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    transition: border-color 0.15s, background 0.15s;
}

.variant-item:hover {
    border-color: rgba(198, 242, 78, 0.4) !important;
}

.variant-item.selected {
    border-color: var(--accent-primary) !important;
    background: rgba(198, 242, 78, 0.07) !important;
    box-shadow: 0 0 0 1px rgba(198, 242, 78, 0.35) inset;
}

.variant-item .variant-name { color: var(--text-white); font-weight: 600; }

.variant-item .variant-price-wrap .price-display {
    color: var(--accent-primary);
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
}

.purchase-total {
    border-radius: 6px !important;
}

/* Кнопка покупки — крупная, на всю ширину панели */
#mainBuyButton {
    width: 100%;
    padding: 16px 24px !important;
    font-size: 1.05rem !important;
}

/* Строка доверия под кнопкой */
.buy-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 14px;
}

.buy-trust span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-medium);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.buy-trust span::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: 700;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--accent-secondary); }

/* ===== 9. STATS ===== */
.stat-card {
    border-radius: 16px;
}

.stat-number,
.stat-value {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: currentColor;
    color: var(--text-white);
    animation: none;
    text-shadow: none;
    filter: none;
}

/* ===== 10. TICKER ===== */
.ch-ticker {
    border-radius: 6px;
}

.ch-ticker__item {
    border-radius: 4px;
}

.ch-ticker--static .ch-ticker__viewport {
    overflow-x: auto;
    scrollbar-width: none;
}
.ch-ticker--static .ch-ticker__viewport::-webkit-scrollbar { display: none; }
.ch-ticker--static .ch-ticker__track { animation: none; }

/* ===== 11. FOOTER ===== */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: #0C0D0A;
    margin-top: 72px;
    padding: 52px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 36px;
    align-items: start;
}

.footer-brand .nav-brand {
    display: inline-flex;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 300px;
    margin: 0 0 16px;
}

.footer-col h4 {
    color: var(--text-white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s;
}

.footer-col a:hover { color: var(--accent-secondary); }

.footer-pay {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-pay-note {
    color: var(--text-dark);
    font-size: 0.8rem;
    margin-top: 10px;
    line-height: 1.5;
}

/* Способы оплаты — моно-чипы вместо белых пилюль с картинками */
.footer-pay .pay-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-light);
    background: rgba(238, 242, 230, 0.04);
    border: 1px solid rgba(238, 242, 230, 0.12);
    border-radius: 4px;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
    padding-top: 22px;
}

.footer-bottom p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom nav {
    display: flex;
    gap: 18px;
}

.footer-bottom nav a {
    color: var(--text-dark);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom nav a:hover { color: var(--text-light); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== 12. FLASH ===== */
.flash {
    border-radius: 6px;
}

/* ===== 17. TELEGRAM CTA — в теме сайта, без телеграм-сини ===== */
.tg-cta {
    background: linear-gradient(135deg, rgba(198, 242, 78, 0.09) 0%, rgba(20, 23, 15, 0.55) 100%) !important;
    border: 1px solid rgba(198, 242, 78, 0.28) !important;
    border-radius: 6px !important;
}

.tg-cta__icon {
    background: rgba(198, 242, 78, 0.12) !important;
    color: var(--accent-primary) !important;
    border-radius: 6px !important;
    flex: 0 0 48px;
}

.tg-cta__btn {
    background: linear-gradient(180deg, #D2FF5C 0%, #B8E840 100%) !important;
    color: #101402 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.tg-cta__btn:hover {
    background: linear-gradient(180deg, #DEFF7F 0%, #C6F24E 100%) !important;
    color: #101402 !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

/* ===== 18. ANIMATIONS ===== */
/* Появление героя при загрузке */
@keyframes chHeroIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

.hero-content > * {
    animation: chHeroIn 0.8s var(--ease-out) backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.35s; }
.hero-content > *:nth-child(4) { animation-delay: 0.5s; }

/* Появление шапки каталога */
.catalog-hero .section-eyebrow,
.catalog-hero .catalog-hero-title,
.catalog-hero .catalog-hero-sub {
    animation: chHeroIn 0.7s var(--ease-out) backwards;
}

.catalog-hero .section-eyebrow { animation-delay: 0.05s; }
.catalog-hero .catalog-hero-title { animation-delay: 0.18s; }
.catalog-hero .catalog-hero-sub { animation-delay: 0.3s; }

/* Scroll-reveal (классы ставит anim.js) */
.ch-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    will-change: opacity, transform;
}

.ch-reveal-in {
    opacity: 1;
    transform: none;
}

/* Блик, пробегающий по золотым… по лаймовым кнопкам при наведении */
.btn-primary,
.btn-hero-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn-primary:hover::after,
.btn-hero-primary:hover::after {
    left: 120%;
}

@media (prefers-reduced-motion: reduce) {
    .ch-reveal { opacity: 1; transform: none; transition: none; }
    .hero-content > *,
    .catalog-hero .section-eyebrow,
    .catalog-hero .catalog-hero-title,
    .catalog-hero .catalog-hero-sub { animation: none; }
    .btn-primary::after, .btn-hero-primary::after { display: none; }
}

/* ===== 13. MISC ANTI-SLOP ===== */
/* Приглушаем амбиентные свечения секций */
.ch-showcase::before,
.stats-section::before { opacity: 0.5; }

/* Кнопка Telegram — единый строгий радиус */
.tg-cta__btn {
    border-radius: 6px;
}

/* Рипл-эффект кнопок — выключить */
.ripple { display: none; }

/* Прогресс скролла сверху — тонкая линия акцента */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1200;
}

/* ===== 14. ACID SLASH — фирменные детали ===== */

/* Марка из двух скошенных полос — эхо косого разделителя */
.brand-mark {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
    flex-shrink: 0;
    margin-right: 10px;
}

.brand-mark::before,
.brand-mark::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--accent-primary);
    transform: skewX(-14deg);
    border-radius: 1px;
}

.brand-mark::before { left: 1px; }
.brand-mark::after { right: 1px; opacity: 0.4; }

/* HUD-уголки на карточках товаров при наведении — «захват цели» */
.catalog-card::before,
.catalog-card::after,
.ch-tp-card::before,
.ch-tp-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
    pointer-events: none;
    z-index: 4;
}

.catalog-card::before,
.ch-tp-card::before {
    top: 8px;
    right: 8px;
    border-top: 1px solid var(--accent-primary);
    border-right: 1px solid var(--accent-primary);
    transform: translate(-4px, 4px);
}

.catalog-card::after,
.ch-tp-card::after {
    bottom: 8px;
    left: 8px;
    border-bottom: 1px solid var(--accent-primary);
    border-left: 1px solid var(--accent-primary);
    transform: translate(4px, -4px);
}

.catalog-card:hover::before,
.catalog-card:hover::after,
.ch-tp-card:hover::before,
.ch-tp-card:hover::after {
    opacity: 0.9;
    transform: none;
}

/* Золотые хвосты из style.css / catalog-pro / home-pro → лайм */
.status-generic { color: #DEFF7F !important; }
.status-generic .status-text { background: rgba(238, 242, 230, 0.07); }

.catalog-card-arrow,
.ch-tp-card__cta {
    background: rgba(198, 242, 78, 0.08);
    border-color: rgba(198, 242, 78, 0.22);
}

.catalog-search:focus-within {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.12) !important;
}

.ch-ticker__label { background: rgba(198, 242, 78, 0.05); }

.ch-ticker__avatar {
    background: linear-gradient(135deg, #D2FF5C, #9FCC33);
    color: #101402;
}

.variant-item.selected {
    border-color: var(--accent-primary) !important;
    background: rgba(198, 242, 78, 0.06) !important;
}

.variant-item.selected .variant-name { color: var(--accent-primary) !important; }

.purchase-total {
    background: rgba(198, 242, 78, 0.07) !important;
    border-color: rgba(198, 242, 78, 0.25) !important;
}

.btn-social:hover {
    border-color: var(--accent-primary);
    background: rgba(198, 242, 78, 0.08);
    color: var(--accent-secondary);
}

.ch-tp-card__cat { color: var(--accent-secondary); }

/* Сетка хитов вместо карусели — всё видно сразу. Фикс-колонки:
   один товар не растягивается на всю строку */
.top-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) { .top-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .top-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .top-grid { grid-template-columns: 1fr; } }

.ch-tp-card__feat {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 2px 0 2px;
}

.feat-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    background: rgba(238, 242, 230, 0.05);
    border: 1px solid rgba(238, 242, 230, 0.09);
    border-radius: 3px;
    padding: 3px 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

/* ===== 15. GAMES GRID (home) ===== */
.ch-games { padding: 64px 0 30px; position: relative; }

.games-grid {
    display: grid;
    /* Фиксированные 6 колонок: одиночная плитка не растягивается во всю ширину */
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1200px) { .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.game-tile {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    text-decoration: none;
    transition: transform 0.25s var(--ease-out), border-color 0.2s, box-shadow 0.25s;
    isolation: isolate;
}

.game-tile:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.game-tile__media {
    position: absolute;
    inset: 0;
}

.game-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) brightness(0.85);
    transition: transform 0.5s var(--ease-out), filter 0.25s;
}

.game-tile:hover .game-tile__media img {
    transform: scale(1.06);
    filter: saturate(1) brightness(1);
}

.game-tile__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8, 9, 7, 0.92) 100%);
}

.game-tile__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px;
    z-index: 2;
}

.game-tile__name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    line-height: 1.25;
    min-height: 2.5em;               /* одинаковая высота: цены ровно в линию */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-tile__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.game-tile__price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-light);
}

.game-tile__price .price-display {
    color: var(--accent-primary);
    font-weight: 700;
}

.game-tile__go {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 242, 78, 0.12);
    border: 1px solid rgba(198, 242, 78, 0.25);
    color: var(--accent-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s, transform 0.25s var(--ease-out);
}

.game-tile:hover .game-tile__go {
    opacity: 1;
    transform: none;
}

/* ===== 16. CATALOG TILES: единые плитки игр ===== */
.products-grid.catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) { .products-grid.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .products-grid.catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.category-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===== 16. CATALOG TILES ===== */
/* Название всегда текстом, максимум 2 строки — единообразно для всех игр */
.category-card .category-card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
    margin-bottom: 0;
}

/* Мета-строка: «N товаров» слева, «от N ₽» справа — без чипов */
.category-card-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.category-card-count-plain {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
}

.category-card-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-light);
    white-space: nowrap;
}

.category-card-price .price-display {
    color: var(--accent-primary);
    font-weight: 700;
}

/* Инфо-блок прижат к низу с равными отступами */
.category-card .category-card-info {
    left: 14px;
    right: 14px;
    bottom: 12px;
}

/* Затемнение чуть плотнее — текст читается на любом арте */
.category-card::after {
    background: linear-gradient(180deg, transparent 30%, rgba(7, 8, 6, 0.94) 100%) !important;
}

/* Чипы фич в карточках */
.catalog-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.category-card-count {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 7px;
    padding: 3px 8px;
    background: rgba(9, 10, 8, 0.72);
    border: 1px solid rgba(198, 242, 78, 0.28);
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    backdrop-filter: blur(4px);
}

.category-card-count-num {
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.category-card-count-label {
    color: var(--text-light);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
