@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- DESIGN TOKENS ---- */
:root {
    /* Brand Colors */
    --color-primary: hsl(0, 85%, 52%);
    /* Vivid Red */
    --color-primary-dk: hsl(0, 80%, 38%);
    --color-gold: hsl(42, 100%, 55%);
    /* Lucky Gold */
    --color-gold-lt: hsl(48, 100%, 72%);
    --color-pink: hsl(320, 80%, 65%);
    /* Cherry blossom */
    --color-jade: hsl(150, 60%, 42%);
    /* Jade green */

    /* Background system */
    --bg-deep: hsl(260, 35%, 6%);
    --bg-dark: hsl(260, 30%, 10%);
    --bg-card: hsl(260, 25%, 13%);
    --bg-card-lt: hsl(260, 20%, 17%);
    --bg-glass: hsla(260, 40%, 100%, 0.05);
    --bg-glass-bd: hsla(260, 40%, 100%, 0.10);

    /* Text */
    --text-primary: hsl(0, 0%, 97%);
    --text-secondary: hsl(260, 10%, 70%);
    --text-muted: hsl(260, 10%, 50%);

    /* UI */
    --border: hsla(42, 80%, 55%, 0.20);
    --border-bright: hsla(42, 80%, 55%, 0.50);
    --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.45);
    --shadow-glow-r: 0 0 30px hsla(0, 85%, 52%, 0.4);
    --shadow-glow-g: 0 0 30px hsla(42, 100%, 55%, 0.4);

    /* Gradients */
    --grad-hero: linear-gradient(135deg, hsl(260, 45%, 8%) 0%, hsl(0, 60%, 14%) 50%, hsl(260, 45%, 8%) 100%);
    --grad-gold: linear-gradient(135deg, hsl(42, 100%, 55%) 0%, hsl(36, 100%, 45%) 100%);
    --grad-btn: linear-gradient(135deg, hsl(0, 85%, 52%) 0%, hsl(0, 80%, 38%) 100%);
    --grad-card: linear-gradient(145deg, hsl(260, 28%, 14%) 0%, hsl(260, 22%, 11%) 100%);

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ---- ACCESSIBILITY ---- */
/* Focus-visible: keyboard navigation indicator (WCAG 2.2 compliance) */
:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Remove focus outline when using mouse */
:focus:not(:focus-visible) {
    outline: none;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -60px;
    left: 1rem;
    z-index: 9999;
    background: var(--color-gold);
    color: hsl(260, 35%, 6%);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

/* Reduced motion: respect user preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: rgba(255, 255, 255, 0.5);
        --text-muted: hsl(260, 10%, 75%);
    }
}



/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 3px;
}

/* ---- UTILITY ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-label::before,
.section-label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-title span {
    color: var(--color-gold);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: var(--space-lg);
}

.text-center {
    text-align: center;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.text-center .section-label {
    justify-content: center;
}

.gold {
    color: var(--color-gold);
}

.red {
    color: var(--color-primary);
}

/* ---- GLASS CARD ---- */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-bd);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    padding: var(--space-lg);
}

.stat-card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.stat-card .stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.stat-card .stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.stat-card .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: var(--grad-btn);
    color: #fff;
    box-shadow: 0 4px 20px hsla(0, 85%, 52%, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(0, 85%, 52%, 0.6);
}

.btn-gold {
    background: var(--grad-gold);
    color: hsl(260, 60%, 10%);
    font-weight: 700;
    box-shadow: 0 4px 20px hsla(42, 100%, 55%, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px hsla(42, 100%, 55%, 0.6);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-bright);
}

.btn-ghost:hover {
    background: var(--bg-glass);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* ---- BADGE ---- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge-gold {
    background: hsla(42, 100%, 55%, 0.15);
    color: var(--color-gold);
    border: 1px solid hsla(42, 100%, 55%, 0.3);
}

.badge-red {
    background: hsla(0, 85%, 52%, 0.15);
    color: var(--color-primary);
    border: 1px solid hsla(0, 85%, 52%, 0.3);
}

.badge-jade {
    background: hsla(150, 60%, 42%, 0.15);
    color: var(--color-jade);
    border: 1px solid hsla(150, 60%, 42%, 0.3);
}

/* ---- PROGRESS BAR ---- */
.progress-bar {
    height: 8px;
    background: var(--bg-card-lt);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- GRID LAYOUTS ---- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: hsla(260, 35%, 6%, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 4px 24px hsla(0, 0%, 0%, 0.5);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-logo-text span {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
    letter-spacing: 0.02em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.nav-drawer {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: hsl(260, 40%, 7%);
    border-top: 2px solid var(--border-bright);
    padding: 0.5rem 1.5rem 3rem;
    gap: 0;
    z-index: 1001;
    /* выше header (1000) */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.85);
}

.nav-drawer.open {
    display: flex;
    animation: drawerSlide 0.22s ease;
}

@keyframes drawerSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-drawer .nav-link {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid hsla(42, 50%, 50%, 0.12);
    font-size: 1.05rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color var(--transition), background var(--transition), padding-left var(--transition);
    border-radius: 8px;
    margin: 0 -0.25rem;
}

.nav-drawer .nav-link:hover {
    color: var(--color-gold);
    background: hsla(42, 100%, 55%, 0.07);
    padding-left: 1.25rem;
}

.nav-drawer .nav-link.active {
    color: var(--color-gold);
    background: hsla(42, 100%, 55%, 0.10);
}

.nav-drawer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
}

/* =============================================
   HERO
   ============================================= */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--grad-hero);
    overflow: hidden;
    padding-top: 70px;
    max-width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('img/hero.png');
    background-size: cover;
    background-position: center 30%;
    opacity: 0.30;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, hsla(260, 35%, 6%, 0.3) 0%, transparent 40%, hsla(260, 35%, 6%, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-xl) 0;
}

.hero-award {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: hsla(42, 100%, 55%, 0.12);
    border: 1px solid hsla(42, 100%, 55%, 0.3);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 30px hsla(0, 0%, 0%, 0.6);
}

.hero-title .line2 {
    color: var(--color-gold);
    display: block;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    background: hsla(260, 40%, 100%, 0.07);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    backdrop-filter: blur(10px);
}

.hero-stat .val {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--color-gold);
}

.hero-stat .lbl {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

/* Floating particles */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-120px) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* =============================================
   FEATURES SECTION
   ============================================= */
#features {
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-bright);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: hsla(42, 100%, 55%, 0.1);
    border: 1px solid hsla(42, 100%, 55%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-card .feature-val {
    display: inline-block;
    margin-top: 0.75rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
}

/* =============================================
   STATS DASHBOARD
   ============================================= */
#stats {
    background: var(--bg-deep);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.volatility-dots {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    justify-content: center;
}

.volatility-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-card-lt);
    transition: background var(--transition);
}

.volatility-dot.active {
    background: var(--color-gold);
}

/* =============================================
   CHARTS SECTION
   ============================================= */
#charts {
    background: var(--bg-dark);
}

.charts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.chart-box {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.chart-box h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-canvas {
    position: relative;
    height: 280px;
}

/* =============================================
   SYMBOLS TABLE
   ============================================= */
#symbols-section {
    background: var(--bg-deep);
}

.symbols-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}

.pay-table {
    width: 100%;
    border-collapse: collapse;
}

.pay-table th {
    background: hsla(42, 100%, 55%, 0.12);
    color: var(--color-gold);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pay-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    vertical-align: middle;
}

.pay-table tr:last-child td {
    border-bottom: none;
}

.pay-table tr:hover td {
    background: var(--bg-glass);
}

.pay-table .sym-name {
    color: var(--text-primary);
    font-weight: 600;
}

.pay-table .sym-icon {
    font-size: 1.4rem;
}


.multiplier {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-gold);
    font-size: 0.95rem;
}

/* Progress bar (volatilidad page etc.) */
.progress-bar {
    height: 8px;
    background: var(--bg-card-lt);
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
    transition: width 1s ease;
    width: 0;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tag-wild {
    background: hsla(320, 80%, 65%, 0.2);
    color: var(--color-pink);
    border: 1px solid hsla(320, 80%, 65%, 0.3);
}

.tag-scatter {
    background: hsla(42, 100%, 55%, 0.2);
    color: var(--color-gold);
    border: 1px solid hsla(42, 100%, 55%, 0.3);
}

.tag-bonus {
    background: hsla(150, 60%, 42%, 0.2);
    color: var(--color-jade);
    border: 1px solid hsla(150, 60%, 42%, 0.3);
}

.tag-regular {
    background: var(--bg-card-lt);
    color: var(--text-muted);
}

/* =============================================
   DEMO SLOT SECTION
   ============================================= */
#demo-section {
    background: var(--bg-deep);
}

.slot-machine-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow-r);
}

.slot-machine-header {
    background: linear-gradient(135deg, hsl(260, 35%, 10%) 0%, hsl(0, 50%, 12%) 100%);
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.slot-machine-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-gold);
}

.slot-info-bar {
    display: flex;
    gap: var(--space-sm);
}

.slot-info-item {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.slot-info-item span {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.slot-reels-area {
    padding: var(--space-md);
}

.slot-win-display {
    background: hsl(260, 40%, 8%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem var(--space-md);
    text-align: center;
    margin-bottom: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: all var(--transition);
}

.slot-win-display.winning {
    background: hsla(42, 100%, 55%, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    font-size: 1.1rem;
    animation: win-pulse 1s ease-in-out infinite;
}

@keyframes win-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 hsla(42, 100%, 55%, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px hsla(42, 100%, 55%, 0);
    }
}

.slot-reels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.slot-reel {
    background: hsl(260, 40%, 7%);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1/3;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition);
}

.slot-reel.spinning {
    border-color: var(--color-primary);
    animation: reel-flash 0.15s ease-in-out infinite;
}

.slot-reel.winning-reel {
    border-color: var(--color-gold);
    box-shadow: 0 0 16px hsla(42, 100%, 55%, 0.5);
}

@keyframes reel-flash {

    0%,
    100% {
        border-color: var(--color-primary);
    }

    50% {
        border-color: var(--color-gold);
    }
}

.reel-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--bg-card-lt);
    transition: transform 0.05s ease;
    position: relative;
    gap: 2px;
    padding: 4px 2px;
}

/* Symbol image-like cells */
.sym-emoji {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    line-height: 1;
    display: block;
}

.sym-label {
    display: block;
    font-size: 0.42rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1.3;
    font-family: var(--font-display);
    white-space: nowrap;
}

.reel-cell.center-row {
    background: hsla(42, 100%, 55%, 0.06);
    border-top: 1px solid hsla(42, 100%, 55%, 0.2);
    border-bottom: 1px solid hsla(42, 100%, 55%, 0.2);
}

.slot-payline {
    border-top: 2px dashed hsla(42, 100%, 55%, 0.3);
    margin-bottom: var(--space-md);
}

.slot-controls {
    padding: 0 var(--space-md) var(--space-md);
}

.slot-balance-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.balance-item {
    background: hsl(260, 35%, 9%);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem var(--space-sm);
    text-align: center;
}

.balance-item .b-val {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
}

.balance-item .b-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.slot-bet-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.bet-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.bet-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.bet-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.bet-amount {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold);
    min-width: 80px;
    text-align: center;
}

.bet-presets {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bet-preset {
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all var(--transition);
}

.bet-preset:hover,
.bet-preset.active {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: hsla(42, 100%, 55%, 0.1);
}

.slot-spin-area {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    justify-content: center;
}

.btn-spin {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    background: var(--grad-btn);
    color: #fff;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px hsla(0, 85%, 52%, 0.5), inset 0 1px 0 hsla(255, 100%, 100%, 0.15);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-spin:hover {
    transform: scale(1.06);
    box-shadow: 0 0 50px hsla(0, 85%, 52%, 0.7);
}

.btn-spin:active {
    transform: scale(0.96);
}

.btn-spin.spinning {
    animation: spin-button 0.8s ease-in-out infinite;
    cursor: not-allowed;
}

@keyframes spin-button {

    0%,
    100% {
        box-shadow: 0 0 30px hsla(0, 85%, 52%, 0.5);
    }

    50% {
        box-shadow: 0 0 60px hsla(0, 85%, 52%, 0.9), 0 0 100px hsla(42, 100%, 55%, 0.4);
    }
}

.btn-auto {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-auto:hover,
.btn-auto.active {
    border-color: var(--color-jade);
    color: var(--color-jade);
    background: hsla(150, 60%, 42%, 0.1);
}

.slot-disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-sm);
    letter-spacing: 0.03em;
}

/* =============================================
   BONUS FEATURES
   ============================================= */
#bonuses {
    background: var(--bg-dark);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-xl);
    align-items: center;
}

.bonus-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.bonus-item {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    gap: var(--space-sm);
    transition: all var(--transition);
}

.bonus-item:hover {
    border-color: var(--border-bright);
    transform: translateX(6px);
}

.bonus-item-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: hsla(0, 85%, 52%, 0.12);
    border: 1px solid hsla(0, 85%, 52%, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.bonus-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 0.3rem;
}

.bonus-item p {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =============================================
   COMPARISON TABLE
   ============================================= */
#comparison {
    background: var(--bg-deep);
}

.comp-table-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th {
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comp-table th.highlight {
    background: hsla(0, 85%, 52%, 0.15);
    color: var(--color-gold);
}

.comp-table td {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.comp-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.comp-table td.highlight {
    background: hsla(0, 85%, 52%, 0.06);
}

.comp-table tr:last-child td {
    border-bottom: none;
}

.comp-table .check {
    color: var(--color-jade);
    font-size: 1.1rem;
}

.comp-table .cross {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.comp-best {
    color: var(--color-gold);
    font-weight: 700;
    font-family: var(--font-display);
}

/* =============================================
   FAQ
   ============================================= */
#faq-section {
    background: var(--bg-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.faq-item {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--border-bright);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    cursor: pointer;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-gold);
    transition: all var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: hsla(42, 100%, 55%, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 var(--space-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: var(--space-sm);
}

/* =============================================
   REVIEWS
   ============================================= */
#reviews {
    background: var(--bg-deep);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.review-card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
}

.review-stars {
    color: var(--color-gold);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.review-loc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =============================================
   SYMBOLS / BONUS IMAGE
   ============================================= */
.symbols-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: hsl(260, 35%, 6%);
}

.symbols-image-wrap img {
    display: block;
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: var(--radius-md);
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: hsl(260, 40%, 5%);
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 340px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--color-gold);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    border: 2px solid hsla(0, 85%, 52%, 0.5);
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* =============================================
   ANIMATIONS
   ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .charts-wrapper {
        grid-template-columns: 1fr;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }

    .bonus-image {
        max-height: 320px;
        overflow: hidden;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-md);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ── TABLET & MOBILE ──────────────────────────────────── */
@media (max-width: 768px) {

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hero */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Sections */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }

    /* All multi-column grids collapse */
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    /* Images — всегда центрировать и ограничивать */
    .symbols-image-wrap img,
    .bonus-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .symbols-image-wrap {
        margin-bottom: var(--space-md);
    }

    /* Tables — горизонтальный скролл */
    .comp-table-wrapper,
    [style*='overflow-x'] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .pay-table,
    .comp-table {
        min-width: 550px;
    }

    .pay-table th,
    .pay-table td,
    .comp-table th,
    .comp-table td {
        padding: 0.6rem 0.8rem;
        font-size: 0.82rem;
    }

    /* Slot machine */
    .slot-machine-header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .slot-info-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .slot-balance-bar {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.4rem;
    }

    .balance-item .b-val {
        font-size: 0.9rem;
    }

    .slot-bet-controls {
        gap: 0.5rem;
    }

    .bet-presets {
        gap: 0.3rem;
    }

    .bet-preset {
        padding: 0.25rem 0.55rem;
        font-size: 0.72rem;
    }

    /* Charts */
    .chart-canvas {
        height: 220px;
    }

    /* Footer — 2 columns on tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }

    /* Section spacing */
    .section {
        padding: var(--space-xl) 0;
    }

    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ── MOBILE SMALL ─────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --space-lg: 1.5rem;
        --space-xl: 2.5rem;
        --space-2xl: 3.5rem;
    }

    /* Slot reels — compact */
    .slot-reels {
        gap: 3px;
    }

    .slot-reel {
        border-width: 1px;
    }

    .sym-emoji {
        font-size: 1.3rem;
    }

    .sym-label {
        font-size: 0.36rem;
    }

    .btn-spin {
        width: 68px;
        height: 68px;
        font-size: 1.6rem;
    }

    .btn-auto {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .slot-spin-area {
        gap: 0.5rem;
    }

    /* Hero */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .hero-stat .val {
        font-size: 1.2rem;
    }

    .hero-stat .lbl {
        font-size: 0.6rem;
    }

    /* Pay table – stack on small mobile */
    .pay-table th:nth-child(4),
    .pay-table td:nth-child(4) {
        display: none;
    }

    /* Cards */
    .feature-card {
        padding: var(--space-md);
    }

    .review-card {
        padding: var(--space-md);
    }

    /* Section title */
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    /* Footer — 1 col on small mobile */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    /* Buttons full-width on tiny screens */
    .hero-actions .btn {
        max-width: 100%;
    }

    /* Nav logo text shorter */
    .nav-logo-text {
        font-size: 1rem;
    }
}

/* ── CASINO CARDS MOBILE ──────────────────────────── */
@media (max-width: 640px) {

    /* Override inline grid on casino cards */
    article[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }

    article[style*="grid-template-columns"]>div:last-child {
        width: 100% !important;
        min-width: unset !important;
    }

    /* Stars / info grid in casino cards */
    [style*='grid-template-columns:repeat(auto-fill'],
    [style*='grid-template-columns: repeat(auto-fill'] {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}