/* =========================================================================
   DABA FANTASY - CSS Variables & Base Styles
   ========================================================================= */
:root {
    /* Color Palette */
    --primary: #0B1F3B;      /* Deep Blue */
    --primary-light: #16325B;
    --secondary: #D4AF37;    /* Gold */
    --secondary-light: #F3E5AB;
    --accent: #00C853;       /* Bright Green */
    --accent-hover: #00E676;
    --bg-dark: #050d1a;      /* Darkest Blue Gradient Base */
    --text-main: #ffffff;
    --text-muted: #a0aec0;
    
    /* UI Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    --green-glow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6, .section-title, .btn {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-weight: normal;
}

h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 1rem; }
h2 { font-size: 2.8rem; margin-bottom: 1rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.center-text { text-align: center; }

/* =========================================================================
   Buttons & CTAs
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Overlay for hover */
.btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.1); z-index: -1;
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.btn:hover::before { transform: scaleX(1); }

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    font-weight: bold;
}
.btn-primary:hover { background-color: var(--accent-hover); }

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: #000;
    font-weight: bold;
}
.btn-secondary:hover { filter: brightness(1.1); }

.large { padding: 1.2rem 3rem; font-size: 1.6rem; }

.shadow-glow { box-shadow: var(--green-glow); }
.shadow-glow:hover { box-shadow: 0 6px 20px rgba(0, 200, 83, 0.6); }

.shadow-glow-gold { box-shadow: var(--gold-glow); }

.hover-up:hover { transform: translateY(-3px); }

.center-btn { text-align: center; margin-top: 2rem; }

/* Sticky Mobile CTA */
.sticky-cta-container {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(11, 31, 59, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    display: none; /* Only on Mobile via Media Query */
    border-top: 1px solid var(--glass-border);
}
.sticky-cta-container .btn { width: 100%; font-size: 1.4rem; padding: 1rem 0; }

/* =========================================================================
   Animations
   ========================================================================= */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 15px 10px rgba(0, 200, 83, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}
.pulse { animation: pulse 2s infinite; }
.pulse-text { animation: pulseText 1.5s infinite; display: inline-block; }
@keyframes pulseText { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.bounce { animation: bounce 2s infinite; }

/* =========================================================================
   Sections Layout Base
   ========================================================================= */
section { padding: 6rem 0; position: relative; }
.section-title { text-align: center; margin-bottom: 3rem; text-transform: uppercase; }

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
    min-height: 100vh;
    background: radial-gradient(circle at center top, var(--primary-light) 0%, var(--primary) 40%, var(--bg-dark) 100%);
    position: relative;
    display: flex; align-items: center; padding-top: 4rem; padding-bottom: 2rem;
    overflow: hidden;
}

/* Stadium Lights Effect */
.hero::before {
    content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, rgba(212,175,55,0.05) 40%, transparent 70%);
    z-index: 0; pointer-events: none;
}

.hero-content {
    display: flex; align-items: center; justify-content: space-between; gap: 4rem;
    position: relative; z-index: 1; width: 100%;
}
.hero-text { flex: 1; max-width: 650px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }

.subheadline { font-size: 1.25rem; color: #e2e8f0; margin-bottom: 2.5rem; }

.prize-highlights { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.prize-badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--secondary);
    padding: 0.6rem 1.2rem; border-radius: 30px;
    font-weight: 500; color: var(--secondary);
    display: flex; align-items: center; gap: 0.5rem;
    backdrop-filter: blur(5px);
}

.trust-badges-inline {
    margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem;
    color: var(--text-muted); font-size: 0.95rem; font-weight: 500;
}
.trust-badges-inline span { display: flex; align-items: center; gap: 0.5rem; }

/* Modern Phone Mockup */
.phone-mockup {
    width: 320px; height: 650px;
    background: #000; border-radius: 40px;
    border: 12px solid #222;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 50px rgba(212,175,55,0.15);
    transform: rotate(5deg) translateY(-10px);
    transition: transform 0.5s ease;
}
.phone-mockup:hover { transform: rotate(0deg) translateY(0); }
.phone-mockup::before { /* Notch */
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 130px; height: 28px; background: #222;
    border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; z-index: 10;
}
.phone-screen {
    width: 100%; height: 100%; background: #0B1F3B; border-radius: 28px; overflow: hidden;
    position: relative; display: flex; flex-direction: column;
}
.screen-header {
    background: var(--primary-light); padding: 3rem 1rem 1rem;
    text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 2px;
    color: white; border-bottom: 2px solid var(--secondary);
}
.pitch-bg {
    margin: 1.5rem; flex: 1;
    background: linear-gradient(to bottom, rgba(27, 94, 32, 0.8), rgba(46, 125, 50, 0.8));
    border: 2px solid rgba(255,255,255,0.2); border-radius: 50%;
    position: relative;
}
.phone-cta {
    background: var(--accent); color: white; text-align: center;
    padding: 1rem; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem;
    cursor: pointer; position: absolute; bottom: 0; width: 100%;
}
.player {
    position: absolute; width: 36px; height: 36px;
    background: white; color: #111; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: bold; font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
/* Player positions on pitch */
.wk { top: 5%; left: 50%; transform: translateX(-50%); }
.bat1 { top: 25%; left: 15%; } .bat2 { top: 25%; right: 15%; }
.ar1 { top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 5px; }
.bowl1 { bottom: 10%; left: 50%; transform: translateX(-50%); }

/* =========================================================================
   How It Works (Steps)
   ========================================================================= */
.how-it-works { background: #081426; }
.steps-container {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 1.5rem; position: relative; margin-top: 3rem; margin-bottom: 2rem;
}
/* Connecting line between cards */
.steps-container::before {
    content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent); z-index: 0;
}
.step-card {
    background: var(--glass-bg); padding: 2rem 1rem 1.5rem;
    border-radius: 16px; text-align: center; flex: 1;
    border: 1px solid var(--glass-border); position: relative; z-index: 1;
    backdrop-filter: blur(10px); transition: transform 0.3s ease;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--secondary); }
.step-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--secondary), #FFA000);
    color: var(--primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; margin: -50px auto 1.5rem;
    border: 6px solid #081426; box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.step-card h3 { color: #fff; margin-bottom: 0.5rem; }
.step-card p { font-size: 1rem; color: var(--text-muted); }

/* =========================================================================
   Mega Contest Prizes
   ========================================================================= */
.mega-prizes { background: radial-gradient(circle at center, rgba(16,36,68,1) 0%, rgba(5,13,26,1) 100%); }
.urgency-text { color: #ffeb3b; font-weight: bold; margin-bottom: 4rem; font-size: 1.2rem; }
.prize-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem; margin-bottom: 3.5rem;
}
.prize-card {
    background: rgba(11, 31, 59, 0.7); backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border); padding: 3rem 1.5rem;
    border-radius: 20px; transition: all 0.4s ease;
}
.prize-card:hover { transform: translateY(-10px); background: rgba(22, 50, 91, 0.8); }
.gold-border { /* Highlighted card */
    border: 2px solid var(--secondary);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1), 0 15px 35px rgba(0,0,0,0.6);
    background: linear-gradient(180deg, rgba(212,175,55,0.1) 0%, rgba(11,31,59,0.9) 100%);
    transform: scale(1.05);
}
.gold-border:hover { transform: scale(1.05) translateY(-5px); }
.prize-icon {
    font-size: 4rem; color: var(--secondary); margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.4));
}
.prize-card h3 { font-size: 2.2rem; margin-bottom: 0.5rem; color: #fff; }

/* =========================================================================
   App Screenshots
   ========================================================================= */
.app-screenshots { overflow: hidden; background: #050d1a; }
.gallery-scroll {
    display: flex; overflow-x: auto; gap: 2.5rem; padding: 1rem 1rem 3rem;
    scroll-snap-type: x mandatory; scrollbar-width: thin;
    scrollbar-color: var(--secondary) rgba(255,255,255,0.1);
}
.screenshot-card { min-width: 250px; scroll-snap-align: center; text-align: center; }
.mock-screen {
    width: 260px; height: 520px;
    background: #112; border-radius: 20px; border: 8px solid #2a3a54;
    margin-bottom: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative; overflow: hidden;
}
/* Shimmer effect for screens */
.mock-screen::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(30deg); animation: shimmer 5s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%) rotate(30deg); } 100% { transform: translateX(100%) rotate(30deg); } }

.icon-large { font-size: 4rem; margin-bottom: 1rem; color: rgba(255,255,255,0.8); }
.mock-screen h4 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 1px; }

.mock-screen.contest { background: linear-gradient(135deg, #0B1F3B, #1A237E); }
.mock-screen.create-team { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
.mock-screen.stats { background: linear-gradient(135deg, #311B92, #512DA8); }
.mock-screen.wallet { background: linear-gradient(135deg, #B71C1C, #C62828); }
.mock-screen.leaderboard { background: linear-gradient(135deg, #E65100, #EF6C00); }

/* =========================================================================
   Real Winners
   ========================================================================= */
.real-winners { background: #081426; }
.winners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.winner-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 16px; padding: 2.5rem 2rem; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.winner-img {
    width: 110px; height: 110px;
    background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
    border-radius: 50%; margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--secondary);
    border: 4px solid var(--secondary); box-shadow: 0 0 15px rgba(212,175,55,0.3);
}
.winner-info h4 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.winner-info .caption { font-size: 1.1rem; color: #e2e8f0; font-style: italic; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials { background: var(--bg-dark); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.review-card {
    background: rgba(11, 31, 59, 0.5); border-left: 4px solid var(--accent);
    border-radius: 8px; padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.stars { color: var(--secondary); margin-bottom: 1.5rem; font-size: 1.2rem; }
.review-card p { font-size: 1.1rem; line-height: 1.7; font-style: italic; margin-bottom: 2rem; color: #e2e8f0; }
.reviewer { display: flex; align-items: center; gap: 1rem; }
.r-avatar {
    width: 45px; height: 45px; background: var(--secondary); color: #000;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem; font-family: 'Bebas Neue', sans-serif;
}
.reviewer span { font-weight: 500; font-size: 1.1rem; }

/* =========================================================================
   Trust & Safety
   ========================================================================= */
.trust-safety { background: radial-gradient(circle at bottom, rgba(0,200,83,0.05) 0%, transparent 70%); text-align: center; }
.reassurance { color: var(--text-muted); margin-bottom: 4rem; font-size: 1.2rem; }
.trust-icons-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; }
.t-icon { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 140px; }
.t-icon-inner {
    width: 90px; height: 90px;
    background: rgba(0, 200, 83, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(0, 200, 83, 0.3); margin-bottom: 0.5rem;
}
.t-icon-inner i { font-size: 2.5rem; color: var(--accent); }
.t-icon span { font-weight: 500; font-size: 1.1rem; }

/* =========================================================================
   First Time Deposit Section
   ========================================================================= */
.ftd-section { background: #081426; }
.ftd-card {
    background: linear-gradient(135deg, rgba(11,31,59,0.95), rgba(5,13,26,0.95));
    border: 2px solid var(--secondary); border-radius: 30px;
    padding: 5rem 4rem; display: flex; align-items: center; justify-content: space-between; gap: 4rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(212,175,55,0.1);
}
.ftd-content { flex: 1; }
.ftd-content h2 { font-size: 3.5rem; }
.ftd-highlights { list-style: none; margin: 2.5rem 0; }
.ftd-highlights li { font-size: 1.2rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.ftd-highlights li i { font-size: 1.5rem; }
.ftd-visual { flex: 1; display: flex; justify-content: center; }
.glass-panel {
    background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}
.wallet-graphic {
    width: 300px; height: 180px;
    background: linear-gradient(135deg, #D4AF37, #F3E5AB);
    border-radius: 20px; position: relative;
    display: flex; align-items: center; justify-content: center;
    color: #000; font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem;
    box-shadow: 0 15px 35px rgba(212,175,55,0.3);
}
.wallet-graphic small { font-size: 1.2rem; font-family: 'Roboto', sans-serif; display: block; margin-bottom: -15px; text-transform: uppercase; font-weight: bold; }
.wallet-chip { position: absolute; left: 20px; top: 20px; font-size: 2rem; color: rgba(0,0,0,0.6); }
.wallet-add-icon {
    position: absolute; right: -25px; bottom: -25px;
    font-size: 5rem; color: var(--accent);
    background: #fff; border-radius: 50%; border: 6px solid var(--bg-dark);
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-section { background: var(--bg-dark); }
.accordion { max-width: 850px; margin: 0 auto; }
.accordion-item { margin-bottom: 1.2rem; background: var(--primary-light); border-radius: 12px; overflow: hidden; }
.accordion-header {
    width: 100%; background: none; border: none; color: white;
    text-align: left; padding: 1.8rem; font-size: 1.2rem; font-weight: 500;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: 'Roboto', sans-serif; text-transform: none; letter-spacing: normal;
    transition: background 0.3s;
}
.accordion-header:hover { background: rgba(255,255,255,0.05); }
.accordion-header i { transition: transform 0.3s; color: var(--secondary); }
.accordion-body {
    padding: 0 1.8rem 1.8rem; color: #cbd5e1; display: none; line-height: 1.7; font-size: 1.05rem;
}
.accordion-item.active .accordion-header { border-bottom: 1px solid var(--glass-border); margin-bottom: 1rem; }
.accordion-item.active .accordion-body { display: block; animation: slideDown 0.3s ease; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================================
   Final CTA & Footer
   ========================================================================= */
.final-cta { padding: 7rem 0; background: linear-gradient(180deg, var(--bg-dark) 0%, var(--primary-light) 100%); position: relative;}
/* Confetti effect background */
.final-cta::before {
    content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--secondary) 1px, transparent 1px), radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 50px 50px; background-position: 0 0, 25px 25px; opacity: 0.1;
}
.final-cta h2 { font-size: 3.5rem; margin-bottom: 0.5rem; position: relative; z-index: 1;}
.final-cta .subtitle { font-size: 1.8rem; margin-bottom: 1.5rem; color: #cbd5e1; position: relative; z-index: 1;}

footer { background: #02060d; padding: 4rem 0 2rem; text-align: center; border-top: 1px solid #1a2a40; }
.footer-links { display: flex; justify-content: center; gap: 2.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; font-size: 1.1rem; }
.footer-links a:hover { color: var(--secondary); text-decoration: underline; }
.disclaimer { font-size: 0.9rem; color: #64748b; max-width: 900px; margin: 0 auto 2.5rem; line-height: 1.6; border: 1px solid #1a2a40; padding: 1.5rem; border-radius: 8px;}
.copyright { color: #475569; font-size: 1rem; }

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 1024px) {
    .ftd-card { flex-direction: column; padding: 4rem 2rem; text-align: center; }
    .ftd-highlights li { justify-content: center; }
    .hero-content { gap: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.3rem; }
    
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { order: 2; margin-bottom: 2rem; }
    .hero-visual { order: 1; transform: scale(0.9); }
    .hero::before { width: 100%; height: 50%; opacity: 0.4; top: 0; }
    
    .trust-badges-inline { justify-content: center; }
    .prize-highlights { justify-content: center; }
    
    .steps-container { flex-direction: column; align-items: center; gap: 4rem; }
    .steps-container::before { width: 3px; height: 100%; top: 0; left: 50%; }
    .step-card { width: 100%; max-width: 350px; }
    
    .final-cta h2 { font-size: 2.5rem; }
    
    /* Reveal Sticky CTA */
    .sticky-cta-container { display: block; }
    /* Padding to avoid overlap */
    body { padding-bottom: 90px; }
    /* Hide desktop CTA in hero optionally, but keeping it is fine */
}
