/* ============================================
   LOMXQIRA Social Casino - Neon Glow Theme
   styles.css
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #00ff88;
    --primary-dim: #00cc6a;
    --primary-glow: rgba(0, 255, 136, 0.4);
    --primary-glow-strong: rgba(0, 255, 136, 0.7);
    --secondary: #0a0a0a;
    --accent: #ff0080;
    --accent-dim: #cc0066;
    --accent-glow: rgba(255, 0, 128, 0.4);
    --accent-glow-strong: rgba(255, 0, 128, 0.7);
    --bg-dark: #050508;
    --bg-card: #0d0d12;
    --bg-card-hover: #12121a;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-dim: #606075;
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-yellow: #ffee00;
    --neon-orange: #ff6600;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 255, 136, 0.15);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-ui: 'Exo 2', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition-fast: 0.15s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 0, 128, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* --- Noise texture overlay --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Selection --- */
::selection {
    background: var(--accent);
    color: #fff;
}

/* ============================================
   Responsible Gaming Banner
   ============================================ */
.responsible-banner {
    background: linear-gradient(90deg, var(--accent) 0%, var(--neon-purple) 50%, var(--primary) 100%);
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 100;
}

.responsible-banner p {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ============================================
   Age Gate
   ============================================ */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.age-gate-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-gate-box {
    position: relative;
    max-width: 520px;
    width: 90%;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    text-align: center;
}

.age-gate-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--neon-purple), var(--primary));
    background-size: 300% 300%;
    animation: glowBorderRotate 4s ease infinite;
    z-index: -1;
    filter: blur(4px);
    opacity: 0.6;
}

@keyframes glowBorderRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.age-gate-icon {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow:
        0 0 10px var(--accent-glow),
        0 0 30px var(--accent-glow),
        0 0 60px var(--accent-glow);
    margin-bottom: 16px;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.age-gate-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.age-gate-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.age-gate-sub {
    font-size: 0.85rem !important;
    color: var(--text-dim) !important;
}

.age-gate-buttons {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    justify-content: center;
}

.age-gate-disclaimer {
    margin-top: 20px;
    font-size: 0.75rem !important;
    color: var(--text-dim) !important;
}

.age-gate-disclaimer a {
    color: var(--primary-dim);
}

/* ============================================
   Cookie Consent
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 18, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-glow);
    padding: 20px 24px;
    z-index: 99999;
    box-shadow: 0 -4px 30px rgba(0, 255, 136, 0.1);
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn-neon {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-med);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-neon:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow:
        0 0 15px var(--primary-glow),
        0 0 40px var(--primary-glow),
        inset 0 0 15px rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

.btn-neon:active {
    transform: translateY(0);
}

.btn-neon.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-neon.btn-primary:hover {
    box-shadow:
        0 0 20px var(--primary-glow-strong),
        0 0 50px var(--primary-glow),
        0 0 80px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-neon.btn-outline {
    background: transparent;
    color: var(--primary);
}

.btn-neon.btn-confirm {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-neon.btn-deny {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-neon.btn-deny:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-neon.btn-sm {
    padding: 8px 18px;
    font-size: 0.75rem;
}

.btn-neon.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-neon.btn-full {
    width: 100%;
}

/* ============================================
   Header / Navigation
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-med);
    padding-top: 42px;
}

.main-header.scrolled {
    padding-top: 0;
    background: rgba(5, 5, 8, 0.95);
    border-bottom-color: var(--border-glow);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 3px;
    line-height: 1;
}

.logo-accent {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow), 0 0 30px var(--primary-glow);
}

.logo-sub {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 255, 136, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    border-radius: 1px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle .bar {
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-med);
    box-shadow: 0 0 6px var(--primary-glow);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, 40px); }
    66% { transform: translate(-30px, 60px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-50px, -30px); }
    66% { transform: translate(40px, -50px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-block {
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
}

.line-1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.line-2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--primary);
    text-shadow:
        0 0 10px var(--primary-glow),
        0 0 30px var(--primary-glow),
        0 0 60px var(--primary-glow);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.line-3 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--accent);
    text-shadow:
        0 0 10px var(--accent-glow),
        0 0 30px var(--accent-glow);
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-subtitle {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 1.1s both;
}

.hero-badges {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.8s ease 1.3s both;
}

.badge {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    color: var(--text-dim);
    background: rgba(0, 255, 136, 0.03);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--border-glow);
    max-width: 500px;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 255, 136, 0.1) 100%);
    pointer-events: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
    box-shadow: 2px 2px 6px var(--primary-glow);
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 0.5; }
}

/* ============================================
   Section Styles (Shared)
   ============================================ */
section {
    position: relative;
    padding: 100px 0;
}

.section-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(0, 255, 136, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(255, 0, 128, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.neon-text {
    color: var(--primary);
    text-shadow:
        0 0 7px var(--primary-glow),
        0 0 20px var(--primary-glow),
        0 0 42px var(--primary-glow);
}

.section-desc {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Game Section
   ============================================ */
.game-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080810 100%);
    padding-bottom: 60px;
}

.game-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.game-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(0, 255, 136, 0.05),
        0 0 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.game-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), transparent 30%, transparent 70%, var(--accent));
    z-index: -1;
    opacity: 0.3;
    filter: blur(1px);
}

.game-top-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

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

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-yellow);
    text-shadow: 0 0 8px rgba(255, 238, 0, 0.4);
}

/* --- Slot Machine --- */
.slot-machine {
    position: relative;
    margin-bottom: 16px;
}

.slot-frame-border {
    position: relative;
    background: linear-gradient(180deg, #0a0a14 0%, #060610 100%);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 136, 0.08);
    overflow: hidden;
}

.reels-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    position: relative;
}

.reel-column {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.reel-column::before,
.reel-column::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 5;
    pointer-events: none;
}

.reel-column::before {
    top: 0;
    background: linear-gradient(180deg, rgba(5, 5, 8, 0.9) 0%, transparent 100%);
}

.reel-column::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(5, 5, 8, 0.9) 0%, transparent 100%);
}

.reel-strip {
    display: flex;
    flex-direction: column;
    transition: transform 0.1s linear;
    will-change: transform;
}

.reel-cell {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.symbol {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.symbol.winning {
    animation: symbolWin 0.6s ease infinite;
    filter: drop-shadow(0 0 15px var(--primary-glow-strong)) drop-shadow(0 0 30px var(--primary-glow));
}

@keyframes symbolWin {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Payline indicators */
.payline-indicator {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    z-index: 10;
    pointer-events: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.payline-indicator.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
}

.payline-top {
    top: calc(90px / 2 + 16px);
}

.payline-mid {
    top: calc(90px + 90px / 2 + 16px);
}

.payline-bot {
    top: calc(180px + 90px / 2 + 16px);
}

/* --- Win Overlay --- */
.win-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: var(--radius-lg);
    animation: winFadeIn 0.3s ease;
}

@keyframes winFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.win-overlay-content {
    text-align: center;
}

.win-label {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon-yellow);
    text-shadow:
        0 0 10px rgba(255, 238, 0, 0.5),
        0 0 30px rgba(255, 238, 0, 0.3),
        0 0 60px rgba(255, 238, 0, 0.2);
    animation: winPulse 0.5s ease infinite alternate;
}

@keyframes winPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.win-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    margin-top: 8px;
}

/* --- Cultural Fact --- */
.cultural-fact {
    padding: 10px 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    text-align: center;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cultural-fact p {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--neon-blue);
    line-height: 1.4;
}

/* --- Game Controls --- */
.game-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
}

.bet-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bet-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.bet-label {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bet-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.spin-button {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.2) 0%, transparent 60%);
    cursor: pointer;
    transition: all var(--transition-med);
    overflow: hidden;
}

.spin-button:hover {
    border-color: var(--primary);
    box-shadow:
        0 0 20px var(--primary-glow),
        0 0 40px var(--primary-glow),
        0 0 80px var(--primary-glow);
    transform: scale(1.05);
}

.spin-button:active {
    transform: scale(0.95);
}

.spin-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.spin-button:disabled:hover {
    box-shadow: none;
}

.spin-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
}

.spin-glow {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary), var(--accent), var(--neon-purple), var(--neon-blue), var(--primary));
    opacity: 0;
    transition: opacity var(--transition-med);
    animation: spinGlowRotate 3s linear infinite;
    filter: blur(6px);
}

.spin-button:hover .spin-glow {
    opacity: 0.4;
}

@keyframes spinGlowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auto-control {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auto-control .btn-neon.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- Achievements --- */
.achievements-bar {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.achievement-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ach-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ach-progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.ach-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--neon-blue));
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px var(--primary-glow);
}

.ach-name {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--primary);
    white-space: nowrap;
}

/* --- Collectibles --- */
.collectibles-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.collect-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.collect-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.collect-item {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all var(--transition-med);
    position: relative;
}

.collect-item.locked {
    opacity: 0.3;
    filter: grayscale(1);
}

.collect-item.unlocked {
    opacity: 1;
    filter: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    animation: collectUnlock 0.5s ease;
}

@keyframes collectUnlock {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

.collect-icon {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.collect-item.unlocked .collect-icon {
    color: var(--primary);
    text-shadow: 0 0 6px var(--primary-glow);
}

/* --- Paytable --- */
.paytable-toggle {
    text-align: center;
    margin-top: 20px;
}

.paytable-panel {
    margin-top: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 24px;
}

.paytable-panel h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.paytable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.paytable-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.pt-symbol {
    font-size: 2rem;
    flex-shrink: 0;
}

.pt-name {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.pt-pay {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--neon-yellow);
}

.paytable-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-style: italic;
}

/* ============================================
   Bonus Round Overlay
   ============================================ */
.bonus-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bonus-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    width: 90%;
    padding: 40px;
}

.bonus-particles {
    position: absolute;
    inset: -100px;
    pointer-events: none;
}

.bonus-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow:
        0 0 10px rgba(0, 212, 255, 0.5),
        0 0 30px rgba(0, 212, 255, 0.3),
        0 0 60px rgba(0, 212, 255, 0.2);
    margin-bottom: 12px;
    animation: pulseGlow 2s ease-in-out infinite;
}

.bonus-desc {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.bonus-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.bonus-pick {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-med);
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--neon-blue);
}

.bonus-pick:hover:not(.picked) {
    border-color: var(--neon-blue);
    box-shadow:
        0 0 15px rgba(0, 212, 255, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.bonus-pick.picked {
    cursor: default;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(255, 238, 0, 0.1) 100%);
    border-color: var(--primary);
}

.bonus-pick.picked span {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(255, 238, 0, 0.5);
}

.bonus-total {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

#bonus-total-amount {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(255, 238, 0, 0.5);
    font-weight: 800;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: linear-gradient(180deg, #080810 0%, var(--bg-dark) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-med);
}

.about-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-glow);
}

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

.about-card-icon {
    margin-bottom: 16px;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.about-card p {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-image-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glow);
}

.about-feature-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.about-img-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, transparent 50%, rgba(0, 255, 136, 0.1) 100%);
    pointer-events: none;
}

.about-feature-text h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    margin-bottom: 16px;
}

.about-feature-text p {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-med);
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: scale(1.01);
}

.gallery-large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
    letter-spacing: 1px;
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #080810 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all var(--transition-med);
}

.trust-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trust-icon {
    margin-bottom: 14px;
}

.trust-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

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

.trust-card a {
    color: var(--primary);
}

.trust-address {
    text-align: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.trust-address p {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.trust-address strong {
    color: var(--primary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, #080810 0%, var(--bg-dark) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.03);
}

.neon-form .form-group {
    margin-bottom: 20px;
}

.neon-form label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.neon-form input[type="text"],
.neon-form input[type="email"],
.neon-form input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.neon-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    background: rgba(0, 255, 136, 0.03);
}

.neon-form input::placeholder {
    color: var(--text-dim);
}

.form-consent {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.form-message.error {
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.contact-info-card h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 0 6px var(--primary-glow);
    letter-spacing: 0.5px;
}

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

.contact-info-card a {
    color: var(--accent);
}

.contact-info-card a:hover {
    color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: #030306;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 8px;
    line-height: 1.5;
}

.footer-address {
    color: var(--text-dim);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .about-image-feature {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .gallery-large {
        grid-row: span 1;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(20px);
        padding: 100px 32px 32px;
        transition: right var(--transition-med);
        border-left: 1px solid var(--border-glow);
        z-index: 9999;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 10000;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .game-top-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .game-stat {
        min-width: 60px;
    }

    .game-controls {
        flex-wrap: wrap;
        gap: 16px;
    }

    .spin-button {
        width: 80px;
        height: 80px;
    }

    .reels-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }

    .reel-column {
        height: 210px;
    }

    .reel-cell {
        height: 70px;
    }

    .symbol {
        font-size: 2.2rem;
    }

    .payline-top {
        top: calc(70px / 2 + 16px);
    }

    .payline-mid {
        top: calc(70px + 70px / 2 + 16px);
    }

    .payline-bot {
        top: calc(140px + 70px / 2 + 16px);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .bonus-title {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-badges {
        flex-wrap: wrap;
    }

    .age-gate-buttons {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn-neon {
        flex: 1;
    }

    .game-frame {
        padding: 16px 12px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .reels-container {
        gap: 2px;
    }

    .symbol {
        font-size: 1.8rem;
    }

    .reel-column {
        height: 180px;
    }

    .reel-cell {
        height: 60px;
    }

    .payline-top {
        top: calc(60px / 2 + 16px);
    }

    .payline-mid {
        top: calc(60px + 60px / 2 + 16px);
    }

    .payline-bot {
        top: calc(120px + 60px / 2 + 16px);
    }
}

/* ============================================
   Animations - Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================
   Utility
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Legal Pages Shared Styles
   ============================================ */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.legal-content .legal-updated {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--primary);
}

.legal-content a:hover {
    color: var(--accent);
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: color var(--transition-fast);
}

.legal-back-link:hover {
    color: var(--accent);
}
