/* ==================== INDEX PAGE CSS ==================== */

.compliance-banner {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    text-align: center;
    padding: 8px 5%;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    letter-spacing: 0.5px;
}

:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 25, 0.6);
    --accent-neon: #00FF87;
    --accent-glow: rgba(0, 255, 135, 0.3);
    --accent-gold: #FFD700;
    --gradient-text: linear-gradient(90deg, #FFFFFF 0%, #A5B4FC 100%);
    --gradient-btn: linear-gradient(135deg, #00FF87 0%, #00B8D4 100%);
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: 'Inter', sans-serif; overflow-x: hidden; line-height: 1.6; }
h1, h2, h3 { font-family: 'Poppins', sans-serif; }
a { color: var(--accent-neon); text-decoration: none; }
a:hover { text-decoration: underline; }

.bg-glow { position: fixed; width: 600px; height: 600px; background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%); top: -200px; left: -200px; z-index: -1; pointer-events: none; }
.bg-glow-2 { position: fixed; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 184, 212, 0.15) 0%, rgba(0,0,0,0) 70%); bottom: -200px; right: -200px; z-index: -1; pointer-events: none; }

/* ==================== NAVIGATION & DROPDOWN ==================== */
nav { 
    display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; 
    position: sticky; top: 0; z-index: 1000; 
    background: #050505; 
    -webkit-backdrop-filter: blur(15px); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(0); 
    will-change: transform;
}
.logo { font-size: 1.8rem; font-weight: 800; white-space: nowrap; }
.logo span { background: var(--gradient-btn); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a, .nav-item { white-space: nowrap !important; }
.nav-item { color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; position: relative; padding-bottom: 5px; transition: 0.3s; }
.nav-item:hover { color: var(--accent-neon); text-decoration: none; }
.nav-item.active { color: var(--accent-neon); }
.nav-item.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent-neon); border-radius: 2px; box-shadow: 0 0 10px var(--accent-neon); }
.nav-gold { color: var(--accent-gold); }
.nav-actions { display: flex; align-items: center; gap: 15px; }

.account-dropdown { position: relative; display: flex; align-items: center; margin-left: 10px; height: 100%; }
.account-dropdown-content { display: none; position: absolute; background-color: #111; min-width: 190px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.9); z-index: 100; border-radius: 8px; border: 1px solid #333; top: 100%; right: 0; margin-top: 5px; }
.account-dropdown-content a { color: white !important; padding: 12px 16px !important; text-decoration: none !important; display: block !important; font-size: 0.95rem !important; text-align: left !important; margin: 0 !important; white-space: nowrap; }
.account-dropdown-content a:hover { background-color: #222 !important; border-radius: 8px; }
.account-dropdown:hover .account-dropdown-content, 
.account-dropdown:focus-within .account-dropdown-content { display: block; }
/* Forces JS Click Toggle to work on Desktop */
.account-dropdown-content.show-dropdown { display: block !important; }
/* ==================== BUTTONS ==================== */
.btn-primary { 
    background: var(--gradient-btn); color: #000; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem;
    padding: 12px 24px; border-radius: 50px; text-decoration: none; transition: 0.3s; display: inline-block; 
    box-shadow: 0 4px 15px var(--accent-glow); text-transform: uppercase; letter-spacing: 0.5px; border: none; 
    cursor: pointer; white-space: nowrap; 
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }
.btn-hero { font-size: 1.1rem; padding: 14px 30px; margin-bottom: 15px; }
.btn-cta-large { font-size: 1.2rem; padding: 16px 40px; margin-top: 30px; }
.btn-wheel { background: rgba(0,255,135,0.1); color: var(--accent-neon); border: 1px solid var(--accent-neon); font-weight: 700; padding: 12px 28px; border-radius: 50px; text-decoration: none; transition: 0.3s; display: inline-block; cursor: pointer; text-transform: uppercase; margin-top: 15px; }
.btn-wheel:hover { background: var(--accent-neon); color: #000; }
.btn-full { width: 100%; text-align: center; }

/* ==================== HERO SECTION ==================== */
.hero { text-align: center; padding: 80px 5% 60px; max-width: 1000px; margin: 0 auto; }
.player-counter-badge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: #ccc; margin-bottom: 20px; background: rgba(0, 255, 135, 0.1); padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(0, 255, 135, 0.3); }
.pulse-dot { width: 10px; height: 10px; background-color: var(--accent-neon); border-radius: 50%; box-shadow: 0 0 10px var(--accent-neon); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 135, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 135, 0); } }
.hero-badge { display: inline-block; background: rgba(0, 255, 135, 0.1); border: 1px solid rgba(0, 255, 135, 0.2); color: var(--accent-neon); padding: 6px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 24px; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; max-width: 700px; margin-inline: auto; }
.trust-badges { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 30px; }
.trust-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; color: #fff; font-weight: 500; }
.trust-badge span { color: var(--accent-neon); margin-right: 5px; }

/* ==================== TRUST FUNNEL ==================== */
.trust-funnel-section { background: rgba(0,0,0,0.4); padding: 60px 5%; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 60px; }
.payment-container { text-align: center; margin-bottom: 60px; }
.payment-title { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; font-weight: 600; }
.payment-badges { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; align-items: center; }
.pay-badge { color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; transition: transform 0.3s ease; cursor: default; }
.pay-badge:hover { transform: translateY(-3px); }
.badge-cashapp { background: #00D632; }
.badge-chime { background: #25C85E; }
.badge-apple { background: #000; border: 1px solid #444; }
.badge-zelle { background: #7411E4; }
.badge-crypto { background: #F7931A; }
.funnel-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.funnel-title { margin-top: 0; margin-bottom: 40px; }
.funnel-grid { margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
.step-box { position: relative; padding-top: 40px; }
.step-number { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); color: #000; width: 45px; height: 45px; line-height: 45px; border-radius: 50%; font-size: 1.3rem; font-weight: 900; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.step-1 { border-top: 3px solid var(--accent-neon); }
.step-1 .step-number { background: var(--accent-neon); }
.step-2 { border-top: 3px solid var(--accent-gold); }
.step-2 .step-number { background: var(--accent-gold); }
.step-3 { border-top: 3px solid #00BFFF; }
.step-3 .step-number { background: #00BFFF; }
.step-desc { color: var(--text-muted); margin-top: 15px; font-size: 0.95rem; line-height: 1.6; }
.funnel-cta-container { margin-top: 40px; }

/* ==================== STRATEGY PROMO (INDEX) ==================== */
.strategy-promo { text-align: center; margin-bottom: 40px; padding: 0 5%; }
.strategy-promo-text { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 15px; }
.strategy-promo-btn { max-width: 400px; border-color: var(--accent-gold); color: var(--accent-gold); margin: 0 auto; display: inline-block; }

/* ==================== MARQUEE ==================== */
.marquee-wrapper { width: 100%; background: rgba(20, 20, 25, 0.8); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; display: flex; align-items: center; overflow: hidden; padding: 25px 0;}
.marquee-wrapper::before, .marquee-wrapper::after { content: ''; position: absolute; top: 0; width: 80px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }
.marquee-track { display: flex; gap: 30px; padding: 0 30px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; white-space: nowrap; cursor: grab; -webkit-overflow-scrolling: touch; touch-action: pan-x; overscroll-behavior-x: contain; }
.marquee-track::-webkit-scrollbar { display: none; }
.marquee-item { display: inline-block; padding: 12px 24px; background: rgba(0, 255, 135, 0.05); border: 1px solid rgba(0, 255, 135, 0.3); border-radius: 8px; font-size: 1.2rem; font-weight: 700; color: var(--text-main); user-select: none; transition: 0.3s; cursor: pointer; }
.marquee-item:hover { background: rgba(0, 255, 135, 0.15); border-color: var(--accent-neon); box-shadow: 0 0 15px var(--accent-glow); transform: scale(1.05); }

/* ==================== FEATURES & GAME GRID ==================== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 40px 5% 40px; max-width: 1200px; margin: 0 auto; }
.feature-box { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 30px; text-align: center; backdrop-filter: blur(10px); transition: 0.3s; }
.feature-box:hover { transform: translateY(-5px); border-color: rgba(0, 255, 135, 0.3); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; display: inline-block; }

.section-title { text-align: center; font-size: 2.5rem; margin: 40px 0 40px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 0 5%; max-width: 1300px; margin: 40px auto 60px; }
.game-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 24px; backdrop-filter: blur(10px); transition: 0.3s; display: flex; flex-direction: column; }
.game-card:hover { transform: translateY(-5px); border-color: var(--accent-neon); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.card-header { height: 110px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; margin-bottom: 20px; background: linear-gradient(135deg, rgba(0,255,135,0.05), rgba(0,184,212,0.1)); border: 1px solid rgba(0,255,135,0.2); }
.game-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.game-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.game-features { list-style: none; margin-bottom: 20px; font-size: 0.9rem; color: #ccc; }
.game-features li { margin-bottom: 5px; }
.game-features li::before { content: "✨ "; }

/* ==================== URGENCY TRIGGER ==================== */
.urgency-trigger { background: rgba(255, 69, 0, 0.1); border: 1px solid rgba(255, 69, 0, 0.3); color: #fff; padding: 12px 20px; border-radius: 8px; display: inline-block; margin-bottom: 25px; font-size: 0.95rem; box-shadow: 0 0 15px rgba(255, 69, 0, 0.2); backdrop-filter: blur(5px); }
.pulse-icon { display: inline-block; animation: pulseFire 1.5s infinite; }
@keyframes pulseFire { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }
.highlight-number { color: var(--accent-gold); font-size: 1.2rem; font-weight: 900; }

/* ==================== CONTENT SECTIONS ==================== */
.faq-section { max-width: 800px; margin: 0 auto 60px; padding: 0 5%; }
.faq-item { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; margin-bottom: 15px; padding: 20px; cursor: pointer; transition: 0.3s; }
.faq-item:hover { border-color: rgba(0, 255, 135, 0.2); }
.faq-question { font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { color: var(--accent-neon); font-size: 1.2rem; font-weight: bold; }
.faq-answer { margin-top: 15px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; display: none; }

.seo-article { max-width: 900px; margin: 40px auto; padding: 40px 5%; background: rgba(20, 20, 25, 0.4); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.seo-article h2 { color: var(--accent-neon); margin-bottom: 20px; font-size: 2rem; }
.seo-article h3 { color: #fff; margin: 30px 0 15px; font-size: 1.4rem; }
.seo-article p { margin-bottom: 15px; color: var(--text-muted); font-size: 1.05rem; }

/* ==================== STANDALONE SUBPAGE STYLES ==================== */
/* These ensure Contact, Refer, Strategies, etc. look perfect even without new HTML */

/* Contact Page */
.contact-box { max-width: 650px; margin: 60px auto; padding: 40px 5%; background: var(--bg-card); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 40px rgba(0,0,0,0.6); text-align: center; }
.contact-box h1 { font-size: 2.5rem; margin-bottom: 10px; color: #fff; }
.contact-box p { color: var(--text-muted); margin-bottom: 30px; font-size: 1.1rem; }
.contact-btn { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 400px; margin: 0 auto 15px auto; padding: 15px; border-radius: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; border: none; font-size: 1.1rem; color: #fff; transition: 0.3s; }
.contact-btn:hover { transform: translateY(-2px); }

/* Refer Page */
.refer-container { max-width: 800px; margin: 60px auto; padding: 50px 5%; background: var(--bg-card); border: 2px solid var(--accent-gold); border-radius: 20px; text-align: center; backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.refer-container h1 { color: var(--accent-gold); font-size: 3.5rem; margin-bottom: 15px; line-height: 1.1; }
.refer-container p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 35px; line-height: 1.6; }
.referral-box { display: flex; align-items: center; gap: 10px; background: #000; border: 1px solid #333; border-radius: 12px; padding: 10px; margin-bottom: 25px; }
.referral-input { flex: 1; background: transparent; border: none; color: #fff; padding: 10px; font-size: 1.05rem; outline: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.copy-btn { background: var(--accent-neon); color: #000; border: none; padding: 15px 30px; border-radius: 8px; font-weight: 800; cursor: pointer; transition: 0.3s; font-size: 1.1rem; text-transform: uppercase; white-space: nowrap; }
.copy-btn:hover { background: #fff; }

/* Strategies/Generic Content Container */
.content-container { max-width: 900px; margin: 60px auto; padding: 50px 5%; background: rgba(20, 20, 25, 0.6); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.content-container h1 { font-size: 3rem; margin-bottom: 20px; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-align: center; }
.content-container h2 { color: var(--accent-neon); margin: 40px 0 20px; font-size: 1.8rem; }
.content-container p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.15rem; line-height: 1.7; }

/* Article/Strategies Grid */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 0 5%; max-width: 1200px; margin: 0 auto; }
.article-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 30px; backdrop-filter: blur(10px); transition: transform 0.3s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(0, 255, 135, 0.3); }
.article-badge { background: rgba(0, 255, 135, 0.1); color: var(--accent-neon); padding: 4px 12px; border-radius: 12px; font-size: 0.8rem; font-weight: 800; display: inline-block; align-self: flex-start; margin-bottom: 15px; border: 1px solid rgba(0, 255, 135, 0.2); }
.article-card h2 { font-size: 1.4rem; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.article-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }
.btn-outline { border: 1px solid var(--accent-neon); color: var(--accent-neon); background: transparent; padding: 12px 20px; border-radius: 50px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: 0.3s; width: 100%; text-align: center; display: inline-block; }
.btn-outline:hover { background: var(--accent-neon); color: #000; }

/* Leaderboard Page */
.leaderboard-section { max-width: 900px; margin: 0 auto 60px; padding: 0 5%; }
.lb-card { background: rgba(20, 20, 25, 0.8); border: 1px solid rgba(255, 215, 0, 0.3); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.lb-header { background: linear-gradient(90deg, #1a1a2e 0%, rgba(255,215,0,0.1) 100%); padding: 20px; border-bottom: 1px solid rgba(255,215,0,0.2); display: flex; justify-content: space-between; align-items: center; }
.lb-header h3 { color: var(--accent-gold); font-size: 1.5rem; display: flex; align-items: center; gap: 10px; margin: 0; }
.live-tag { background: rgba(255,0,0,0.2); color: #ff4444; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 800; border: 1px solid #ff4444; animation: blink 1.5s infinite; letter-spacing: 1px; }
.lb-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.lb-row:hover { background: rgba(255,255,255,0.03); }
.lb-row:last-child { border-bottom: none; }
.lb-rank { font-weight: 800; font-size: 1.2rem; width: 40px; color: var(--text-muted); }
.rank-1 { color: #FFD700; text-shadow: 0 0 10px rgba(255,215,0,0.5); font-size: 1.5rem;}
.rank-2 { color: #C0C0C0; font-size: 1.3rem;}
.rank-3 { color: #CD7F32; font-size: 1.2rem;}
.lb-name { font-weight: 700; font-size: 1.1rem; flex: 1.5; color: #fff; }
.lb-game { color: var(--text-muted); font-size: 0.95rem; flex: 1; text-align: center; background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 20px; }
.lb-amount { color: var(--accent-neon); font-weight: 800; font-size: 1.25rem; flex: 1; text-align: right; transition: all 0.3s ease; }
.lb-amount.updated { color: #fff; transform: scale(1.1); text-shadow: 0 0 15px var(--accent-neon); }

/* Reviews Page */
.reviews-container { max-width: 1200px; margin: 0 auto 60px; padding: 0 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.review-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 30px; backdrop-filter: blur(10px); transition: transform 0.3s; }
.review-card:hover { transform: translateY(-5px); border-color: rgba(0, 255, 135, 0.3); }
.stars { color: var(--accent-gold); font-size: 1.4rem; margin-bottom: 15px; letter-spacing: 2px;}
.review-text { font-style: italic; color: #e2e8f0; margin-bottom: 20px; font-size: 1rem; line-height: 1.6; }
.reviewer-info { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }
.reviewer-name { font-weight: 700; color: #fff; font-size: 1rem; display: flex; flex-direction: column;}
.reviewer-name span { color: var(--accent-neon); font-weight: 400; font-size: 0.8rem; margin-top: 2px;}

/* ==================== MODALS, FORMS, & WHEELS ==================== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 10000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.spin-container { background: #111; border: 1px solid var(--accent-neon); border-radius: 20px; padding: 40px 30px; text-align: center; max-width: 450px; width: 95%; position: relative; }
.modal-sm { max-width: 350px; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #fff; cursor: pointer; }
.modal-title { color: #fff; margin-bottom: 25px; }
.modal-title-main { color: #fff; margin-bottom: 5px; }
.modal-subtitle { color: var(--text-muted); margin-bottom: 25px; }
.hidden { display: none; }
.btn-claim { background: var(--accent-gold); color: #000; margin-top: 15px; }
.win-msg-text { color: var(--accent-neon); font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; display: none; }

.btn-fb { background: #1877F2; }
.btn-tg { background: #229ED9; }
.btn-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.wheel-wrapper { position: relative; width: 300px; height: 300px; margin: 0 auto 30px; }
.wheel-pointer { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 30px solid #fff; z-index: 10; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.8)); }
.wheel { width: 100%; height: 100%; border-radius: 50%; border: 6px solid #fff; transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99); box-shadow: 0 0 20px rgba(0,255,135,0.3); }
#timer-msg { color: #ff4444; font-weight: bold; margin-top: 15px; display: none; font-size: 1.1rem; }

/* ==================== STREAK GRID ==================== */
.streak-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.streak-day { background: #222; border: 2px solid #333; border-radius: 8px; padding: 10px 5px; text-align: center; opacity: 0.6; transition: 0.3s; }
.streak-day.active { border-color: var(--accent-neon); background: rgba(0, 255, 135, 0.1); opacity: 1; box-shadow: 0 0 10px rgba(0, 255, 135, 0.2); }
.streak-day.claimed { border-color: var(--accent-neon); background: rgba(0, 255, 135, 0.15); opacity: 1; }
.streak-day.claimed .day-reward::after { content: " ✓"; color: var(--accent-neon); }
.streak-final { grid-column: span 3; background: rgba(255, 215, 0, 0.1); border-color: var(--accent-gold); }
.streak-final.active { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.day-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.day-reward { font-size: 0.95rem; font-weight: 800; color: #fff; }
.streak-final .day-reward { font-size: 1.2rem; color: var(--accent-gold); }

/* ==================== AUTH PAGE (LOGIN/REGISTER) ==================== */
.auth-page-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.auth-container { position: relative; background: rgba(15, 15, 20, 0.85); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; width: 100%; max-width: 900px; display: flex; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8); backdrop-filter: blur(20px); }
.auth-sidebar { flex: 1; background: linear-gradient(135deg, rgba(0, 255, 135, 0.05), rgba(0, 0, 0, 0.8)); padding: 50px 40px; border-right: 1px solid rgba(255,255,255,0.05); }
.auth-form-area { flex: 1; padding: 50px 40px; background: transparent; }
.auth-close-btn { position: absolute; top: 20px; right: 25px; font-size: 2rem; color: #fff; text-decoration: none; line-height: 1; z-index: 100; transition: 0.3s; }
.auth-close-btn:hover { color: #ff4444; transform: scale(1.1); }
.auth-toggle { display: flex; background: #000; border-radius: 12px; padding: 5px; margin-top: 25px; margin-bottom: 30px; border: 1px solid rgba(255,255,255,0.1); }
.toggle-btn { flex: 1; background: transparent; border: none; color: var(--text-muted); padding: 12px; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.toggle-btn.active { background: #222; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.auth-label { display: block; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-weight: 600; }
.auth-input { width: 100%; background: #111; border: 1px solid #333; color: #fff; padding: 14px 16px; border-radius: 10px; margin-bottom: 25px; font-size: 1rem; outline: none; transition: 0.3s; font-family: 'Inter', sans-serif; }
.auth-input:focus { border-color: var(--accent-neon); box-shadow: 0 0 10px rgba(0, 255, 135, 0.1); }
.password-wrapper { position: relative; width: 100%; }
.toggle-pass { position: absolute; right: 15px; top: 14px; cursor: pointer; opacity: 0.6; transition: 0.3s; user-select: none; }
.toggle-pass:hover { opacity: 1; }

/* ==================== GLOBAL FOOTER ==================== */
.site-footer { background: rgba(5, 5, 5, 0.9); padding: 40px 20px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 40px; }
.social-section { margin-bottom: 30px; }
.social-section h3 { color: #fff; font-size: 1.2rem; margin-bottom: 20px; font-weight: 600; }
.social-links { display: flex; justify-content: center; gap: 20px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: rgba(20, 20, 25, 0.8); border-radius: 50%; color: var(--accent-neon); text-decoration: none; border: 1px solid rgba(0, 255, 135, 0.3); transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.social-links a svg { width: 24px; height: 24px; fill: currentColor; transition: 0.3s; }
.social-links a:hover { background: var(--accent-neon); color: #000; transform: translateY(-5px); box-shadow: 0 8px 25px var(--accent-glow); }
.legal-section { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; color: var(--text-muted); }
.legal-text { font-size: 0.8rem; color: #666; margin-top: 10px; }

/* ==================== FLOATING ELEMENTS (FABs) ==================== */
/* Base fallback for subpages that use the older HTML format */
.fab-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; align-items: center; z-index: 999; cursor: pointer; }
.fab-spin { background: var(--gradient-btn); color: #000; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 4px 20px var(--accent-glow); border: 3px solid #fff; transition: 0.3s;}
.fab-text { background: #000; color: var(--accent-neon); padding: 5px 12px; border-radius: 12px; font-size: 0.85rem; font-weight: 800; border: 1px solid var(--accent-neon); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 8px; white-space: nowrap; }

/* New Unified Stack (For Index/Updated Pages) */
#action-button-stack { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column-reverse; gap: 15px; z-index: 9999; pointer-events: none; }
#action-button-stack .fab-container { position: relative; bottom: auto; right: auto; width: 60px; height: 60px; margin: 0; padding: 0; background: transparent; border: none; box-shadow: none; pointer-events: auto; cursor: pointer; }
#action-button-stack .fab-spin { width: 100%; height: 100%; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; border: 3px solid #ffffff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#action-button-stack .fab-container:hover .fab-spin { transform: scale(1.1); }

#bonus-fab-btn .fab-spin { background: linear-gradient(135deg, #00FF87, #00B8D4); animation: floatPulse 2s infinite; }
#chat-fab-btn .fab-spin { background: linear-gradient(135deg, #00ff88, #00b3ff); color: #111; }
#streak-fab-btn .fab-spin { background: #FFD700; animation: floatPulse 2s infinite; }

@keyframes floatPulse { 0% { box-shadow: 0 4px 15px rgba(0, 255, 135, 0.4); } 50% { box-shadow: 0 4px 25px rgba(0, 255, 135, 0.8); transform: scale(1.02); } 100% { box-shadow: 0 4px 15px rgba(0, 255, 135, 0.4); } }

/* Mobile-Only Secondary FAB */
#mobile-streak-fab { background: transparent !important; border: none !important; box-shadow: none !important; }
#mobile-streak-fab .fab-spin { background: var(--accent-gold); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }

/* ==================== CHAT UI ==================== */
#custom-chat-box { position: fixed; bottom: 105px; right: 25px; width: 350px; height: 500px; background: #18181b; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); display: none; flex-direction: column; overflow: hidden; border: 1px solid #27272a; z-index: 10000; font-family: 'Inter', sans-serif; pointer-events: auto; }
#custom-chat-box.active { display: flex; animation: chatSlideUp 0.3s ease-out forwards; }
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.chat-header { background: #18181b; color: #f4f4f5; padding: 18px 20px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #27272a; }
.close-chat-btn { background: none; border: none; color: #a1a1aa; font-size: 20px; cursor: pointer; transition: color 0.2s; }
.close-chat-btn:hover { color: #f4f4f5; }

#chat-history { flex-grow: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
#chat-history::-webkit-scrollbar { width: 5px; }
#chat-history::-webkit-scrollbar-thumb { background: #3f3f46; border-radius: 10px; }

/* Messages & Attachments */
.msg-bubble { max-width: 85%; padding: 12px 16px; border-radius: 18px; font-size: 13.5px; line-height: 1.5; word-wrap: break-word; }
.msg-you { background: #2563eb; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-admin { background: #27272a; color: #e4e4e7; align-self: flex-start; border-bottom-left-radius: 4px; }

/* Restrict Image Size in Chat */
.chat-image-preview { max-width: 100%; max-height: 150px; border-radius: 8px; margin-top: 8px; border: 1px solid rgba(255,255,255,0.1); cursor: zoom-in; object-fit: cover; }

/* Chat Input Area */
.chat-input-area { display: flex; padding: 15px; background: #18181b; border-top: 1px solid #27272a; gap: 10px; align-items: center; }

/* iPhone Input Auto-Zoom Fix */
#chat-input, #chat-input:focus, .chat-input-area input[type="text"] { font-size: 16px !important; touch-action: manipulation; }
#chat-input { flex-grow: 1; background: #27272a; border: none; color: #f4f4f5; padding: 12px 16px; border-radius: 20px; outline: none; transition: 0.2s; }
#chat-input:focus { background: #3f3f46; }

/* Paperclip Icon */
.attach-btn { color: #a1a1aa; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; transition: color 0.2s; }
.attach-btn:hover { color: var(--accent-neon); }

.send-btn { background: transparent; color: #2563eb; border: none; font-size: 18px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: 0.2s; padding: 0 5px; }
.send-btn:hover { color: #60a5fa; transform: scale(1.1); }

.chat-options { display: flex; flex-direction: column; gap: 8px; align-self: flex-start; margin-top: 4px; width: 90%; }
.chat-option-btn { background: transparent; border: 1px solid #3f3f46; color: #a1a1aa; padding: 10px 14px; border-radius: 12px; font-size: 12.5px; cursor: pointer; text-align: left; transition: all 0.2s; }
.chat-option-btn:hover { background: #27272a; color: #f4f4f5; border-color: #52525b; }

#custom-chat-box.locked { border-color: #ff4444; box-shadow: 0 0 20px rgba(255, 68, 68, 0.2); }
#custom-chat-box.locked .chat-input-area { opacity: 0.5; pointer-events: none; background: #111; }

/* ==================== FULL SCREEN IMAGE LIGHTBOX ==================== */
#image-lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 100000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
#image-lightbox.active { display: flex; }
#lightbox-img { max-width: 95%; max-height: 95%; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.8); object-fit: contain; }
.close-lightbox-btn { position: absolute; top: 20px; right: 25px; font-size: 3rem; color: #fff; cursor: pointer; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ==================== WINNING TOAST NOTIFICATION ==================== */
.win-toast { position: fixed; bottom: 30px; left: -350px; background: rgba(15, 15, 20, 0.95); border-left: 4px solid var(--accent-neon); padding: 15px 20px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.6); display: flex; align-items: center; gap: 15px; transition: left 0.5s cubic-bezier(0.17, 0.67, 0.12, 0.99); z-index: 998; backdrop-filter: blur(10px); max-width: 300px; }
.win-toast.show { left: 30px; }
.win-icon { font-size: 1.8rem; }
.win-text { font-size: 0.9rem; line-height: 1.4; color: #ccc; }
.win-text strong { color: #fff; }
.win-amount { color: var(--accent-neon); font-weight: 800; font-size: 1.1rem; }

/* ==================== GLOBAL MEDIA QUERIES ==================== */
.menu-toggle { display: none; font-size: 1.5rem; color: #fff; cursor: pointer; background: transparent; border: 1px solid #fff; border-radius: 6px; padding: 4px 10px; margin-left: 10px; line-height: 1; }

@media (max-width: 900px) {
    /* 1. Hide Desktop Elements */
    #logged-in-btn, .desktop-arrow { display: none !important; } 
    #login-btn .desktop-text { display: none; }
    #mobile-header-greeting.logged-in { display: inline-block !important; }

    /* 2. Keep header items in a horizontal line */
    #auth-section { display: flex !important; flex-direction: row !important; align-items: center !important; }
    #auth-menu-items { display: flex !important; flex-direction: row !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
    
    /* 3. Format the greeting text */
    .account-dropdown { display: flex !important; flex-direction: row !important; border: none !important; margin: 0 10px 0 0 !important; padding: 0 !important; height: auto !important; position: relative !important; }
    #menu-greeting { padding: 0 !important; font-size: 0.95rem !important; margin: 0 !important; }
    
    /* 4. Force the dropdown menu to FLOAT and hide by default */
    .account-dropdown-content { 
        display: none !important; /* Crucial for JS toggle */
        position: absolute !important; 
        top: 35px !important; 
        right: -10px !important; 
        width: 190px !important; 
        background: #111 !important; 
        border: 1px solid #333 !important; 
        border-radius: 8px !important; 
        box-shadow: 0px 10px 30px rgba(0,0,0,0.9) !important; 
        flex-direction: column !important;
        z-index: 99999 !important;
    }
    
    /* 5. The class JavaScript will use to open it */
    .account-dropdown-content.show-dropdown { display: flex !important; }

    /* 6. Clean up dropdown links */
    .account-dropdown-content a { text-align: left !important; padding: 12px 15px !important; font-size: 0.95rem !important; border-bottom: 1px solid #222 !important; margin: 0 !important; }
    .account-dropdown-content a:last-child { border-bottom: none !important; }
}

@media (max-width: 1200px) {
    .menu-toggle { display: block; }
    nav .btn-primary { padding: 8px 16px; font-size: 0.8rem; }
    
    .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(15px); max-height: 0; overflow-y: auto; transition: max-height 0.3s ease-out; border-bottom: none; }
    .nav-links.show { max-height: 50vh; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-item { padding: 15px 0; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-item.active::after { display: none; }
    
    nav { padding: 12px 5%; }
    .logo { font-size: 1.4rem; }
    .hero h1 { font-size: 2.2rem; }
    
    .payment-badges { gap: 10px; }
    .pay-badge { font-size: 0.9rem; padding: 6px 12px; }
    .wheel-wrapper { width: 260px; height: 260px; }
    
    .lb-row { flex-wrap: wrap; }
    .lb-game { display: none; } 
    .lb-amount { font-size: 1.1rem; }
    
    .auth-container { flex-direction: column; }
    .auth-sidebar { padding: 40px 25px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .auth-form-area { padding: 40px 25px; }
    
    /* Refer/Contact Mobile Fixes */
    .refer-container h1 { font-size: 2.5rem; }
    .referral-box { flex-direction: column; }
    .copy-btn { width: 100%; }
    .contact-box h1 { font-size: 2rem; }
    
    /* FAB Mobile Fixes */
    .fab-container { transform: scale(0.9); bottom: 20px; right: 15px; }
    #action-button-stack { bottom: 15px; right: 15px; gap: 12px; }
    #action-button-stack .fab-container { width: 55px; height: 55px; }
    #action-button-stack .fab-spin { font-size: 22px; }
    
    #custom-chat-box { width: 90%; right: 5%; left: 5%; bottom: 85px; height: 65vh; max-height: 500px; }
    
    /* Mobile Toast Dropdown */
    .win-toast { top: -100px !important; bottom: auto !important; left: 50% !important; transform: translateX(-50%) !important; width: 90%; max-width: none; transition: top 0.5s cubic-bezier(0.17, 0.67, 0.12, 0.99); }
    .win-toast.show { top: 80px !important; bottom: auto !important; }
}

@media (min-width: 901px) {
    #mobile-streak-fab { display: none !important; } 
}
#mobile-header-greeting { display: none !important; color: var(--accent-neon); font-weight: 800; font-size: 0.95rem; margin-right: 12px; }



/* =========================================
   CHAT NOTIFICATIONS & UI UPGRADES
========================================= */
#chat-fab-btn { position: relative; }

/* Unread Badge */
.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 900;
    border: 2px solid #000;
    display: none;
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}
.chat-badge.show { display: block; animation: popIn 0.3s ease-out forwards; }
@keyframes popIn { 0% { transform: scale(0); } 80% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* New Message Divider */
.msg-divider {
    text-align: center;
    color: var(--accent-neon);
    margin: 15px 0;
    position: relative;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.msg-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border-top: 1px dashed rgba(0, 255, 135, 0.4);
    z-index: 1;
}
.msg-divider span {
    background: #18181b;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Highlight new Admin messages */
.msg-admin.new-msg {
    border: 1px solid var(--accent-neon);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.15);
}

.chat-header-actions { display: flex; gap: 15px; align-items: center; }
.header-badge {
    background: #ff4444; color: #fff; border-radius: 12px;
    padding: 2px 8px; font-size: 11px; font-weight: 900;
    margin-left: 10px; display: none;
}
.header-badge.show { display: inline-block; }

/* SMART FIX: Forces mobile to stay hidden when user is logged out */
#auth-menu-items[style*="display: none"] {
    display: none !important;
}

/* Only show it when the system adds the logged-in class */
.logged-in #menu-greeting,
#menu-greeting.logged-in { display: inline-block !important; }

/* Greys out the streak days for guests */
.guest-streak-mode .streak-grid {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

.game-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.game-card-title a:hover {
    color: var(--accent-neon);
}