/* ═══════════════════════════════════════════════════════
   HEROSOCIALPLAYFI — MAIN STYLESHEET
   Egyptian Dark Theme
═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    --gold:        #c9a227;
    --gold-light:  #e8c94a;
    --gold-dark:   #9a7b1a;
    --gold-glow:   rgba(201,162,39,0.35);
    --black:       #060606;
    --bg:          #0c0c0c;
    --bg-card:     #141414;
    --bg-card2:    #1a1a1a;
    --border:      rgba(201,162,39,0.2);
    --border-bright: rgba(201,162,39,0.5);
    --text:        #e8e0cc;
    --text-muted:  #7a7062;
    --text-dim:    #4a4438;
    --red:         #e03030;
    --green:       #2ec972;

    --font-display: 'Cinzel Decorative', 'Cinzel', serif;
    --font-heading: 'Cinzel', serif;
    --font-body:    'Raleway', sans-serif;

    --radius:      8px;
    --radius-lg:   16px;
    --transition:  0.3s ease;
    --max-width:   1200px;
    --header-h:    72px;
}

/* ─── 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: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-anchor { display: block; position: relative; top: calc(-1 * var(--header-h)); visibility: hidden; }


/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-transform: uppercase;
}
.btn-lg  { padding: 14px 32px; font-size: 0.9rem; }
.btn-xl  { padding: 18px 44px; font-size: 1rem; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    color: #000;
    box-shadow: 0 0 20px var(--gold-glow);
}
.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, #f5d96a 50%, var(--gold-light) 100%);
    box-shadow: 0 0 35px rgba(201,162,39,0.6);
    color: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.btn-sm-gold {
    display: inline-block;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--transition);
}
.btn-sm-gold:hover {
    background: var(--gold);
    color: #000;
}


/* ─── Section Labels & Titles ─── */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(6,6,6,0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition);
}

.site-header.scrolled {
    height: 60px;
    background: rgba(6,6,6,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo, .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}
.logo-icon {
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 1;
    filter: drop-shadow(0 0 6px var(--gold-glow));
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text);
}

/* Nav Links */
.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    margin-right: 16px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(232,224,204,0.75);
    padding: 6px 12px;
    border-radius: 4px;
    transition: all var(--transition);
}
.nav-links a:hover { color: var(--gold); background: rgba(201,162,39,0.08); }

.nav-cta { padding: 9px 20px !important; font-size: 0.78rem !important; }

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
    border-radius: 2px;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: rgba(10,10,10,0.98);
    border-top: 1px solid var(--border);
    padding: 16px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { padding: 4px 0; }
.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: var(--text);
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-nav-links .btn-gold { margin-top: 12px; width: 100%; justify-content: center; }


/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,39,0.08) 0%, transparent 70%),
                linear-gradient(180deg, #0c0c0c 0%, #060606 100%);
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201,162,39,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    animation: particleFloat var(--dur, 6s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes particleFloat {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-200px) translateX(var(--dx, 0px)) scale(1.5); }
}

.hero-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 40px 24px 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 28px;
    background: rgba(201,162,39,0.06);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
    text-shadow: 0 0 60px rgba(201,162,39,0.2);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-legal {
    font-size: 0.68rem;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50%       { opacity: 1; transform: scaleY(1); }
}
.scroll-label {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
}


/* ═══════════════════════════════════════════
   SLOT SECTION
═══════════════════════════════════════════ */
.slot-section {
    padding: 80px 0 100px;
    background: var(--bg);
    position: relative;
}

.slot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}


/* ─── SLOT MACHINE ─── */
.slot-machine {
    background: linear-gradient(180deg, #1a1408 0%, #0d0a04 100%);
    border: 2px solid var(--border-bright);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(201,162,39,0.1),
        0 8px 60px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(201,162,39,0.15);
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

/* Top Bar */
.slot-top-bar {
    background: linear-gradient(90deg, #0f0a00, #1c1508, #0f0a00);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slot-title-badge {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold-glow);
}

.btn-mute {
    background: rgba(201,162,39,0.1);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--gold);
    display: flex;
    align-items: center;
    transition: all var(--transition);
}
.btn-mute:hover { background: rgba(201,162,39,0.2); }
.btn-mute svg { width: 18px; height: 18px; }

/* Win Banner */
.win-banner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(46,201,114,0.15), rgba(46,201,114,0.05));
    border-bottom: 1px solid rgba(46,201,114,0.3);
    animation: winPulse 0.6s ease-out;
}
.win-banner.show { display: flex; }
@keyframes winPulse {
    0%   { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}
.win-label { font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 0.15em; color: var(--green); }
.win-amount { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); text-shadow: 0 0 20px var(--gold); font-weight: 700; }
.win-coins  { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--text-muted); }

/* Reels */
.reels-wrapper {
    padding: 20px;
    background: linear-gradient(180deg, #0a0802 0%, #0f0c04 100%);
}

.reels-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(201,162,39,0.25);
    background: linear-gradient(180deg, #1e1600 0%, #0e0c00 100%);
    box-shadow: inset 0 0 40px rgba(0,0,0,0.6);
}

.reels-container {
    display: flex;
    gap: 3px;
    padding: 3px;
    background: #080600;
    position: relative;
}

.reel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
    background: #0c0900;
    border-radius: 6px;
    position: relative;
}

.reel-strip {
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform 0s;
    will-change: transform;
}

.reel.spinning .reel-strip {
    animation: reelSpin 0.1s linear infinite;
}

@keyframes reelSpin {
    from { transform: translateY(0); }
    to   { transform: translateY(-112px); }
}

.symbol-cell {
    width: 100%;
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1c1500 0%, #141000 100%);
    border: 1px solid rgba(201,162,39,0.12);
    border-radius: 5px;
    position: relative;
    transition: all 0.2s;
    cursor: default;
    overflow: hidden;
    flex-shrink: 0;
}

.symbol-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.symbol-cell.highlight {
    background: linear-gradient(180deg, rgba(201,162,39,0.25) 0%, rgba(201,162,39,0.1) 100%);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201,162,39,0.4), inset 0 0 15px rgba(201,162,39,0.1);
}

.symbol-cell.win-cell {
    animation: winCell 0.8s ease-in-out infinite alternate;
}

@keyframes winCell {
    from { background: linear-gradient(180deg, rgba(201,162,39,0.2), rgba(201,162,39,0.05)); border-color: rgba(201,162,39,0.5); }
    to   { background: linear-gradient(180deg, rgba(201,162,39,0.45), rgba(201,162,39,0.2)); border-color: var(--gold); box-shadow: 0 0 25px rgba(201,162,39,0.6); }
}

.symbol-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    pointer-events: none;
    user-select: none;
}

.symbol-glyph {
    font-size: 2.6rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
    transition: transform 0.2s;
}

.symbol-name {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: rgba(201,162,39,0.6);
    text-transform: uppercase;
}

/* Card symbols */
.sym-card .symbol-glyph {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.sym-card.sym-K .symbol-glyph { color: #d4af60; }
.sym-card.sym-A .symbol-glyph { color: #e8c94a; }

/* Specific symbol colors */
.sym-pharaoh .symbol-glyph { filter: drop-shadow(0 0 8px rgba(255,215,0,0.8)); }
.sym-ankh .symbol-glyph    { color: #d4a017; filter: drop-shadow(0 0 6px rgba(212,160,23,0.7)); }
.sym-eye .symbol-glyph     { filter: drop-shadow(0 0 6px rgba(79,195,247,0.8)); }
.sym-scarab .symbol-glyph  { filter: drop-shadow(0 0 6px rgba(102,187,106,0.7)); }

/* Reels shine overlay */
.reels-shine {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 5;
}

/* Center line highlight */
.reels-frame::before,
.reels-frame::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 10;
    pointer-events: none;
}
.reels-frame::before {
    top: calc(33.33% + 1px);
    background: linear-gradient(90deg, transparent, rgba(201,162,39,0.35), transparent);
}
.reels-frame::after {
    top: calc(66.66% - 1px);
    background: linear-gradient(90deg, transparent, rgba(201,162,39,0.35), transparent);
}


/* Controls */
.slot-controls {
    background: linear-gradient(180deg, #0c0a02 0%, #070500 100%);
    border-top: 1px solid var(--border);
    padding: 16px 20px;
}

.slot-info-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 14px;
    padding: 12px 20px;
    background: #0a0800;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.slot-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.stat-value.highlight { color: var(--gold); text-shadow: 0 0 12px var(--gold-glow); }

.slot-actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.bet-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bet-right { align-items: flex-end; }

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

.bet-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bet-btn {
    padding: 5px 10px;
    background: #141000;
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    cursor: pointer;
    transition: all var(--transition);
    min-width: 36px;
    text-align: center;
}
.bet-btn:hover, .bet-btn.active {
    background: rgba(201,162,39,0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.action-btn {
    padding: 5px 12px;
    background: #141000;
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.action-btn:hover {
    background: rgba(201,162,39,0.15);
    border-color: var(--gold);
    color: var(--gold);
}

/* Spin Area */
.spin-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.spin-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4a830, #9a7b1a);
    border: 3px solid #e8c94a;
    color: #000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.2s;
    box-shadow:
        0 0 25px rgba(201,162,39,0.5),
        0 6px 20px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.spin-btn::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.spin-btn:hover:not(:disabled) {
    transform: scale(1.06);
    box-shadow: 0 0 40px rgba(201,162,39,0.7), 0 8px 25px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}

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

.spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.spin-btn.spinning .spin-icon { animation: spinIcon 0.6s linear infinite; }
@keyframes spinIcon { from { transform: rotate(0); } to { transform: rotate(-360deg); } }

.spin-icon { width: 22px; height: 22px; stroke-width: 2.5; }
.spin-text { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; }

.autoplay-btn {
    padding: 5px 18px;
    background: #0a0800;
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 4px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all var(--transition);
}
.autoplay-btn:hover, .autoplay-btn.active {
    background: rgba(224,48,48,0.15);
    border-color: #e03030;
    color: #e03030;
}

/* Feature Bar */
.slot-feature-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--border);
    background: #050400;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-right: 1px solid var(--border);
    transition: all var(--transition);
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { color: var(--gold); background: rgba(201,162,39,0.05); }
.feature-icon { font-size: 1rem; }


/* ═══════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════ */
.features-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #060606 0%, #0a0900 50%, #060606 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-bright);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 20px rgba(201,162,39,0.1);
}

.feature-card--featured {
    border-color: rgba(201,162,39,0.4);
    box-shadow: 0 0 30px rgba(201,162,39,0.08);
}

.feature-card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.artifacts-img {
    background: linear-gradient(135deg, #1a1200 0%, #0c0900 100%);
}
.scarab-img {
    background: linear-gradient(135deg, #0a1800 0%, #0c1200 50%, #1a0800 100%);
}
.hieroglyph-img {
    background: linear-gradient(135deg, #08101a 0%, #0a0c1a 100%);
}

.artifact-visual {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.artifact-icon { font-size: 3.5rem; line-height: 1; }
.artifact-icon.sm { font-size: 1.5rem; opacity: 0.6; }

.scarab-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,201,114,0.2) 0%, transparent 70%);
    border: 2px solid rgba(46,201,114,0.3);
    box-shadow: 0 0 30px rgba(46,201,114,0.2);
}
.scarab-icon { font-size: 3.5rem; line-height: 1; }

.hieroglyph-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 16px;
}
.hieroglyph-grid span {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    opacity: 0.7;
    transition: opacity var(--transition);
}
.feature-card:hover .hieroglyph-grid span { opacity: 1; }

.feature-card-body {
    padding: 24px;
}
.feature-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.feature-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}


/* ═══════════════════════════════════════════
   STATS SECTION
═══════════════════════════════════════════ */
.stats-section {
    padding: 60px 0;
    background: #080600;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-infinity { font-size: clamp(3rem, 6vw, 5rem); }

.stat-name {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
}


/* ═══════════════════════════════════════════
   HOW TO PLAY
═══════════════════════════════════════════ */
.howto-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #060606 0%, #0a0800 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.step-card {
    padding: 32px 36px;
    position: relative;
    text-align: center;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201,162,39,0.35);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.step-connector {
    position: absolute;
    top: 52px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(201,162,39,0.4), transparent);
    z-index: 2;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(201,162,39,0.07) 0%, transparent 70%),
        linear-gradient(180deg, #080600 0%, #0c0a02 50%, #080600 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-legal {
    margin-top: 20px;
    font-size: 0.68rem;
    color: var(--text-dim);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
    background: #040302;
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}
.footer-tagline {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.06em;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-copy {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.footer-copy a { color: var(--gold); }

.footer-disclaimer {
    font-size: 0.68rem;
    color: var(--text-dim);
    max-width: 600px;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.badge {
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .primary-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .slot-actions { grid-template-columns: 1fr; gap: 12px; }
    .spin-area { flex-direction: row; }
    .bet-right { align-items: flex-start; }
    .slot-info-bar { gap: 20px; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .slot-feature-bar { flex-wrap: wrap; }
    .feature-item { width: 50%; border-bottom: 1px solid var(--border); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .slot-info-bar { flex-direction: column; gap: 10px; align-items: center; }
    .slot-actions { grid-template-columns: 1fr; }
    .symbol-cell { height: 80px; }
    .symbol-glyph { font-size: 2rem; }
}

@media (max-width: 420px) {
    .symbol-cell { height: 66px; }
    .symbol-glyph { font-size: 1.7rem; }
    .symbol-name { display: none; }
    .spin-btn { width: 74px; height: 74px; }
}
