/* WhiteTime — тёмная тема, фиолетовые акценты */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --bg-2: #12101a;
    --bg-3: #1a1624;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hover: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.14);
    --text: #f2f2f7;
    --text-dim: #9490a8;
    --text-mute: #5c5868;
    --accent: #7c3aed;
    --accent-2: #818cf8;
    --accent-glow: rgba(124, 58, 237, 0.45);
    --btn-gradient: linear-gradient(135deg, #9333ea 0%, #6366f1 100%);
    --mc-green: #5ea819;
    --mc-green-dark: #3a6b0f;
    --mc-green-light: #7cbd2a;
    --mc-slot: #2b2b33;
    --mc-slot-border: #1a1a20;
    --mc-btn-green: linear-gradient(135deg, #34d399 0%, #22c55e 100%);
    --buy-glow: rgba(34, 197, 94, 0.35);
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --font: 'Inter', system-ui, sans-serif;
    --font-head: 'Unbounded', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: no-preference) {
    .nav-link, .nav-cta, .nav-tg, .btn-primary, .btn-secondary,
    .social-link, .shop-tab, .cat-filter, .server-card, .pay-method,
    .product-buy-btn, .mc-btn-buy {
        transition-duration: 0.42s;
        transition-timing-function: var(--ease-out);
    }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
img { max-width: 100%; display: block; }

/* Фон — мягкое фиолетовое свечение */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    transform: translateZ(0);
}
.bg-glow-1 {
    width: 560px;
    height: 560px;
    background: #6d28d9;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.18;
    animation: glowDrift1 22s var(--ease-smooth) infinite alternate;
}
.bg-glow-2 {
    width: 420px;
    height: 420px;
    background: #4f46e5;
    bottom: -80px;
    right: -100px;
    opacity: 0.12;
    animation: glowDrift2 28s var(--ease-smooth) infinite alternate;
}
.bg-glow-3 {
    width: 320px;
    height: 320px;
    background: #7c3aed;
    top: 50%;
    left: -120px;
    opacity: 0.08;
    animation: glowDrift3 26s var(--ease-smooth) infinite alternate;
}
@keyframes glowDrift1 {
    0% { transform: translate3d(-50%, 0, 0) scale(1); opacity: 0.15; }
    20% { transform: translate3d(calc(-50% - 16px), 10px, 0) scale(1.03); opacity: 0.2; }
    40% { transform: translate3d(calc(-50% + 12px), 22px, 0) scale(1.07); opacity: 0.22; }
    60% { transform: translate3d(calc(-50% - 8px), 14px, 0) scale(1.04); opacity: 0.19; }
    80% { transform: translate3d(calc(-50% + 18px), -6px, 0) scale(1.06); opacity: 0.24; }
    100% { transform: translate3d(calc(-50% + 6px), 8px, 0) scale(1.02); opacity: 0.17; }
}
@keyframes glowDrift2 {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.1; }
    25% { transform: translate3d(-22px, -14px, 0) scale(1.08); opacity: 0.16; }
    50% { transform: translate3d(14px, 10px, 0) scale(1.04); opacity: 0.14; }
    75% { transform: translate3d(-10px, 18px, 0) scale(1.1); opacity: 0.18; }
    100% { transform: translate3d(8px, -8px, 0) scale(1.03); opacity: 0.12; }
}
@keyframes glowDrift3 {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.07; }
    33% { transform: translate3d(20px, -16px, 0) scale(1.12); opacity: 0.12; }
    66% { transform: translate3d(-14px, 12px, 0) scale(1.05); opacity: 0.1; }
    100% { transform: translate3d(10px, 6px, 0) scale(1.08); opacity: 0.09; }
}

/* ===== NAV ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.45s var(--ease-smooth), padding 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth), backdrop-filter 0.45s var(--ease-smooth);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 20px;
}
.logo-accent { color: var(--accent-2); }
.nav-links { display: flex; gap: 6px; }
.nav-link {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: 0.2s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.is-current { color: var(--text); background: var(--surface); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 100px;
    background: var(--btn-gradient);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 24px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}
.nav-tg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 100px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}
.nav-tg:hover { background: rgba(56, 189, 248, 0.12); color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 24px 16px;
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid var(--border);
}
.nav-mobile a {
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-dim);
    font-weight: 500;
}
.nav-mobile a:hover,
.nav-mobile a.is-current { background: var(--surface); color: var(--text); }
.nav-mobile-cta {
    text-align: center;
    background: var(--btn-gradient) !important;
    color: #fff !important;
    margin-top: 6px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 96px 24px 56px;
}
.hero-content { max-width: 740px; width: 100%; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 24px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); transform: scale(1); }
    20% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28); transform: scale(1.04); }
    45% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12); transform: scale(1.08); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); transform: scale(1); }
}
.hero-content {
    animation: heroIn 0.95s var(--ease-out) both;
}
@keyframes heroIn {
    0% { opacity: 0; transform: translate3d(0, 22px, 0); }
    55% { opacity: 1; transform: translate3d(0, -2px, 0); }
    100% { opacity: 1; transform: none; }
}
.hero-title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(44px, 8vw, 88px);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, #c4b5fd, var(--accent), #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.seo-snippet {
    margin: 8px auto 14px;
    max-width: 34em;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    margin-bottom: 32px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    background: var(--btn-gradient);
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 4px 28px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px var(--accent-glow);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    transition: 0.2s;
}
.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
}

/* ===== PROMO ===== */
section.promo-banner {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 24px 28px;
}
.promo-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: var(--radius);
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(124, 58, 237, 0.32);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.12);
}
.promo-icon { font-size: 26px; color: var(--warning); flex-shrink: 0; }
.promo-text { min-width: 0; }
.promo-title { font-weight: 700; font-size: 16px; display: block; }
.promo-desc { font-size: 14px; color: var(--text-dim); display: block; margin-top: 2px; }
.promo-desc code {
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.28);
    color: var(--accent-2);
    font-weight: 700;
    cursor: pointer;
    user-select: all;
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 38px);
    letter-spacing: -0.02em;
}
.section-hint {
    font-size: 14px;
    color: var(--text-dim);
    margin-top: 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.section-tag i { margin-right: 6px; opacity: 0.85; }

/* ===== SHOP ===== */
.shop {
    padding-top: 56px;
}
.shop-wrap { width: 100%; }
.shop-panel {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: rgba(18, 16, 26, 0.75);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}
.shop-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.shop-toolbar-block {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.shop-toolbar-block:last-child { border-bottom: none; }
.shop-toolbar-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 12px;
}
.shop-toolbar-block--player .promo-status { margin-top: 10px; margin-bottom: 0; }
.shop-toolbar-block--search .shop-controls { grid-template-columns: 1fr; }

.shop-products {
    padding: 24px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.04), transparent 120px);
}

.shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    transition: 0.2s;
}
.shop-tab:hover { color: var(--text); border-color: var(--border-hover); }
.shop-tab.active {
    background: var(--btn-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cat-filter {
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    transition: 0.2s;
}
.cat-filter:hover { color: var(--text); }
.cat-filter.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.45);
    color: #86efac;
    font-weight: 600;
}

.shop-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.control-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-mute);
    font-size: 15px;
    z-index: 1;
}
.control-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.control-input:focus {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.control-group { position: relative; min-width: 0; }
.control-input.input-error { border-color: var(--danger); animation: shake 0.35s; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.promo-status {
    min-height: 20px;
    font-size: 13px;
    font-weight: 500;
}
.promo-status.valid { color: var(--success); }
.promo-status:not(.valid):not(:empty) { color: var(--danger); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr));
    gap: 18px;
}
.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateZ(0);
    transition: transform 0.52s var(--ease-out), box-shadow 0.52s var(--ease-out), border-color 0.45s var(--ease-smooth);
}
.product-card:hover {
    transform: translate3d(0, -10px, 0);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 20px 48px rgba(124, 58, 237, 0.16);
}
.product-card.wt-card-enter {
    animation: cardEnter 0.72s var(--ease-out) both;
}
@keyframes cardEnter {
    0% { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.975); }
    58% { opacity: 1; transform: translate3d(0, -3px, 0) scale(1.008); }
    100% { opacity: 1; transform: none; }
}
.product-img-wrap {
    aspect-ratio: 16 / 10;
    min-height: 168px;
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.product-img-wrap.cat-privilege { background: linear-gradient(145deg, #1e1830, #12101a); }
.product-img-wrap.cat-currency { background: linear-gradient(145deg, #152018, #12101a); }
.product-img-wrap.cat-keys { background: linear-gradient(145deg, #201810, #12101a); }
.product-info { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.product-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.product-price {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    color: #a7f3d0;
}
.product-buy-btn,
.mc-btn-buy {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--mc-btn-green);
    border: none;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 4px 16px var(--buy-glow);
}
.product-buy-btn:hover,
.mc-btn-buy:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px var(--buy-glow);
}
.product-buy-btn:active,
.mc-btn-buy:active { transform: translateY(0); }
.product-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    color: var(--text-dim);
    z-index: 2;
}
.product-img-wrap--empty {
    min-height: 48px;
    aspect-ratio: auto;
    border-bottom: 1px solid var(--border);
}
.product-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-photo { transform: scale(1.08); }
.product-icon, .product-icon-fallback, .product-fa-icon { display: none !important; }
.product-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}
.product-price-row { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-old-price { font-size: 13px; color: var(--text-mute); text-decoration: line-through; }
.product-price-note { font-size: 11px; color: var(--text-mute); }

.duration-bar[hidden] { display: none !important; }
.duration-bar {
    display: flex;
    align-items: flex-end;
    gap: 10px 18px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    padding: 8px 12px 0;
    border-top: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.28) 0%, rgba(18, 16, 26, 0.55) 78%);
}
.duration-bar-label {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    padding-bottom: 10px;
    white-space: nowrap;
}
.duration-bar-opts {
    display: flex;
    align-items: stretch;
    gap: 2px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.duration-bar-opts::-webkit-scrollbar { display: none; }
.duration-opt {
    position: relative;
    padding: 8px 10px 12px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    opacity: 0.62;
    white-space: nowrap;
    flex-shrink: 0;
}
.duration-opt:hover { opacity: 0.9; }
.duration-opt.is-active {
    opacity: 1;
}
.duration-opt.is-active::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent-glow);
}
.duration-bar--popup {
    margin: 0 -24px 16px;
    padding: 10px 24px 0;
}
.duration-bar--card {
    margin: 0 -18px 12px;
    padding: 4px 8px 0;
    flex-wrap: nowrap;
    gap: 6px;
}
.duration-bar--card .duration-bar-opts {
    overflow: visible;
}
.duration-bar--card .duration-opt {
    flex: 1;
    text-align: center;
    font-size: 11px;
    padding: 6px 4px 10px;
}
.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--text-dim);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.shop-empty i {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-mute);
}
.pay-methods-empty {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-size: 13px;
}

@media (min-width: 960px) {
    .shop-toolbar {
        display: grid;
        grid-template-columns: 1fr 1.15fr;
    }
    .shop-toolbar-block--player {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 160px 1fr;
        gap: 8px 20px;
        align-items: start;
    }
    .shop-toolbar-block--player .shop-toolbar-title { grid-column: 1; margin-bottom: 0; padding-top: 12px; }
    .shop-toolbar-block--player .shop-controls { grid-column: 2; }
    .shop-toolbar-block--player .promo-status { grid-column: 2; }
}

@media (min-width: 1100px) {
    .shop-toolbar {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.95fr);
    }
    .shop-toolbar-block--player {
        grid-column: auto;
        display: block;
    }
    .shop-toolbar-block--player .shop-toolbar-title { padding-top: 0; margin-bottom: 12px; }
}

/* legacy shop rules below replaced — keep empty block removed */
/* ===== SERVERS ===== */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.server-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.25s;
}
.server-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.server-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-2);
    font-size: 22px;
    margin-bottom: 16px;
}
.server-card h3 { font-family: var(--font-head); font-size: 20px; margin-bottom: 6px; }
.server-card p { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; }
.server-ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-2);
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.ip-text { font-size: 14px; font-weight: 600; }
.copy-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: var(--text-dim);
    transition: 0.2s;
}
.copy-btn:hover { background: var(--accent); color: #fff; }
.copy-btn.copied { background: var(--success); color: #fff; }
.server-status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-mute); }
.status-dot.online { background: var(--success); }

/* ===== PAYMENTS ===== */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.payment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: 0.2s;
}
.payment-card:hover { background: var(--surface-hover); }
.payment-card-new { animation: slideIn 0.45s ease; }
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.payment-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-2);
    flex-shrink: 0;
}
.payment-product { font-weight: 700; font-size: 14px; }
.payment-user { font-size: 13px; color: var(--text-dim); }
.payment-time { font-size: 12px; color: var(--text-mute); }

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    max-width: none;
    padding: 48px 24px;
    border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 10px;
}
.footer-copy { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; line-height: 1.6; }
.footer-contacts { margin-bottom: 20px; }
.footer-contacts-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-mute);
    margin-bottom: 10px;
}
.footer-contacts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}
.footer-contact-link:hover {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(124, 58, 237, 0.1);
}
.footer-contact-link i { font-size: 16px; color: var(--accent-2); }
.footer-socials-hint { font-size: 12px; color: var(--text-mute); }
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}
.footer-legal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--accent-2);
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-legal-icon:hover {
    background: var(--btn-gradient, linear-gradient(135deg, #9333ea, #6366f1));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    font-size: 12px;
}
.footer-legal-links a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-legal-links a:hover { color: var(--accent-2); }
.footer-legal-sep { color: var(--text-mute); user-select: none; }

body.legal-open { overflow: hidden; }
.legal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}
.legal-overlay.open { opacity: 1; visibility: visible; }
.legal-modal {
    position: fixed;
    z-index: 9001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: min(640px, calc(100vw - 32px));
    max-height: min(85vh, 720px);
    background: var(--surface-2, #14121f);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.legal-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.legal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    cursor: pointer;
    z-index: 2;
}
.legal-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.legal-modal-head {
    padding: 24px 48px 12px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.legal-modal-head h2 {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.legal-modal-date {
    margin: 8px 0 0;
    font-size: 12px;
    color: var(--text-mute);
}
.legal-modal-body {
    padding: 20px 24px 28px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-dim);
}
.legal-modal-body h3 {
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--text);
    margin: 22px 0 10px;
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin: 0 0 10px; }
.legal-modal-body ul {
    margin: 0 0 12px;
    padding-left: 1.25rem;
}
.legal-modal-body li { margin-bottom: 6px; }
.legal-lead { color: var(--text); font-weight: 500; }
.social-link {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: 0.2s;
    font-size: 13px;
    font-weight: 500;
}
.social-link-label { line-height: 1; }
.social-link i { font-size: 18px; }
.footer-socials-block { margin-bottom: 22px; }
.footer-socials-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-mute);
    margin-bottom: 10px;
}
.footer-socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.footer-socials-hint { font-size: 12px; color: var(--text-mute); }
.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ===== POPUP ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s var(--ease-smooth);
}
.popup-overlay.active { opacity: 1; pointer-events: all; }
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    z-index: 201;
    width: min(460px, 94vw);
    max-height: 92vh;
    overflow-y: auto;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s var(--ease-out), transform 0.48s var(--ease-out);
}
.popup.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}
.popup-product-banner-wrap {
    aspect-ratio: 16 / 9;
    max-height: 200px;
    overflow: hidden;
    background: var(--bg-3);
}
.popup-product-banner { width: 100%; height: 100%; object-fit: cover; }
.popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    color: var(--text-dim);
    z-index: 3;
    transition: 0.2s;
}
.popup-close:hover { background: var(--danger); color: #fff; }
.popup-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.popup-header h2 { font-family: var(--font-head); font-size: 22px; }
.popup-badge {
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.12);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.25);
}
.popup-body { padding: 20px 24px 24px; }
.popup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 16px;
}
.popup-meta i { color: var(--accent-2); margin-right: 4px; }
.popup-product { display: flex; gap: 14px; margin-bottom: 16px; align-items: center; }
.popup-product-icon { display: none !important; }
.popup-product-name { font-weight: 700; font-size: 16px; }
.popup-product-price { font-size: 22px; font-weight: 800; color: var(--accent-2); margin-top: 4px; }
.popup-desc { margin: 0 0 16px; }
.popup-desc[hidden] { display: none !important; }
.popup-features-list {
    margin-top: 0;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
}
.popup-features-list ul { list-style: none; }
.popup-features-list li { line-height: 1.45; }
.popup-features-list li + li { margin-top: 6px; }
.popup-divider { height: 1px; background: var(--border); margin: 18px 0; }
.popup-label { font-size: 14px; color: var(--text-dim); margin-bottom: 10px; display: block; }
.popup-platinum-row { display: flex; gap: 8px; margin-bottom: 8px; }
.popup-qty-input {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-3);
    color: var(--text);
    font-size: 16px;
}
.popup-qty-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 18px;
}
.popup-qty-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.popup-platinum-hint { font-size: 12px; color: var(--text-mute); }
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.pay-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 80px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    cursor: pointer;
    transition: 0.2s;
}
.pay-method:hover { border-color: var(--border-hover); color: var(--text); }
.pay-method.active {
    border-color: var(--accent);
    background: rgba(124, 58, 237, 0.12);
    color: var(--text);
}
.pay-method i { font-size: 20px; color: var(--accent-2); }
.pay-method-logo {
    width: 46px;
    height: 28px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: transparent;
    padding: 0;
}
.pay-method span { text-align: center; line-height: 1.2; }
.popup-summary { margin-bottom: 16px; font-size: 14px; color: var(--text-dim); }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-total {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    color: var(--text);
}
.summary-total span:last-child { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.popup-buy {
    width: 100%;
    padding: 15px;
    border-radius: var(--radius-sm);
    background: var(--mc-btn-green);
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px var(--buy-glow);
    transition: 0.2s;
}
.popup-buy:hover {
    filter: brightness(1.06);
    box-shadow: 0 6px 28px var(--buy-glow);
}
.popup-buy:active { transform: scale(0.99); }
.popup-buy:disabled { opacity: 0.65; cursor: not-allowed; }
.popup-legal { font-size: 11px; color: var(--text-mute); text-align: center; line-height: 1.5; }
.popup-legal a { color: var(--accent-2); }

body.wt-muted-product-icons .product-photo { opacity: 0.45; filter: grayscale(0.5); transform: none !important; }
body.wt-muted-pay-methods .pay-method i,
body.wt-muted-pay-methods .pay-method-logo { opacity: 0.45; }
body.fx-no-card-anim .product-card:hover { transform: none; box-shadow: none; }
body.fx-no-gradient .gradient-text {
    background: none;
    -webkit-text-fill-color: var(--accent-2);
    color: var(--accent-2);
}

.wt-player {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 95;
    width: min(320px, calc(100vw - 88px));
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(18, 16, 26, 0.92);
    border: 1px solid var(--border);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--accent-glow);
    backdrop-filter: blur(14px);
    transition: width 0.2s ease, padding 0.2s ease, border-radius 0.2s ease;
}
.wt-player-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-right: 22px;
}
.wt-player-fold {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wt-player-fold:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.14);
}
.wt-player-mini {
    display: none;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    background: var(--btn-gradient);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.wt-player.is-collapsed {
    width: 54px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}
.wt-player.is-collapsed .wt-player-panel { display: none; }
.wt-player.is-collapsed .wt-player-mini { display: flex; }
.wt-player.is-playing.is-collapsed .wt-player-mini {
    animation: wtPlayerSpin 8s linear infinite;
}
.wt-player-art {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-gradient);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.wt-player.is-playing .wt-player-art {
    animation: wtPlayerSpin 8s linear infinite;
}
.wt-player-body { min-width: 0; flex: 1; }
.wt-player-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.wt-player-sub {
    margin: 0 0 6px;
    font-size: 11px;
    color: var(--text-dim);
}
.wt-player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wt-player-toggle {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--btn-gradient);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wt-player-seek {
    flex: 1;
    min-width: 0;
    accent-color: var(--accent-2);
    cursor: pointer;
}
.wt-player-time {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}
@keyframes wtPlayerSpin {
    to { transform: rotate(360deg); }
}
@media (max-width: 640px) {
    .wt-player { left: 10px; bottom: 72px; width: calc(100vw - 20px); }
    .wt-player.is-collapsed { width: 54px; }
}

.gift-widget {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 90;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-gradient);
    box-shadow: 0 4px 24px var(--accent-glow);
    cursor: pointer;
    transition: 0.2s;
}
.gift-widget:hover { transform: scale(1.06); }
.gift-emoji { color: #fff; font-size: 20px; }
.gift-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--accent-2);
    animation: giftPulse 2s infinite;
    pointer-events: none;
}
@keyframes giftPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.toast-container {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    width: min(400px, calc(100% - 32px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-2);
    border: 1px solid var(--border);
    font-size: 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success i { color: var(--success); }
.toast-error i { color: var(--danger); }
.toast-info i { color: var(--accent-2); }

.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; contain: layout style; }
.fx-particle {
    position: absolute;
    bottom: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-2);
    animation: fxFloatUp ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}
.fx-snowflake { position: absolute; top: -20px; color: rgba(255,255,255,0.5); animation: fxSnowFall linear forwards; }
.fx-star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #fff;
    animation: fxTwinkle ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}
@keyframes fxTwinkle {
    0% { opacity: 0.12; transform: scale(1); }
    18% { opacity: 0.35; transform: scale(1.15); }
    36% { opacity: 0.7; transform: scale(1.4); }
    50% { opacity: 0.9; transform: scale(1.65); }
    68% { opacity: 0.5; transform: scale(1.25); }
    86% { opacity: 0.22; transform: scale(1.08); }
    100% { opacity: 0.12; transform: scale(1); }
}
body.fx-vignette::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.55);
}
body.fx-hide-howto #how,
body.fx-hide-stats .hero-stats,
body.fx-hide-payments #payments,
body.fx-hide-servers #servers,
body.fx-hide-player .wt-player { display: none !important; }
.wt-notice-bar {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 88;
    max-width: min(720px, calc(100vw - 24px));
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.94), rgba(99, 102, 241, 0.9));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
    .wt-notice-bar { top: 64px; font-size: 12px; }
}

.fx-css { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.fx-css > div { display: none; position: absolute; inset: 0; }
body.fx-aurora .fx-aurora-band {
    display: block;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.28), rgba(56, 189, 248, 0.08) 42%, transparent 70%);
    animation: fxAurora 8s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
body.fx-fog .fx-fog-band {
    display: block;
    background: radial-gradient(ellipse at 30% 80%, rgba(180, 170, 255, 0.16), transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(124, 58, 237, 0.14), transparent 46%);
    animation: fxFog 12s ease-in-out infinite alternate;
}
body.fx-hero-rays .fx-hero-rays {
    display: block;
    background: repeating-conic-gradient(from 0deg at 50% -10%, transparent 0 8deg, rgba(167, 139, 250, 0.07) 8deg 10deg);
    mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
    animation: fxRays 18s linear infinite;
}
body.fx-scanlines .fx-scanlines {
    display: block;
    background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.18) 2px 3px);
    opacity: 0.28;
}
body.fx-grain .fx-grain {
    display: block;
    opacity: 0.12;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.6px, transparent 0.7px);
    background-size: 3px 3px;
    animation: fxGrain 1.8s var(--ease-smooth) infinite;
}
body.fx-grid .fx-grid {
    display: block;
    background-image:
        linear-gradient(rgba(129, 140, 248, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
@keyframes fxAurora {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
    35% { transform: translate3d(-2%, 10px, 0) scale(1.03); opacity: 0.88; }
    70% { transform: translate3d(3%, 16px, 0) scale(1.06); opacity: 0.8; }
    100% { transform: translate3d(0, 18px, 0) scale(1.05); opacity: 0.85; }
}
@keyframes fxFog {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    40% { transform: translate3d(3%, -2%, 0) scale(1.04); }
    100% { transform: translate3d(6%, 0, 0) scale(1.08); }
}
@keyframes fxRays {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(9deg); }
    100% { transform: rotate(18deg); }
}
@keyframes fxGrain {
    0% { transform: translate3d(0, 0, 0); }
    25% { transform: translate3d(1px, -1px, 0); }
    50% { transform: translate3d(-1px, 1px, 0); }
    75% { transform: translate3d(1px, 1px, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.fx-rain {
    position: absolute; top: -8%; width: 1px; height: 22px;
    background: linear-gradient(transparent, rgba(196, 181, 253, 0.55));
    animation: fxRainFall linear forwards;
}
.fx-ember {
    position: absolute; bottom: -4%; width: 4px; height: 4px; border-radius: 50%;
    background: #fb923c; box-shadow: 0 0 8px #f97316;
    animation: fxFloatUp linear forwards;
}
.fx-fly {
    position: absolute; width: 5px; height: 5px; border-radius: 50%;
    background: #e9d5ff; box-shadow: 0 0 10px #c084fc;
    animation: fxFirefly ease-in-out infinite;
}
.fx-meteor {
    position: absolute; width: 90px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, #fff, #c4b5fd);
    transform: rotate(-28deg);
    animation: fxMeteor 0.7s linear forwards;
}
.fx-cube {
    position: absolute; width: 10px; height: 10px;
    background: linear-gradient(145deg, #7c3aed, #312e81);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
    animation: fxCube 11s linear forwards;
}
.fx-flash {
    position: fixed; inset: 0; z-index: 70; pointer-events: none;
    background: rgba(237, 233, 254, 0.32);
    animation: fxFlash 0.18s ease-out forwards;
}
.fx-orb {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.35), transparent 70%);
    animation: fxOrb 16s ease-in-out infinite;
}
@keyframes fxRainFall { to { transform: translateY(110vh); opacity: 0.2; } }
@keyframes fxFirefly {
    0% { transform: translate3d(0, 0, 0); opacity: 0.2; }
    20% { transform: translate3d(8px, -10px, 0); opacity: 0.55; }
    50% { transform: translate3d(18px, -24px, 0); opacity: 0.9; }
    75% { transform: translate3d(6px, -14px, 0); opacity: 0.45; }
    100% { transform: translate3d(0, 0, 0); opacity: 0.2; }
}
@keyframes fxMeteor { to { transform: translate(-40vw, 40vh) rotate(-28deg); opacity: 0; } }
@keyframes fxCube { to { transform: translateY(-110vh) rotate(220deg); opacity: 0; } }
@keyframes fxFlash { to { opacity: 0; } }
@keyframes fxOrb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(12px, -8px, 0) scale(1.05); }
    50% { transform: translate3d(30px, -20px, 0) scale(1.15); }
    75% { transform: translate3d(14px, -6px, 0) scale(1.06); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

body.fx-hue { animation: fxHue 22s linear infinite; }
@keyframes fxHue { to { filter: hue-rotate(28deg); } }
body.fx-bloom .bg-glow { filter: blur(90px) saturate(1.5); opacity: 0.45; }
body.fx-crt { animation: fxCrt 3.2s steps(2) infinite; }
@keyframes fxCrt {
    0%, 100% { transform: none; }
    48% { transform: none; }
    50% { transform: translate(0.4px, 0); }
    52% { transform: none; }
}
body.fx-title-glow .hero-title,
body.fx-title-glow .gradient-text {
    text-shadow: 0 0 24px rgba(196, 181, 253, 0.65), 0 0 48px rgba(124, 58, 237, 0.4);
}
body.fx-glitch .hero-title {
    animation: fxGlitch 2.8s infinite;
}
@keyframes fxGlitch {
    0%, 90%, 100% { transform: none; text-shadow: none; }
    92% { transform: translate(2px, -1px); text-shadow: -2px 0 #f472b6, 2px 0 #67e8f9; }
    94% { transform: translate(-2px, 1px); }
}
body.fx-ip-neon .hero-ip {
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.45), 0 0 24px rgba(124, 58, 237, 0.35);
}
body.fx-nav-glow .navbar {
    box-shadow: 0 8px 28px rgba(76, 29, 149, 0.25);
    border-bottom-color: rgba(167, 139, 250, 0.25);
}
body.fx-btn-glow .btn-primary,
body.fx-btn-glow .nav-cta {
    box-shadow: 0 0 22px rgba(124, 58, 237, 0.45);
}
body.fx-neon-cards .product-card {
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.28), 0 12px 30px rgba(0, 0, 0, 0.35);
}
body.fx-card-shine .product-card { position: relative; overflow: hidden; }
body.fx-card-shine .product-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.14) 48%, transparent 62%);
    transform: translateX(-120%);
    animation: fxShine 4.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes fxShine { 20% { transform: translateX(-120%); } 50% { transform: translateX(120%); } 100% { transform: translateX(120%); } }
body.fx-card-tilt .product-card { transition: transform 0.5s var(--ease-out); }
body.fx-card-tilt .product-card:hover { transform: perspective(700px) rotateX(4deg) rotateY(-6deg) translateY(-4px); }

.fx-cursor-glow {
    position: fixed; width: 220px; height: 220px; margin: -110px 0 0 -110px;
    border-radius: 50%; pointer-events: none; z-index: 70;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18), transparent 68%);
}
.fx-cursor-dot {
    position: fixed; width: 7px; height: 7px; margin: -3px 0 0 -3px;
    border-radius: 50%; pointer-events: none; z-index: 71;
    background: #c4b5fd; animation: fxTrail 0.45s linear forwards;
}
@keyframes fxTrail { to { opacity: 0; transform: scale(0.2); } }

.fx-fall { position: absolute; top: -8%; animation: fxSnowFall linear forwards; pointer-events: none; }
.fx-rise { position: absolute; bottom: -6%; animation: fxFloatUp linear forwards; }
.fx-bin { position: absolute; top: -8%; color: rgba(167,139,250,.45); font: 12px/1 monospace; animation: fxSnowFall linear forwards; }
.fx-pix { position: absolute; top: -4%; width: 4px; height: 4px; background: #a78bfa; animation: fxSnowFall linear forwards; }
.fx-puff { position: absolute; bottom: 8%; width: 28px; height: 28px; border-radius: 50%; background: rgba(196,181,253,.12); animation: fxPuff 3s ease-out forwards; }
.fx-comet { position: absolute; width: 140px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff, #fde68a); transform: rotate(-32deg); animation: fxMeteor .9s linear forwards; }
.fx-warp { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, #c4b5fd); animation: fxWarp .45s linear forwards; }
.fx-laser { position: absolute; height: 2px; left: 0; right: 0; background: linear-gradient(90deg, transparent, #f472b6, transparent); animation: fxLaser 1.2s linear forwards; }
.fx-stream { position: absolute; top: -8%; width: 2px; height: 40px; background: linear-gradient(transparent, #67e8f9); animation: fxRainFall .8s linear forwards; }
.fx-shard { position: absolute; width: 8px; height: 8px; background: #ddd6fe; clip-path: polygon(50% 0, 100% 100%, 0 100%); animation: fxCube 7s linear forwards; }
.fx-rune { position: absolute; color: rgba(196,181,253,.55); font-size: 16px; animation: fxFirefly 5s ease-in-out infinite; }
.fx-shock { position: fixed; border: 2px solid rgba(196,181,253,.45); border-radius: 50%; pointer-events: none; z-index: 72; animation: fxShock .7s ease-out forwards; }
.fx-invert { position: fixed; inset: 0; pointer-events: none; z-index: 73; background: #fff; mix-blend-mode: difference; opacity: .35; animation: fxFlash .16s ease-out forwards; }
.fx-conf { position: absolute; top: -6%; width: 7px; height: 10px; animation: fxSnowFall linear forwards; }
.fx-boom { position: fixed; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; z-index: 72; animation: fxBoom .7s ease-out forwards; }
.fx-click-ripple { position: fixed; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2px solid rgba(196,181,253,.7); border-radius: 50%; pointer-events: none; z-index: 74; animation: fxShock .5s ease-out forwards; }
@keyframes fxPuff { to { transform: translateY(-50px) scale(2.2); opacity: 0; } }
@keyframes fxWarp { to { transform: translateX(40vw); opacity: 0; } }
@keyframes fxLaser { to { opacity: 0; transform: translateY(20px); } }
@keyframes fxShock { to { transform: scale(12); opacity: 0; } }
@keyframes fxBoom { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }

body.fx-vhs .fx-vhs-band { display: block; background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255,0,80,.05) 6px 7px); mix-blend-mode: screen; }
body.fx-hologram .fx-holo-band { display: block; background: repeating-linear-gradient(180deg, rgba(103,232,249,.08) 0 2px, transparent 2px 6px); animation: fxAurora 4s linear infinite; }
body.fx-hexGrid .fx-hex-band { display: block; background-image: radial-gradient(rgba(167,139,250,.16) 1.2px, transparent 1.3px); background-size: 22px 19px; }
body.fx-circuit .fx-circuit-band { display: block; background-image: linear-gradient(rgba(103,232,249,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(103,232,249,.1) 1px, transparent 1px); background-size: 70px 70px; }
body.fx-frost .fx-frost-band { display: block; box-shadow: inset 0 0 80px rgba(224,242,254,.18); backdrop-filter: blur(0.4px); }
body.fx-letterbox .fx-letter-t, body.fx-letterbox .fx-letter-b { display: block; inset: auto; left: 0; right: 0; height: 42px; background: #000; z-index: 86; }
body.fx-letterbox .fx-letter-t { top: 0; }
body.fx-letterbox .fx-letter-b { bottom: 0; }
body.fx-pageTint .fx-tint-band { display: block; background: rgba(124,58,237,.08); }
body.fx-energyField .fx-energy-band { display: block; box-shadow: inset 0 0 120px rgba(167,139,250,.2); }
body.fx-moon .fx-moon { display: block; inset: auto; top: 80px; right: 8%; width: 70px; height: 70px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #f8fafc, #94a3b8); box-shadow: 0 0 40px rgba(248,250,252,.35); }
body.fx-clouds .fx-clouds-band { display: block; background: radial-gradient(ellipse at 20% 10%, rgba(255,255,255,.08), transparent 36%), radial-gradient(ellipse at 70% 8%, rgba(255,255,255,.06), transparent 32%); animation: fxFog 16s ease-in-out infinite; }
body.fx-blackHole .fx-hole { display: block; inset: auto; left: 50%; top: 18%; width: 90px; height: 90px; margin-left: -45px; border-radius: 50%; background: radial-gradient(circle, #000 40%, rgba(124,58,237,.35) 62%, transparent 70%); }
body.fx-sunFlare .fx-flare { display: block; inset: auto; top: -40px; left: 20%; width: 220px; height: 220px; background: radial-gradient(circle, rgba(253,224,71,.22), transparent 60%); }
body.fx-oilSlick .fx-oil-band { display: block; background: conic-gradient(from 40deg, transparent, rgba(244,114,182,.1), rgba(103,232,249,.1), transparent); mix-blend-mode: screen; animation: fxRays 24s linear infinite; }
body.fx-scanBeam .fx-scan-beam { display: block; inset: auto; left: 0; right: 0; height: 80px; background: linear-gradient(transparent, rgba(167,139,250,.16), transparent); animation: fxScan 4.5s linear infinite; }
body.fx-radar .fx-radar-band { display: block; background: repeating-conic-gradient(from 0deg at 90% 80%, transparent 0 18deg, rgba(52,211,153,.08) 18deg 20deg); animation: fxRays 8s linear infinite; }
body.fx-heatHaze .fx-heat-band { display: block; backdrop-filter: blur(0.6px); opacity: .35; }
body.fx-staticNoise .fx-static-band { display: block; opacity: .08; background-image: radial-gradient(#fff 0.5px, transparent .6px); background-size: 2px 2px; animation: fxGrain .2s steps(2) infinite; }
@keyframes fxScan { from { top: -80px; } to { top: 110%; } }

body.fx-chromatic .hero-title { text-shadow: -2px 0 #f472b6, 2px 0 #67e8f9; }
body.fx-pulseBg { animation: fxPulseBg 6s ease-in-out infinite; }
@keyframes fxPulseBg { 50% { background-color: #0c0814; } }
body.fx-gradientShift .bg-glow { animation: fxHue 12s linear infinite; }
body.fx-rainbowBorder .product-card { box-shadow: 0 0 0 1px rgba(244,114,182,.4), 0 0 0 2px rgba(103,232,249,.25); }
body.fx-glassHero .hero-content { background: rgba(10,10,18,.28); backdrop-filter: blur(10px); border-radius: 24px; padding: 22px; }
body.fx-badgeGlow .hero-badge { box-shadow: 0 0 18px rgba(52,211,153,.45); }
body.fx-statsGlow .hero-stats { filter: drop-shadow(0 0 12px rgba(167,139,250,.45)); }
body.fx-shopPulse .shop-tabs, body.fx-shopPulse .shop-tab.active { box-shadow: 0 0 16px rgba(124,58,237,.35); }
body.fx-footerGlow footer, body.fx-footerGlow .footer { box-shadow: 0 -10px 40px rgba(124,58,237,.18); }
body.fx-cardFloat .product-card { animation: fxOrb 7s ease-in-out infinite; }
body.fx-cardOutlinePulse .product-card { animation: fxOutline 2.4s ease-in-out infinite; }
@keyframes fxOutline { 50% { box-shadow: 0 0 0 2px rgba(167,139,250,.55); } }
body.fx-imgZoomHover .product-card img { transition: transform .35s; }
body.fx-imgZoomHover .product-card:hover img { transform: scale(1.08); }
body.fx-priceFlash .product-price, body.fx-priceFlash .price { animation: fxTwinkle 1.4s ease-in-out infinite; }
body.fx-buyBtnPulse .btn-buy, body.fx-buyBtnPulse .product-card .btn-primary { animation: fxBuy 1.6s ease-in-out infinite; }
@keyframes fxBuy { 50% { box-shadow: 0 0 18px rgba(124,58,237,.55); transform: scale(1.03); } }
body.fx-tabGlow .shop-tab.active { box-shadow: 0 0 14px rgba(167,139,250,.45); }
body.fx-neonUnderline .nav-link { box-shadow: inset 0 -2px 0 rgba(167,139,250,.5); }
body.fx-logoPulse .nav-logo { animation: fxTwinkle 2s ease-in-out infinite; }
body.fx-lowPoly .product-card, body.fx-lowPoly .server-card { clip-path: polygon(6% 0, 100% 0, 100% 90%, 94% 100%, 0 100%, 0 10%); }
body.fx-fishEye .hero { transform: perspective(500px) scale(1.02); }
body.fx-breathe .hero-title { animation: fxOrb 5s ease-in-out infinite; }
body.fx-wobble .hero { animation: fxCrt 1.8s infinite; }
.fx-scroll { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120; background: linear-gradient(90deg, #a78bfa, #f472b6); }
.fx-spot { position: fixed; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(220px circle at var(--sx,50%) var(--sy,40%), transparent 0 18%, rgba(0,0,0,.42) 62%); }
@keyframes fxFloatUp {
    0% { opacity: 0; transform: translate3d(0, 0, 0); }
    8% { opacity: 0.55; transform: translate3d(4px, -8vh, 0); }
    22% { opacity: 0.8; transform: translate3d(-6px, -22vh, 0); }
    40% { opacity: 0.7; transform: translate3d(8px, -42vh, 0); }
    62% { opacity: 0.45; transform: translate3d(-4px, -66vh, 0); }
    82% { opacity: 0.2; transform: translate3d(5px, -86vh, 0); }
    100% { opacity: 0; transform: translate3d(0, -100vh, 0); }
}
@keyframes fxSnowFall { to { transform: translateY(100vh); opacity: 0.2; } }

.maintenance-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.maintenance-box {
    max-width: 400px;
    padding: 40px 28px;
    text-align: center;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.maintenance-box i { font-size: 40px; color: var(--warning); margin-bottom: 16px; }
.maintenance-box h2 { font-family: var(--font-head); margin-bottom: 10px; }
.maintenance-box p { color: var(--text-dim); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

@media (max-width: 768px) {
    .nav-links, .nav-cta, .nav-tg { display: none; }
    .nav-burger { display: flex; }
    .nav-mobile.open { display: flex; }
    .rules-page { padding: 100px 16px 48px; }
    section.promo-banner { padding: 0 16px 20px; }
    .promo-inner { padding: 14px 16px; }
    .rules-item summary { font-size: 14px; padding: 16px; }
    .hero {
        min-height: auto;
        padding: 88px 16px 36px;
    }
    .hero-title { font-size: clamp(36px, 14vw, 56px); }
    .hero-subtitle { font-size: 15px; }
    .hero-ip { width: 100%; justify-content: center; }
    .hero-stats { gap: 8px; }
    .hero-stat { padding: 12px 6px; }
    .hero-stat strong { font-size: 16px; }
    .hero-stat span { font-size: 11px; }
    .payment-methods { grid-template-columns: 1fr 1fr; }
    .toast-container { bottom: 92px; width: calc(100% - 24px); }
    section { padding: 40px 14px; }
    .promo-inner { flex-direction: column; text-align: center; }
    .how-inner { grid-template-columns: 1fr; }
    .shop-toolbar-block { padding: 16px 14px; }
    .shop-products { padding: 14px; }
    .shop-tabs, .category-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .shop-tabs::-webkit-scrollbar, .category-filters::-webkit-scrollbar { display: none; }
    .shop-tab, .cat-filter { flex-shrink: 0; }
    .control-input { font-size: 16px; }
    .popup {
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        transform: none;
        border-radius: 0;
    }
    .popup.active { transform: none; }
    .popup-header { padding: 18px 16px 0; }
    .popup-body { padding: 16px 16px 28px; }
    .duration-bar--popup { margin: 0 -16px 14px; padding: 10px 16px 0; }
    .duration-bar-label { font-size: 12px; }
    .gift-widget { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .servers-grid { grid-template-columns: 1fr; }
    .footer-inner { padding: 0 14px; }
    .legal-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 400;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--btn-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.skip-link:focus {
    top: 12px;
}

.hero-ip {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 28px;
    padding: 10px 12px 10px 16px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.hero-ip-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hero-ip code {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}
.hero-stat {
    padding: 14px 10px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.hero-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}
.hero-stat span {
    font-size: 12px;
    color: var(--text-dim);
}

.how {
    padding-top: 8px;
    padding-bottom: 8px;
}
.how-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}
.how-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}
.how-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--btn-gradient);
    font-weight: 800;
    font-size: 14px;
}
.how-step strong { display: block; font-size: 14px; margin-bottom: 4px; }
.how-step p { font-size: 13px; color: var(--text-dim); margin: 0; }

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.85s var(--ease-out);
}
.product-card:hover::after { transform: translateX(120%); }

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px;
}

/* ===== RULES PAGE ===== */
.page-rules { min-height: 100vh; }
.rules-page {
    position: relative;
    z-index: 1;
    padding: 120px 24px 64px;
}
.rules-wrap { max-width: 860px; margin: 0 auto; }
.rules-list { display: flex; flex-direction: column; gap: 10px; }
.rules-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}
.rules-item[open] { border-color: var(--border-hover); background: var(--surface-hover); }
.rules-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.rules-item summary::-webkit-details-marker { display: none; }
.rules-item summary::after {
    content: 'Развернуть';
    flex-shrink: 0;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-2);
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid rgba(129, 140, 248, 0.35);
}
.rules-item[open] summary::after { content: 'Свернуть'; }
.rules-body {
    padding: 0 20px 20px;
    font-size: 14px;
    color: var(--text-dim);
}
.rules-body p { margin: 0 0 10px; }
.rules-body p:last-child,
.rules-body ul:last-child { margin-bottom: 0; }
.rules-body ul {
    margin: 0 0 12px 18px;
}
.rules-body li { margin-bottom: 6px; }
.rules-body a { color: var(--accent-2); text-decoration: underline; }
.rules-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .product-card:hover { transform: none; }
    .product-card::after { display: none; }
}
