/* --- CORE VARIABLES --- */
:root {
    --bg-deep: #0a0216;
    --bg-card: #1e0b38;
    --gold-primary: #fcc014;
    --gold-light: #ffe066;
    --neon-purple: #d900ff;
    --text-body: #cfc6d9;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed; inset: 0; background: #0a0216; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}
.warp-tunnel {
    width: 80px; height: 80px; border-radius: 50%;
    border: 3px solid transparent; border-top-color: #fcc014;
    animation: spin 0.8s linear infinite; position: relative;
    box-shadow: 0 0 20px rgba(252, 192, 20, 0.5);
}
.warp-tunnel::before {
    content: ''; position: absolute; inset: 6px; border-radius: 50%;
    border: 3px solid transparent; border-top-color: #d900ff;
    animation: spin 1.2s linear infinite reverse;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- VISUAL FX --- */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)" opacity="0.03"/%3E%3C/svg%3E');
    pointer-events: none; z-index: 5; opacity: 0.5;
}

/* --- PARALLAX STARFIELD --- */
.parallax-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    overflow: hidden; z-index: -1; pointer-events: none;
    background: radial-gradient(circle at bottom, #1a0530 0%, #0a0216 100%);
}
.stars {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 100px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 200px 150px, #fcc014, rgba(0,0,0,0));
    background-repeat: repeat; background-size: 300px 300px;
    animation: starScroll 100s linear infinite; opacity: 0.6;
}
@keyframes starScroll { from { transform: translateY(0); } to { transform: translateY(-300px); } }

/* --- 3D TILT EFFECT --- */
.tilt-card { transition: transform 0.1s ease-out; transform-style: preserve-3d; will-change: transform; }
.tilt-card:hover { z-index: 20; }
.tilt-glare {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.2), transparent 70%);
    opacity: 0; pointer-events: none; mix-blend-mode: overlay; transition: opacity 0.2s;
}
.tilt-card:hover .tilt-glare { opacity: 1; }

/* --- UI ELEMENTS --- */
.btn-gold {
    background: linear-gradient(180deg, #ffd700 0%, #fcc014 100%);
    color: #120524; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.2s ease; box-shadow: 0 4px 15px rgba(252, 192, 20, 0.3);
    position: relative; overflow: hidden;
}
.btn-gold:active { transform: scale(0.96); }

.btn-neural {
    position: relative; background: #0a0216; color: #fff; z-index: 1; border-radius: 99px; overflow: hidden;
    border: 1px solid rgba(252, 192, 20, 0.3); transition: all 0.3s;
}
.btn-neural:hover { box-shadow: 0 0 15px rgba(252, 192, 20, 0.4); border-color: #fcc014; }

.glass-panel {
    background: rgba(30, 11, 56, 0.6); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* --- WHEEL WIDGET --- */
.wheel-widget {
    position: fixed; right: 0; top: 50%; transform: translateY(-50%);
    z-index: 45; cursor: pointer; transition: transform 0.3s;
}
.wheel-widget:hover { transform: translateY(-50%) scale(1.1); }
.wheel-btn {
    background: linear-gradient(90deg, #d900ff, #4d15b8);
    color: white; padding: 12px 8px 12px 16px;
    border-radius: 50px 0 0 50px;
    box-shadow: -5px 0 15px rgba(217, 0, 255, 0.4);
    display: flex; align-items: center; gap: 8px; font-weight: bold;
    writing-mode: vertical-rl; text-orientation: mixed; height: 140px;
    border: 1px solid rgba(255,255,255,0.2); border-right: none;
}

/* --- CRYPTO TICKER (HEADER) --- */
.crypto-ticker {
    font-family: monospace; font-size: 10px; color: #4ade80;
    background: rgba(0, 20, 0, 0.3); padding: 2px 8px; border-radius: 4px;
    border: 1px solid rgba(74, 222, 128, 0.2); display: flex; align-items: center; gap: 4px;
}

/* --- CHAT --- */
.chat-widget {
    position: fixed; bottom: 100px; right: 20px; width: 56px; height: 56px;
    background: #1e0b38; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5); z-index: 50; cursor: pointer;
    border: 1px solid #fcc014; transition: all 0.3s;
}
.chat-widget:hover { transform: scale(1.1); }
@media (min-width: 1024px) { .chat-widget { bottom: 30px; } }

/* --- MOBILE DRAWER --- */
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 85%; max-width: 320px;
    background: #150528; z-index: 100; transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255,255,255,0.1);
}
.drawer.open { transform: translateX(0); }
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* --- UTILS --- */
.hidden-game { display: none !important; }
.active-filter { background: #fcc014 !important; color: #120524 !important; border-color: #fcc014 !important; }
.search-input:focus { box-shadow: 0 0 0 2px #fcc014; }
.skeleton-loader { display: none; } .skeleton-loader.active { display: grid; }
.skeleton-anim { animation: skeleton-pulse 1.5s infinite ease-in-out; background: #2a0e4a; border-radius: 12px; }
@keyframes skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Mobile Fab Wrapper */
.fab-wrapper {
    position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%);
    width: 66px; height: 66px; background: #0a0216; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05);
}

.jackpot-text {
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 25px rgba(252, 192, 20, 0.6);
    background: linear-gradient(to bottom, #fff, #fcc014);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 1024px) {
    .chat-popup { bottom: 100px; }
}

/* --- SEO CONTENT STYLES --- */
.seo-content {
    font-size: 0.875rem;
    color: #cfc6d9;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3rem;
    margin-top: 3rem;
    max-width: none;
}

.seo-content strong {
    font-weight: 700;
    color: #fff;
}

.seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.seo-content > p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.seo-content > div:first-of-type {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .seo-content > div:first-of-type {
        grid-template-columns: repeat(2, 1fr);
    }
}

.seo-content > div:first-of-type h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fcc014;
    margin-bottom: 0.5rem;
}

.seo-content > div:first-of-type p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.seo-content ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.seo-content ul li {
    margin-bottom: 0.25rem;
}

.seo-content > h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}

.seo-content > h3 + p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.seo-highlight-box {
    background: #1e0b38;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #fcc014;
    margin: 1.5rem 0;
}

.seo-highlight-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.seo-highlight-text {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* --- SEO CONTENT TABLE STYLES --- */
.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #1e0b38;
    border-radius: 0.5rem;
    overflow: hidden;
}

.seo-content table tbody {
    display: table-row-group;
}

.seo-content table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-content table tr:last-child {
    border-bottom: none;
}

.seo-content table tr:first-child {
    background: rgba(252, 192, 20, 0.1);
}

.seo-content table tr:first-child td {
    font-weight: 700;
    color: #fcc014;
}

.seo-content table td {
    padding: 0.75rem 1rem;
    text-align: left;
    color: #cfc6d9;
    font-size: 0.875rem;
}

.seo-content table td p {
    margin: 0;
    line-height: 1.5;
}

/* --- FAQ SECTION STYLES --- */
.faq-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 2rem;
}

.faq-section > div[itemscope][itemtype="https://schema.org/FAQPage"] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-section div[itemscope][itemprop="mainEntity"] {
    background: #1e0b38;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
}

.faq-section div[itemscope][itemprop="mainEntity"] h3 {
    color: #d1d5db;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    transition: color 0.2s;
}

.faq-section div[itemscope][itemprop="mainEntity"]:hover h3 {
    color: #fcc014;
}

.faq-section div[itemscope][itemprop="acceptedAnswer"] {
    margin-top: 0.5rem;
}

.faq-section div[itemscope][itemprop="acceptedAnswer"] p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

