/* ZingoLingo - Gamified Dark Theme for Kids & Teens */

:root {
    /* Fun, Bubbly Gamified Color Palette (Neon focus for dark mode) */
    --primary-purple: #A855F7; /* Brightened for dark mode */
    --primary-pink: #EC4899;
    --primary-blue: #3B82F6;
    --primary-orange: #F97316;
    --primary-green: #10B981;
    --primary-yellow: #FBBF24;
    
    /* Deep Dark Mode Backgrounds */
    --bg-color: #0F172A; /* Slate 900 */
    --card-bg: #1E293B; /* Slate 800 */
    --section-alt: #0B1120; /* Slate 950 for contrast */
    
    /* Light Text for Dark Mode */
    --text-main: #F8FAFC;
    --text-light: #CBD5E1;
    --text-muted: #64748B;
    
    /* Subtle Borders */
    --border-color: #334155;
    --border-hover: #475569;

    --gradient-purple: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    --gradient-pink: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%);
    --gradient-orange: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
    --gradient-hero: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    
    /* Glowing Shadows */
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-color: 0 15px 35px rgba(168, 85, 247, 0.2);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .time-value, .process-number, .stat-number {
    font-family: 'Fredoka', sans-serif;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

/* Countdown Row */
.countdown-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background: var(--gradient-purple);
    gap: 30px;
}

.countdown-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-icon {
    font-size: 1.5rem;
    color: #FFF;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.countdown-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFF;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    gap: 8px;
}

.time-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 4px 10px;
    text-align: center;
    min-width: 55px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.time-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFF;
}

.time-label {
    display: block;
    font-size: 0.65rem;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
}

/* Navigation Row */
.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-main);
}

.logo-highlight {
    color: var(--primary-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-purple);
    background: rgba(168, 85, 247, 0.15);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 4px;
    background: var(--text-main);
    border-radius: 4px;
    transition: 0.3s ease;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
    padding: 180px 20px 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary-pink);
    top: -100px; left: -100px;
}
.shape-2 {
    width: 500px; height: 500px;
    background: var(--primary-purple);
    bottom: -150px; right: -100px;
}
.shape-3 {
    width: 300px; height: 300px;
    background: var(--primary-yellow);
    top: 20%; right: 20%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 72, 153, 0.15);
    color: var(--primary-pink);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 25px;
    border: 2px solid rgba(236, 72, 153, 0.3);
    box-shadow: var(--glow-pink);
}

.hero-heading {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
}

.gradient-text {
    background: var(--gradient-pink);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-pink);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn-primary, .btn-secondary, .btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 6px 0 #6D28D9; /* 3D Button effect */
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #6D28D9;
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #6D28D9;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--primary-pink);
    box-shadow: 0 6px 0 var(--border-color);
    border: 2px solid var(--border-hover);
}

.btn-secondary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 var(--border-color);
    border-color: var(--primary-pink);
}

.btn-secondary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--border-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.stat-item { text-align: center; }
.stat-number { font-size: 2rem; color: var(--primary-pink); font-weight: 700; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-light); }

/* ============================================================
   TICKER BAR
   ============================================================ */

.ticker-bar {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    overflow: hidden;
    color: var(--text-main);
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ticker-label {
    background: var(--primary-pink);
    color: white;
    padding: 6px 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 20px;
    white-space: nowrap;
    z-index: 2;
}

.ticker-scroll { flex: 1; overflow: hidden; }
.ticker-message { font-weight: 500; animation: scroll 25s linear infinite; white-space: nowrap; }

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ============================================================
   SECTIONS (COMMON)
   ============================================================ */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clubs-section, .process-section, .benefits-section, .parents-section, .faq-section {
    padding: 100px 20px;
}

.parents-section {
    background: var(--section-alt);
    border-top: 3px dashed var(--border-hover);
    border-bottom: 3px dashed var(--border-hover);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.section-heading {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto;
}

/* Gamified Card Styles for Grids */
.club-card, .process-card, .benefit-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px;
    border: 2px solid var(--border-color);
    border-bottom: 8px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}

.club-card:hover, .process-card:hover, .benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    border-bottom-color: var(--primary-purple);
    box-shadow: var(--shadow-color);
}

/* ============================================================
   CLUBS GRID
   ============================================================ */

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.club-topic {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.club-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(15, 23, 42, 0.5);
    padding: 15px;
    border-radius: 12px;
}

.club-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.club-detail i {
    color: var(--primary-purple);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.club-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 5px 0 #059669;
    transition: all 0.1s ease;
}

.club-button:hover { transform: translateY(2px); box-shadow: 0 3px 0 #059669; }
.club-button:active { transform: translateY(5px); box-shadow: 0 0 0 #059669; }
.club-button.disabled {
    background: var(--border-hover);
    box-shadow: 0 5px 0 var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ============================================================
   PROCESS & BENEFITS
   ============================================================ */

.process-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-card { text-align: center; padding: 40px 30px; }
.process-number {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 0;
}

.process-icon, .benefit-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.process-icon { margin: 0 auto 20px; }

/* Vibrant Icon Colors */
.pink-icon { background: var(--primary-pink); box-shadow: 0 4px 0 #BE185D; }
.purple-icon { background: var(--primary-purple); box-shadow: 0 4px 0 #6D28D9; }
.orange-icon { background: var(--primary-orange); box-shadow: 0 4px 0 #C2410C; }
.green-icon { background: var(--primary-green); box-shadow: 0 4px 0 #059669; }
.blue-icon { background: var(--primary-blue); box-shadow: 0 4px 0 #1D4ED8; }
.yellow-icon { background: var(--primary-yellow); box-shadow: 0 4px 0 #B45309; }

.process-card h3, .benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-main);
}
.process-card p, .benefit-card p {
    color: var(--text-light);
    position: relative; z-index: 1;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-card.active {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.15);
}

.faq-q {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--card-bg);
}

.faq-q h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin: 0;
}

.faq-q i {
    color: var(--primary-purple);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    background: rgba(168, 85, 247, 0.15);
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}

.faq-card.active .faq-q i { transform: rotate(45deg); background: var(--primary-purple); color: #FFF; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-card.active .faq-a { max-height: 300px; }
.faq-a p { padding: 0 25px 25px; color: var(--text-light); }

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section { padding: 80px 20px; }
.cta-wrapper { max-width: 1000px; margin: 0 auto; }
.cta-content-box {
    background: var(--primary-purple);
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.05)" stroke-width="20" fill="none"/></svg>');
    background-size: 150px;
    border-radius: 30px;
    padding: 70px 40px;
    text-align: center;
    color: #FFF;
    border-bottom: 10px solid #6D28D9;
}

.cta-content-box h2 { font-size: 3rem; margin-bottom: 20px; color: #FFF;}
.cta-content-box p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

.btn-cta-primary { background: var(--primary-yellow); color: #B45309; box-shadow: 0 6px 0 #D97706; }
.btn-cta-primary:hover { transform: translateY(2px); box-shadow: 0 4px 0 #D97706; }
.btn-cta-primary:active { transform: translateY(6px); box-shadow: 0 0 0 #D97706; }

.btn-cta-secondary { background: rgba(0,0,0,0.2); color: #FFF; box-shadow: 0 6px 0 rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.2);}
.btn-cta-secondary:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(0,0,0,0.3); background: rgba(255,255,255,0.1); border-color: #FFF; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: #020617; /* Extra dark for the footer */
    color: #FFF;
    padding: 80px 20px 30px;
    border-top: 5px solid var(--primary-pink);
}

.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-column h3 { font-size: 1.4rem; margin-bottom: 25px; color: #FFF; }
.footer-column p { color: var(--text-muted); margin-bottom: 20px; }
.footer-column a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 15px; transition: color 0.2s; font-weight: 500;}
.footer-column a:hover { color: var(--primary-pink); }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #FFF; font-size: 1.3rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icons a:hover { background: var(--primary-pink); transform: translateY(-3px); border-color: var(--primary-pink); }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .countdown-row { flex-direction: column; gap: 10px; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero-section { padding: 140px 20px 60px; }
    .hero-heading { font-size: 3rem; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 20px; padding: 30px; }
    
    .section-heading { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; }
    .cta-content-box h2 { font-size: 2.2rem; }
}