/* =========================================
   DD Society. NEW LOGO-BASED FINTECH UI
   ========================================= */

/* Core Resets */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

/* =========================================
   1. Theme Variables (Based on New Logo)
   ========================================= */
:root {
    /* 🔒 Updated: New Logo Deep Sapphire Blue for Trust */
    --trust-blue: #114B85; 
    /* 🔒 Updated: Lightened New Deep Blue for gradients/orbs */
    --trust-light: #1D79C7; 
    
    /* 🔥 Updated: New Logo Vibrant Green-Teal for Digital Connectivity */
    --action-green: #04918A; 
    /* 🔥 Updated: Glow effect for New Green-Teal */
    --action-glow: rgba(4, 145, 138, 0.4); 
    
    /* Standard Colors (kept as neutral) */
    --bg-light: #F7FAFC;
    --text-dark: #2D3748;
    --white: #FFFFFF;
}

body { background-color: #FAFCFF; color: #1E293B; overflow-x: hidden; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   Base Resets & Typography
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: #FAFCFF; color: #1E293B; overflow-x: hidden; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* Top Ribbon */
.top-ribbon { background-color: var(--trust-blue); color: var(--white); text-align: center; padding: 10px; font-size: 14px; letter-spacing: 0.5px; }
.top-ribbon strong { color: #FFD700; }

/* =========================================
   Base Resets & Typography
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: #FAFCFF; color: #1E293B; overflow-x: hidden; }
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   Header - Ultra Clean & Minimal
   ========================================= */
.header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #F1F5F9; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
img.logo-img { width: auto; height: 50px; }

.nav ul { list-style: none; display: flex; gap: 40px; }
.nav a { text-decoration: none; color: #64748B; font-weight: 600; font-size: 15px; transition: 0.3s; }
/* 🔥 Updated: Nav hover uses new Green-Teal */
.nav a:hover { color: var(--action-green); }

/* =========================================
   Header Auth Links Styling
   ========================================= */
.header-auth { display: flex; align-items: center; gap: 20px; }
.header-login-link { text-decoration: none; color: #64748B; font-weight: 600; font-size: 15px; transition: 0.3s; }
/* 🔥 Updated: Login link hover uses new vibrant Green-Teal */
.header-login-link:hover { color: var(--action-green); }

/* 🔥 Updated: Signup link uses new dynamic Green-Teal */
.header-signup-link { text-decoration: none; background: rgba(4, 145, 138, 0.1); color: var(--action-green); padding: 8px 18px; border-radius: 50px; font-weight: 700; font-size: 14px; transition: 0.3s; border: 1px solid rgba(4, 145, 138, 0.3); }
.header-signup-link:hover { background: var(--action-green); color: #FFF; box-shadow: 0 4px 10px rgba(4, 145, 138, 0.3); transform: translateY(-1px); }

/* Mobile Adjustment for Auth Links */
@media (max-width: 768px) {
    .header-flex { gap: 15px; }
    .header-auth { order: 3; width: 100%; justify-content: center; gap: 15px; margin-top: 10px; border-top: 1px dashed #E2E8F0; padding-top: 10px; }
    .donate-btn-header { order: 4; margin-top: 10px; }
}

.donate-btn-header { background: #0F172A; color: #FFF; padding: 10px 24px; border-radius: 50px; font-weight: 700; text-decoration: none; transition: 0.3s; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2); }
/* 🔥 Updated: Button hover uses new Green-Teal & Glow */
.donate-btn-header:hover { background: var(--action-green); box-shadow: 0 6px 15px rgba(4, 145, 138, 0.3); transform: translateY(-2px); }

/* =========================================
   Modern Bento Hero Section & BG ANIMATIONS
   ========================================= */
.hero-bento { 
    padding: 80px 0 100px; 
    position: relative; 
    overflow: hidden; /* Very Important: Taaki animation screen se bahar na nikle */
}

/* Background Wrapper */
.animated-bg-elements {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1; /* Content ke peeche rakhne ke liye */
    pointer-events: none; /* Click block ना करें */
}

/* 1. Moving Tech Grid Overlay */
.grid-overlay {
    position: absolute; 
    width: 200%; height: 200%;
    /* 🔥 Updated: grid-overlay lines use new Green-Teal */
    background-image: 
        linear-gradient(rgba(4, 145, 138, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 145, 138, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: panGrid 30s linear infinite;
    transform: rotate(-10deg) translateY(-20%);
}
@keyframes panGrid { 
    0% { background-position: 0 0; } 
    100% { background-position: -50px 50px; } 
}

/* 2. Floating Glowing Orbs */
.glowing-orb { 
    position: absolute; 
    border-radius: 50%; 
    filter: blur(90px); 
    opacity: 0.6; 
}
.orb-1 { 
    width: 450px; height: 450px; 
    /* 🔥 Updated: Orb 1 uses new vibrant Green-Teal */
    background: rgba(4, 145, 138, 0.15); 
    top: -10%; left: -10%; 
    animation: floatOrb 12s ease-in-out infinite alternate; 
}
.orb-2 { 
    width: 600px; height: 600px; 
    /* 🔒 Updated: Orb 2 uses new Deep Trust Blue */
    background: rgba(17, 75, 133, 0.1); 
    bottom: -20%; right: -15%; 
    animation: floatOrb 18s ease-in-out infinite alternate-reverse; 
}
.orb-3 { 
    width: 300px; height: 300px; 
    background: rgba(255, 215, 0, 0.05); /* Gold Hint */
    top: 30%; left: 45%; 
    animation: floatOrb 15s ease-in-out infinite alternate; 
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -60px) scale(1.15); }
}

/* 3. Rising Digital Particles (Data Nodes) */
.digital-particle { 
    position: absolute; 
    width: 6px; height: 6px; 
    /* 🔥 Updated: Digital particles use new vibrant Green-Teal */
    background: var(--action-green); 
    border-radius: 50%; 
    box-shadow: 0 0 12px var(--action-green); 
    opacity: 0; 
}
.p-1 { left: 15%; bottom: 5%; animation: riseUp 7s ease-in infinite 0s; }
/* 🔒 Updated: particle 2 uses new Deep Trust Blue */
.p-2 { left: 45%; bottom: -5%; animation: riseUp 9s ease-in infinite 3s; background: var(--trust-blue); box-shadow: 0 0 12px var(--trust-blue); }
.p-3 { right: 25%; bottom: 15%; animation: riseUp 6s ease-in infinite 1s; }
.p-4 { right: 10%; bottom: 0%; animation: riseUp 8s ease-in infinite 4s; }

@keyframes riseUp {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    30% { opacity: 0.8; }
    70% { opacity: 0.8; }
    100% { transform: translateY(-250px) scale(1.5); opacity: 0; }
}

.hero-bento { padding: 80px 0 100px; position: relative; }
/* Subtle Background Gradients */
/* 🔥 Updated: bg before uses new Green-Teal */
.hero-bento::before { content: ''; position: absolute; top: -10%; left: -10%; width: 400px; height: 400px; background: rgba(4, 145, 138, 0.08); filter: blur(100px); z-index: -1; border-radius: 50%; }
/* 🔒 Updated: bg after uses new Trust Blue */
.hero-bento::after { content: ''; position: absolute; bottom: 0%; right: -5%; width: 500px; height: 500px; background: rgba(17, 75, 133, 0.05); filter: blur(120px); z-index: -1; border-radius: 50%; }

.hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.hero-text-area { width: 50%; min-width: 320px; }
.hero-visual-area { width: 45%; min-width: 320px; display: flex; flex-direction: column; gap: 20px; perspective: 1000px; }

/* =========================================
   Hero Left: Text & Buttons
   ========================================= */
.badge-modern { display: inline-flex; align-items: center; gap: 10px; background: #FFF; border: 1px solid #E2E8F0; padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; color: #0F172A; margin-bottom: 25px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.live-dot { width: 8px; height: 8px; background: #FF0000; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mega-title { font-size: 60px; font-weight: 900; line-height: 1.1; color: #0F172A; margin-bottom: 20px; letter-spacing: -1.5px; }
/* 🔒🔥 Updated: gradient-text uses new Deep Trust Blue and vibrant Green-Teal */
.gradient-text { background: linear-gradient(90deg, var(--trust-blue) 0%, var(--action-green) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 17px; color: #64748B; line-height: 1.7; margin-bottom: 40px; font-weight: 400; max-width: 90%; }

.hero-action-group { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
/* 🔥 Updated: Primary button uses new Green-Teal */
.btn-primary { background: var(--action-green); color: #FFF; padding: 18px 40px; border-radius: 12px; font-size: 18px; font-weight: 800; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 25px rgba(4, 145, 138, 0.3); }
.btn-primary:hover { background: var(--action-green); transform: translateY(-3px); box-shadow: 0 15px 35px rgba(4, 145, 138, 0.4); }
.btn-secondary { background: #FFF; color: #0F172A; padding: 16px 30px; border-radius: 12px; font-size: 16px; font-weight: 700; text-decoration: none; border: 1px solid #E2E8F0; transition: 0.3s; }
.btn-secondary:hover { background: #F8FAFC; border-color: #CBD5E1; }

.trust-line p { font-size: 13px; color: #94A3B8; font-weight: 600; }

/* =========================================
   Hero Right: Bento Box Dashboard
   ========================================= */
.bento-card { background: #FFF; border-radius: 20px; padding: 30px; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04); border: 1px solid #F1F5F9; }
.card-header { font-size: 13px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }

/* Timer Card */
/* 🔒 Updated: Timer card uses new Deep Trust Blue */
.timer-card { background: linear-gradient(135deg, var(--trust-blue) 0%, #0F172A 100%); color: #FFF; border: none; box-shadow: 0 25px 50px rgba(17, 75, 133, 0.2); }
.timer-card .card-header { color: #94A3B8; }
.flip-timer { display: flex; align-items: center; justify-content: space-between; }
.time-box { text-align: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); padding: 15px 20px; border-radius: 12px; width: 30%; }
.time-box span { display: block; font-size: 36px; font-weight: 800; color: #FFF; line-height: 1; margin-bottom: 5px; }
.time-box small { font-size: 11px; text-transform: uppercase; font-weight: 600; color: #94A3B8; }
.colon { font-size: 30px; font-weight: 800; color: #475569; margin: 0 -10px; }

/* =========================================
   Social Proof Avatar Stack
   ========================================= */
.social-proof { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.avatar-group { display: flex; align-items: center; }
.avatar-group img, .avatar-more { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #FAFCFF; margin-left: -12px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); object-fit: cover; }
.avatar-group img:first-child { margin-left: 0; }
.avatar-more { background: #0F172A; color: #FFF; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-left: -12px; z-index: 10; }
.social-proof p { font-size: 14px; color: #64748B; margin: 0; }
.social-proof strong { color: #0F172A; }

/* =========================================
   QR Code Bento Card
   ========================================= */
.qr-card { flex: 0.8; background: #FFF; text-align: center; padding: 20px 15px !important; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qr-wrapper { width: 70px; height: 70px; background: #F1F5F9; padding: 5px; border-radius: 10px; margin-bottom: 10px; border: 1px dashed #CBD5E1; }
.qr-wrapper img { width: 100%; height: 100%; border-radius: 6px; }
.qr-card p { font-size: 12px; color: #64748B; }
/* 🔥 Updated: QR strong text uses new Green-Teal */
.qr-card strong { color: var(--action-green); font-weight: 800; font-size: 14px; display: block; }

/* =========================================
   Glass Reflection on Primary Button
   ========================================= */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); animation: buttonShine 3s infinite;
}
@keyframes buttonShine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

/* Mobile Adjustment for 3 cards in bottom row */
@media (max-width: 768px) {
    .bento-bottom-row { flex-wrap: wrap; }
    .qr-card { flex: 100%; flex-direction: row; gap: 20px; padding: 15px !important; }
    .qr-wrapper { margin-bottom: 0; width: 60px; height: 60px; }
    .qr-card p { text-align: left; }
}

/* Bottom Row Grids */
.bento-bottom-row { display: flex; gap: 20px; }
.ticker-card { flex: 1.5; background: #FFF; overflow: hidden; }
.target-card { flex: 1; background: #F8FAFC; text-align: center; }

/* Ticker Marquee */
.marquee-box { position: relative; overflow: hidden; white-space: nowrap; }
.marquee-box p { font-size: 15px; font-weight: 600; color: #0F172A; animation: marquee 10s linear infinite; }
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* Target Card */
/* 🔥 Updated: Target card text and fill use new Green-Teal */
.target-card h3 { font-size: 24px; font-weight: 900; color: var(--action-green); margin-bottom: 10px; }
.mini-progress { width: 100%; height: 8px; background: #E2E8F0; border-radius: 10px; overflow: hidden; }
.mini-fill { height: 100%; background: var(--action-green); border-radius: 10px; }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.3s; } .delay-3 { animation-delay: 0.5s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-flex { flex-direction: column; height: auto; padding: 20px 0; gap: 20px; }
    .hero-grid { flex-direction: column; text-align: center; }
    .hero-text-area, .hero-visual-area { width: 100%; }
    .mega-title { font-size: 45px; }
    .hero-action-group { justify-content: center; }
    .bento-bottom-row { flex-direction: column; }
}

/* =========================================
   LIVE MISSION CONTROL (DARK DASHBOARD)
   ========================================= */
.mission-control {
    background-color: #050B14; /* Deep Cyber Black */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #FFF;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 1. Ambient Glowing Background */
.ambient-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
}
.neon-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4;
}
.orb-green {
    width: 400px; height: 400px; background: #00FF1A; top: -10%; left: -5%;
    animation: pulseOrb 8s infinite alternate;
}
.orb-blue {
    width: 500px; height: 500px; background: #0044FF; bottom: -20%; right: -10%;
    animation: pulseOrb 10s infinite alternate-reverse;
}
@keyframes pulseOrb { 0% { transform: scale(1); opacity: 0.3; } 100% { transform: scale(1.3); opacity: 0.5; } }

.cyber-grid {
    position: absolute; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: moveGrid 10s linear infinite;
}
@keyframes moveGrid { to { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); } }

/* Header */
.control-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 10; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 0, 0, 0.15); border: 1px solid rgba(255, 0, 0, 0.3); color: #FF3333; padding: 6px 15px; border-radius: 50px; font-size: 12px; font-weight: 800; letter-spacing: 2px; margin-bottom: 15px; }
.blink-dot { width: 8px; height: 8px; background: #FF3333; border-radius: 50%; box-shadow: 0 0 10px #FF3333; animation: blink 1s infinite; }
.control-header h2 { font-size: 42px; font-weight: 900; letter-spacing: -1px; }
/* 🔥 Updated: text-glow uses new dynamic Green-Teal sampled from logo right */
.text-glow { color: var(--action-green); text-shadow: 0 0 20px rgba(4, 145, 138, 0.4); }

/* =========================================
   Dark Glassmorphism Grid
   ========================================= */
.bento-dark-grid {
    display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 10;
}
.dark-card {
    flex: 1; min-width: 320px;
    background: rgba(255, 255, 255, 0.03); /* Deep Frosted Glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.dark-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    /* 🔥 Updated: Dark card hover border and shadow use new Green-Teal */
    border-color: rgba(4, 145, 138, 0.3); /* Green-Teal glow on hover */
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 30px rgba(4, 145, 138, 0.1);
}

.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }
.card-top h5 { font-size: 13px; font-weight: 700; color: #94A3B8; letter-spacing: 2px; }

/* 1. Terminal Card (Notices) */
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; background: #475569; }
.terminal-dots span:nth-child(1) { background: #EF4444; }
.terminal-dots span:nth-child(2) { background: #F59E0B; }
.terminal-dots span:nth-child(3) { background: #10B981; }

.terminal-feed { font-family: monospace; display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.feed-item { background: rgba(0,0,0,0.4); padding: 15px; border-radius: 8px; border-left: 2px solid #334155; }
.time-stamp { color: #64748B; font-size: 12px; margin-right: 8px; }
.alert-type { font-weight: bold; font-size: 12px; margin-right: 8px; }
/* 🔥🔒 Updated: Alerts use new theme colors. Green-Teal for SYS_UPDATE, and Deep Trust Blue for PAYMENT_GATEWAY. */
.text-green { color: var(--action-green); } .text-gold { color: #FFD700; } .text-blue { color: var(--trust-light); }
.feed-item p { font-size: 13px; color: #CBD5E1; margin-top: 5px; line-height: 1.5; }

/* 🔥 Updated: cyber-btn border and text use new Green-Teal */
.cyber-btn { width: 100%; background: transparent; border: 1px solid rgba(4, 145, 138, 0.5); color: var(--action-green); padding: 12px; border-radius: 8px; font-family: monospace; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
/* 🔥 Updated: cyber-btn hover uses new Green-Teal & Glow */
.cyber-btn:hover { background: rgba(4, 145, 138, 0.1); box-shadow: 0 0 15px rgba(4, 145, 138, 0.2); }

/* 2. Leaderboard Card */
.icon-glow { font-size: 20px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.leader-list { display: flex; flex-direction: column; gap: 12px; }
.leader-row { display: flex; align-items: center; background: rgba(255,255,255,0.02); padding: 15px; border-radius: 12px; transition: 0.3s; border: 1px solid transparent; }
.leader-row:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.rank-1 { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent); border-left: 2px solid #FFD700; }

.rank-badge { width: 35px; height: 35px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #94A3B8; margin-right: 15px; }
.rank-1 .rank-badge { background: #FFD700; color: #000; box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }

.leader-details { flex-grow: 1; display: flex; flex-direction: column; }
.leader-details strong { font-size: 15px; color: #FFF; display: flex; align-items: center; gap: 5px; }
.leader-details span { font-size: 12px; color: #64748B; }
.crown { font-size: 14px; filter: drop-shadow(0 0 5px #FFD700); }
.leader-amt { font-size: 16px; font-weight: 800; font-family: monospace; }

/* 3. Radar / Stats Card */
.radar-visual { display: flex; justify-content: center; padding: 30px 0; }
.spin-ring-wrapper { position: relative; width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }

/* The Glowing Spinning Ring Magic */
/* 🔥 Updated: spin-ring color gradient uses new Green-Teal */
.spin-ring {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(4, 145, 138, 0.1) 60%, var(--action-green) 100%);
    animation: spin 2s linear infinite;
}
.spin-ring::before {
    content: ''; position: absolute; inset: 4px; background: #050B14; border-radius: 50%; /* Cuts out the center to make it a ring */
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.ring-center { position: relative; z-index: 2; text-align: center; }
.ring-center h3 { font-size: 42px; font-weight: 900; color: #FFF; line-height: 1; }
/* 🔥 Updated: ring-center subtitle uses new Green-Teal */
.ring-center span { font-size: 11px; color: var(--action-green); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

.recent-joiner { display: flex; align-items: center; gap: 15px; background: rgba(0,0,0,0.5); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.joiner-avatar { position: relative; }
.joiner-avatar img { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #FFF; position: relative; z-index: 2; }
/* 🔥 Updated: joiner-avatar pulse ring uses new Green-Teal */
.pulse-ring { position: absolute; top: -5px; left: -5px; width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--action-green); animation: avatarPulse 2s infinite; }
@keyframes avatarPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.joiner-info { display: flex; flex-direction: column; }
/* 🔥 Updated: joiner-info subtitle uses new Green-Teal */
.joiner-info span { font-size: 11px; color: var(--action-green); font-weight: bold; text-transform: uppercase; margin-bottom: 3px; }
.joiner-info strong { font-size: 14px; color: #FFF; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .bento-dark-grid { flex-direction: column; }
    .dark-card { width: 100%; }
}

/* Live Ticker (Absolute positioned inside Hero) */
.live-ticker { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.4); padding: 12px 0; z-index: 20; overflow: hidden; white-space: nowrap; }
.ticker-content { display: inline-block; animation: scrollTicker 20s linear infinite; color: var(--white); font-weight: 300; font-size: 14px; }
.ticker-content span { margin-right: 50px; }
@keyframes scrollTicker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* Urgency Timer */
.timer-box { background: rgba(0,0,0,0.2); border-radius: 10px; padding: 15px 30px; display: inline-block; margin-bottom: 30px; border: 1px solid rgba(255,255,255,0.1); }
.timer-title { font-size: 14px; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; color: #FFD700 !important; font-weight: 600; }
.countdown { display: flex; gap: 20px; justify-content: center; }
.time-block { font-size: 12px; text-transform: uppercase; }
.time-block span { display: block; font-size: 32px; font-weight: 800; background: var(--white); color: var(--trust-blue); padding: 10px 15px; border-radius: 8px; margin-bottom: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* CTA Button */
/* 🔥 Updated: CTA button uses new Green-Teal */
.cta-button { display: inline-block; background-color: var(--action-green); color: var(--white); padding: 20px 50px; font-size: 22px; font-weight: 700; border-radius: 8px; text-decoration: none; transition: transform 0.3s; margin-bottom: 15px; }
.cta-button:hover { transform: translateY(-3px) scale(1.02); }
.secure-text { font-size: 12px; opacity: 0.7; }

/* Floating Shapes */
.floating-shape { position: absolute; background: rgba(255,255,255,0.03); border-radius: 50%; z-index: 1; }
.shape-1 { width: 400px; height: 400px; top: -100px; left: -100px; animation: float 6s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; bottom: -50px; right: 5%; animation: float 8s ease-in-out infinite reverse; }

/* Animations */
.slide-down { animation: slideDown 0.8s forwards; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.fade-in-up { opacity: 0; transform: translateY(40px); animation: fadeInUp 1s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.pulse-anim { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
/* 🔥 Updated: glow-anim uses new action-glow from Green-Teal */
.glow-anim { box-shadow: 0 0 15px var(--action-glow); animation: glow 2s infinite alternate; }
@keyframes glow { from { box-shadow: 0 0 10px var(--action-glow); } to { box-shadow: 0 0 30px var(--action-glow); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; }


/* Basic Responsive Media Queries */
@media(max-width: 768px) {
    .header-flex { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
    .hero-content h2 { font-size: 36px; }
    .vision-card, .step-card { width: 100%; }
    .share-flex { text-align: center; justify-content: center; gap: 20px; }
    .footer-flex { flex-direction: column; }
    .footer-about { width: 100%; }
}

/* Responsive Adjustments */
@media(max-width: 768px) {
    .impact-item { width: 100%; }
    .floating-whatsapp { bottom: 20px; right: 20px; padding: 10px 20px; font-size: 14px; }
}

/* =========================================
   ULTIMATE VILLAGE LEADERBOARD
   ========================================= */
.mega-leaderboard-section {
    padding: 100px 0;
    background-color: #FAFCFF; /* Premium clean white/light blue */
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Background Floating Elements */
.lb-bg-anim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.floating-circle { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.3; }
.c-1 { width: 300px; height: 300px; background: #FFD700; top: -50px; right: -50px; animation: floatLB 10s infinite alternate; }
/* 🔥 Updated: c-2 floating circle uses new vibrant Green-Teal */
.c-2 { width: 400px; height: 400px; background: var(--action-green); bottom: -100px; left: -100px; animation: floatLB 15s infinite alternate-reverse; }
@keyframes floatLB { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.2); } }

/* Header & Tabs */
.lb-header { text-align: center; max-width: 700px; margin: 0 auto 40px; position: relative; z-index: 10; }
.live-tracker-badge { display: inline-flex; align-items: center; gap: 8px; background: #FEE2E2; color: #DC2626; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 800; letter-spacing: 1px; border: 1px solid #FCA5A5; margin-bottom: 15px; }
.pulse-dot { width: 8px; height: 8px; background: #DC2626; border-radius: 50%; box-shadow: 0 0 10px #DC2626; animation: blinkFast 1s infinite; }
@keyframes blinkFast { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.lb-header h2 { font-size: 42px; font-weight: 900; color: #0F172A; margin-bottom: 15px; letter-spacing: -1px; }
.lb-header p { font-size: 15px; color: #64748B; margin-bottom: 30px; }

/* Interactive Tabs */
.lb-tabs { display: flex; justify-content: center; gap: 10px; background: #FFF; padding: 6px; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: inline-flex; border: 1px solid #E2E8F0; }
.tab-btn { background: transparent; border: none; padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 700; color: #64748B; cursor: pointer; transition: 0.3s; }
.tab-btn.active { background: #0F172A; color: #FFF; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2); }
.tab-btn:hover:not(.active) { background: #F1F5F9; color: #0F172A; }

/* Leaderboard Container */
.lb-container { display: flex; flex-direction: column; gap: 15px; position: relative; z-index: 10; max-width: 950px; margin: 0 auto; }

/* Individual Row Design (Bento + Data) */
.lb-row { 
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    background: #FFF; padding: 20px 25px; border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    border: 1px solid #F1F5F9; position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.lb-row:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); border-color: #CBD5E1; }

/* Rank 1 Highlight & Shimmer */
.champ-row { background: linear-gradient(90deg, #FFFBEB 0%, #FFFFFF 100%); border: 1px solid #FDE68A; box-shadow: 0 15px 35px rgba(245, 158, 11, 0.1); }
.champ-row:hover { box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2); border-color: #F59E0B; }
.shimmer-box { position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shimmer 4s infinite; z-index: 1; pointer-events: none; }
@keyframes shimmer { 0% { left: -150%; } 20% { left: 200%; } 100% { left: 200%; } }

/* Columns Breakdown */
.lb-rank-col { display: flex; flex-direction: column; align-items: center; width: 60px; z-index: 2; }
.rank-badge-3d { width: 45px; height: 45px; background: linear-gradient(135deg, #FDE047, #F59E0B); color: #000; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 20px; font-weight: 900; box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4), inset 0 2px 5px rgba(255,255,255,0.5); border: 1px solid #FEF08A; }
.silver { background: linear-gradient(135deg, #E2E8F0, #94A3B8); box-shadow: 0 5px 15px rgba(148, 163, 184, 0.4); border-color: #FFF; }
.bronze { background: linear-gradient(135deg, #FDBA74, #D97706); box-shadow: 0 5px 15px rgba(217, 119, 6, 0.4); border-color: #FFEDD5; color: #FFF; }

.trend { font-size: 11px; font-weight: 800; margin-top: 5px; }
.trend.up { color: #16A34A; } .trend.down { color: #DC2626; }

.lb-info-col { flex: 2; z-index: 2; }
.v-name { font-size: 22px; font-weight: 900; color: #0F172A; margin-bottom: 5px; display: flex; align-items: center; }
.crown-dance { font-size: 22px; margin-left: 8px; animation: crownDance 2s ease-in-out infinite; transform-origin: bottom center; }
@keyframes crownDance { 0%, 100% { transform: rotate(0deg) scale(1); } 25% { transform: rotate(-15deg) scale(1.1); } 75% { transform: rotate(15deg) scale(1.1); } }

.v-meta { display: flex; gap: 15px; flex-wrap: wrap; }
.meta-tag { font-size: 12px; color: #64748B; font-weight: 600; display: flex; align-items: center; gap: 5px; background: #F8FAFC; padding: 4px 10px; border-radius: 6px; border: 1px solid #E2E8F0; }
.highlight-hero { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }

.lb-stats-col { flex: 1.5; z-index: 2; }
.stat-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.stat-amt { font-size: 16px; font-weight: 800; color: #0F172A; }
.stat-percent { font-size: 13px; font-weight: 800; color: #64748B; }
.lb-progress { width: 100%; height: 8px; background: #E2E8F0; border-radius: 10px; overflow: hidden; }
.lb-fill { height: 100%; border-radius: 10px; animation: fillBar 1.5s ease-out forwards; }
@keyframes fillBar { 0% { width: 0%; } }
.fill-gold { background: linear-gradient(90deg, #FDE047, #F59E0B); }
.fill-silver { background: linear-gradient(90deg, #CBD5E1, #64748B); }
.fill-bronze { background: linear-gradient(90deg, #FDBA74, #D97706); }

.lb-action-col { z-index: 2; }
.boost-btn { display: inline-flex; align-items: center; gap: 8px; background: #F1F5F9; color: #0F172A; font-weight: 800; padding: 12px 25px; border-radius: 10px; text-decoration: none; transition: 0.3s; border: 1px solid #E2E8F0; }
.gold-boost { background: #FFD700; border-color: #F59E0B; box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3); }
.boost-btn:hover { background: #0F172A; color: #FFF; border-color: #0F172A; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2); }
.boost-btn:hover .rocket { animation: flyRocket 0.5s ease forwards; }
@keyframes flyRocket { 0% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.2); } 100% { transform: translateY(-20px) scale(0); opacity: 0; } }

/* Footer Button */
.lb-footer { text-align: center; margin-top: 40px; position: relative; z-index: 10; }
/* 🔥 Updated: view-all-btn text and border use new Green-Teal */
.view-all-btn { background: transparent; color: var(--action-green); font-size: 16px; font-weight: 800; border: none; cursor: pointer; border-bottom: 2px solid var(--action-green); padding-bottom: 2px; transition: 0.3s; }
.view-all-btn:hover { color: #0F172A; border-color: #0F172A; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .lb-row { flex-direction: column; align-items: flex-start; text-align: left; gap: 15px; }
    .lb-rank-col { flex-direction: row; gap: 15px; width: 100%; align-items: center; border-bottom: 1px dashed #E2E8F0; padding-bottom: 10px; }
    .lb-info-col, .lb-stats-col, .lb-action-col { width: 100%; }
    .boost-btn { width: 100%; justify-content: center; }
}

/* =========================================
   TOP 10 DONORS (VIP HALL OF FAME)
   ========================================= */
.vip-donors-section {
    padding: 100px 0;
    /* 🔒 Updated: Dark section background uses deeper black context than deeper blue */
    background-color: #050B14; /* Premium VIP Cyber Black */
    position: relative;
    overflow: hidden;
    color: #FFF;
}
.vip-bg-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}

.vip-header { text-align: center; max-width: 600px; margin: 0 auto 60px; position: relative; z-index: 10; }
.vip-tag { display: inline-block; background: rgba(255, 215, 0, 0.1); color: #FFD700; border: 1px solid rgba(255, 215, 0, 0.3); padding: 5px 15px; border-radius: 50px; font-size: 12px; font-weight: 800; letter-spacing: 2px; margin-bottom: 15px; }
.vip-header h2 { font-size: 42px; font-weight: 900; margin-bottom: 15px; }
.text-gold { color: #FFD700; text-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
.vip-header p { font-size: 15px; color: #94A3B8; }

/* =========================================
   THE 3D PODIUM
   ========================================= */
.podium-container {
    display: flex; justify-content: center; align-items: flex-end; /* Niche se align karne ke liye */
    gap: 15px; margin-bottom: 60px; position: relative; z-index: 10;
    min-height: 350px;
}
.podium-item { display: flex; flex-direction: column; align-items: center; width: 30%; max-width: 200px; }

/* Podium Avatars */
.avatar-box { position: relative; width: 100px; height: 100px; border-radius: 50%; margin-bottom: 20px; transition: 0.3s; }
.avatar-box img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #1E293B; }
.medal { position: absolute; bottom: -10px; right: -5px; font-size: 28px; filter: drop-shadow(0 4px 5px rgba(0,0,0,0.5)); }

/* Rank Specific Avatar Styling */
.gold-border img { border-color: #FFD700; box-shadow: 0 0 25px rgba(255, 215, 0, 0.5); }
.silver-border img { border-color: #E2E8F0; box-shadow: 0 0 15px rgba(226, 232, 240, 0.3); }
.bronze-border img { border-color: #D97706; box-shadow: 0 0 15px rgba(217, 119, 6, 0.3); }

/* Rank 1 Crown & Animation */
.gold-crown { position: absolute; top: -35px; left: 50%; transform: translateX(-50%); font-size: 35px; filter: drop-shadow(0 0 10px #FFD700); animation: floatCrown 2s infinite alternate; z-index: 5; }
@keyframes floatCrown { 0% { top: -30px; } 100% { top: -40px; } }
.place-1 { z-index: 10; animation: floatPodium 4s ease-in-out infinite; }
@keyframes floatPodium { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Podium Info */
.podium-info { text-align: center; margin-bottom: 15px; }
.podium-info h4 { font-size: 16px; font-weight: 800; color: #FFF; margin-bottom: 3px; }
.v-tag { font-size: 11px; color: #94A3B8; text-transform: uppercase; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
.amt { font-size: 20px; font-weight: 900; font-family: monospace; }
.gold-text { color: #FFD700; } .silver-text { color: #E2E8F0; } .bronze-text { color: #FDBA74; }

/* The Physical Steps */
.podium-step { width: 100%; background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%); border-top: 3px solid; border-radius: 12px 12px 0 0; position: relative; overflow: hidden; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); }
.step-1 { height: 160px; border-color: #FFD700; background: linear-gradient(180deg, rgba(255,215,0,0.15) 0%, #0F172A 100%); }
.step-2 { height: 120px; border-color: #E2E8F0; }
.step-3 { height: 90px; border-color: #D97706; }

/* Rank 1 Shine effect */
.shine-effect { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,215,0,0.2), transparent); animation: sweepShine 3s infinite; transform: skewX(-20deg); }
@keyframes sweepShine { 100% { left: 200%; } }

/* =========================================
   THE ELITE LIST (Rank 4 to 10)
   ========================================= */
.elite-list-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
    position: relative; z-index: 10;
}

.elite-card {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px; border-radius: 12px; transition: 0.3s; cursor: default;
}
/* 🔥 Updated: elite-card border hover uses new Green-Teal glow */
.elite-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(4, 145, 138, 0.4); transform: translateX(5px); }

.rank-num-box { width: 35px; height: 35px; background: rgba(255,255,255,0.1); color: #94A3B8; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-weight: 800; font-size: 14px; margin-right: 15px; }
.elite-avatar { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #334155; margin-right: 15px; object-fit: cover; }

.elite-details { flex-grow: 1; }
.elite-details h4 { font-size: 15px; color: #FFF; font-weight: 700; margin-bottom: 2px; }
.elite-details span { font-size: 12px; color: #64748B; }

/* 🔥 Updated: elite-amt uses new Green-Teal */
.elite-amt { font-size: 16px; font-weight: 800; color: var(--action-green); font-family: monospace; }

/* Footer Button */
.vip-footer { text-align: center; margin-top: 50px; position: relative; z-index: 10; }
.join-vip-btn { display: inline-block; background: linear-gradient(90deg, #FFD700, #F59E0B); color: #000; font-size: 18px; font-weight: 900; padding: 18px 40px; border-radius: 50px; text-decoration: none; box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3); transition: 0.3s; text-transform: uppercase; }
.join-vip-btn:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5); }

/* Mobile Adjustment */
@media (max-width: 768px) {
    .podium-container { align-items: flex-end; min-height: 250px; }
    .avatar-box { width: 60px; height: 60px; }
    .gold-crown { font-size: 25px; top: -25px; }
    .medal { font-size: 20px; right: -8px; bottom: -5px; }
    .podium-info h4 { font-size: 12px; }
    .v-tag { font-size: 9px; padding: 2px 5px; }
    .amt { font-size: 14px; }
    .step-1 { height: 120px; } .step-2 { height: 90px; } .step-3 { height: 70px; }
}

/* =========================================
   MISSION ROADMAP (WHITE TECH THEME)
   ========================================= */
.mission-roadmap-section {
    padding: 100px 0;
    background-color: #FFFFFF; /* Pure White */
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

/* Very subtle background dot grid for premium feel */
.roadmap-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#E2E8F0 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.mission-roadmap-section .container { position: relative; z-index: 10; max-width: 900px; margin: 0 auto; }

/* Header */
.roadmap-header { text-align: center; margin-bottom: 50px; }
.tech-pill { display: inline-block; background: #F0FDF4; border: 1px solid #BBF7D0; color: #16A34A; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.roadmap-header h2 { font-size: 42px; font-weight: 900; color: #0F172A; letter-spacing: -1px; margin-bottom: 15px; }
/* 🔥 updated: text-green-gradient uses new dynamic Green-Teal context */
.text-green-gradient { background: linear-gradient(90deg, var(--action-green), #10B981); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.roadmap-header p { font-size: 16px; color: #64748B; margin-bottom: 30px; }

/* Apple-Style Segmented Control Tabs */
.segmented-control { display: inline-flex; position: relative; background: #F1F5F9; padding: 6px; border-radius: 12px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.segmented-control input[type="radio"] { display: none; }
.segment-label { position: relative; z-index: 2; padding: 10px 25px; font-size: 15px; font-weight: 700; color: #64748B; cursor: pointer; transition: 0.3s; border-radius: 8px; }
.segment-slider { position: absolute; top: 6px; bottom: 6px; width: calc(50% - 6px); background: #FFF; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); z-index: 1; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }

/* Slider Logic */
#tab-1:checked ~ .segment-slider { transform: translateX(0); }
#tab-2:checked ~ .segment-slider { transform: translateX(100%); }
#tab-1:checked ~ label[for="tab-1"] { color: #0F172A; }
#tab-2:checked ~ label[for="tab-2"] { color: #0F172A; }

/* =========================================
   TIMELINE UI
   ========================================= */
.timeline-wrapper { position: relative; padding-left: 40px; margin-top: 40px; }

/* The Drawing Line Animation */
.timeline-line { position: absolute; top: 0; left: 15px; width: 4px; height: 100%; background: #E2E8F0; border-radius: 10px; overflow: hidden; }
.timeline-line::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* 🔥🔒 Updated: line uses new vibrant Green-Teal and Trust Blue gradients */
    background: linear-gradient(180deg, var(--action-green), var(--trust-light));
    transform: translateY(-100%);
    animation: drawLine 2s ease-out forwards;
}
@keyframes drawLine { to { transform: translateY(0); } }

.completed-line::after { background: #94A3B8; } /* Grey line for past events */

.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }

/* Timeline Nodes (Dots) */
.timeline-node { position: absolute; top: 20px; left: -40px; width: 34px; height: 34px; background: #FFF; border: 4px solid #E2E8F0; border-radius: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; }
/* 🔥 Updated: pulse-green uses new vibrant Green-Teal and glow context */
.pulse-green { border-color: var(--action-green); box-shadow: 0 0 0 0 rgba(4, 145, 138, 0.4); animation: pulseNode 2s infinite; }
/* 🔥 Updated: node-inner uses new vibrant Green-Teal */
.node-inner { width: 12px; height: 12px; background: var(--action-green); border-radius: 50%; }
.node-blue { border-color: #3B82F6; }
.node-grey { border-color: #94A3B8; color: #94A3B8; font-weight: bold; font-size: 14px; }
@keyframes pulseNode { 70% { box-shadow: 0 0 0 15px rgba(4, 145, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(4, 145, 138, 0); } }

/* =========================================
   EVENT CARDS
   ========================================= */
.roadmap-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    border: 1px solid #F1F5F9;
    margin-left: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}
.roadmap-card::before {
    /* Arrow pointing to timeline */
    content: ''; position: absolute; top: 28px; left: -8px; width: 15px; height: 15px;
    background: #FFF; border-left: 1px solid #F1F5F9; border-bottom: 1px solid #F1F5F9;
    transform: rotate(45deg);
}

/* 🔥 Updated: card hover border uses new Green-Teal glow */
.roadmap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: var(--action-green);
}

/* Card Header */
.card-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.date-badge { background: #F8FAFC; color: #0F172A; font-weight: 800; padding: 6px 12px; border-radius: 8px; font-size: 14px; border: 1px solid #E2E8F0; }
.blue-badge { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.grey-badge { background: #F1F5F9; color: #475569; }

/* Live Countdown */
.live-countdown { display: flex; align-items: center; gap: 8px; background: #FEF2F2; border: 1px solid #FECACA; padding: 6px 12px; border-radius: 8px; color: #DC2626; }
.mono-timer { font-family: monospace; font-weight: 800; font-size: 14px; letter-spacing: 1px; }

.status-tag { font-size: 11px; font-weight: 800; color: #64748B; letter-spacing: 1px; text-transform: uppercase; }
.text-success { color: #16A34A; }

/* Card Body */
.card-main-body h3 { font-size: 24px; font-weight: 800; color: #0F172A; margin-bottom: 10px; }
.card-main-body p { font-size: 15px; color: #64748B; line-height: 1.6; margin-bottom: 25px; }

/* Capacity Tracker UI */
.capacity-tracker { background: #F8FAFC; padding: 15px; border-radius: 12px; border: 1px solid #E2E8F0; margin-bottom: 20px; }
.cap-header { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
/* 🔥 Updated: cap-percent uses new vibrant Green-Teal context */
.cap-percent { color: var(--action-green); font-family: monospace; font-size: 14px; }
.cap-bar-bg { width: 100%; height: 8px; background: #E2E8F0; border-radius: 10px; overflow: hidden; margin-bottom: 8px; }
/* 🔥 Updated: cap-bar-fill uses new vibrant Green-Teal gradient */
.cap-bar-fill { height: 100%; background: linear-gradient(90deg, var(--action-green), #10B981); border-radius: 10px; animation: fillCapacity 1.5s ease-out forwards; }
.fill-blue { background: linear-gradient(90deg, #3B82F6, #2563EB); }
@keyframes fillCapacity { 0% { width: 0%; } }
.cap-alert { font-size: 12px; color: #EA580C; font-weight: 700; }

/* Card Footer Actions */
.card-footer-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #E2E8F0; padding-top: 20px; flex-wrap: wrap; gap: 15px; }
.location-tag { font-size: 13px; color: #64748B; font-weight: 600; }
.btn-group { display: flex; gap: 10px; }
.icon-btn { background: #F1F5F9; border: 1px solid #E2E8F0; font-size: 16px; padding: 10px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.icon-btn:hover { background: #E2E8F0; }
/* 🔥 Updated: primary-action-btn uses new Green-Teal and Glow context */
.primary-action-btn { background: var(--action-green); color: #FFF; padding: 10px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s; box-shadow: 0 4px 15px rgba(4, 145, 138, 0.2); }
.primary-action-btn:hover { background: var(--action-green); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(4, 145, 138, 0.3); }
.secondary-action-btn { background: transparent; color: #0F172A; border: 2px solid #E2E8F0; padding: 8px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s; }
.secondary-action-btn:hover { border-color: #0F172A; }

/* Past Card Specifics */
.past-card-style { background: #FAFAFA; border-color: #E2E8F0; }
.past-card-style:hover { border-color: #94A3B8; transform: translateY(0); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03); }
.impact-metric { display: flex; align-items: center; gap: 15px; background: #F0FDF4; border: 1px solid #BBF7D0; padding: 12px 20px; border-radius: 12px; }
.impact-icon { font-size: 24px; }
.impact-text { display: flex; flex-direction: column; }
.impact-text strong { font-size: 14px; color: #16A34A; font-weight: 800; }
.impact-text span { font-size: 12px; color: #15803D; }

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .timeline-wrapper { padding-left: 30px; }
    .timeline-line { left: 10px; }
    .timeline-node { left: -32px; width: 28px; height: 28px; }
    .roadmap-card { margin-left: 10px; padding: 20px; }
    .card-top-bar { flex-direction: column; align-items: flex-start; }
    .card-footer-actions { flex-direction: column; align-items: flex-start; }
    .btn-group { width: 100%; }
    .primary-action-btn, .secondary-action-btn { flex-grow: 1; text-align: center; }
}

/* =========================================
   NGO IMPACT SHOWCASE (DARK CINEMATIC)
   ========================================= */
.ngo-impact-section {
    padding: 120px 0;
    background-color: #070B19; /* Deep Midnight Blue - VERY NGO */
    color: #FFF;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}
.relative-z { position: relative; z-index: 10; }

/* 1. ANIMATION: Glowing Fireflies (Jugnu effect) */
.firefly-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.firefly { position: absolute; width: 4px; height: 4px; background: #FFD700; border-radius: 50%; box-shadow: 0 0 10px 2px #FFD700; opacity: 0; animation: floatUp 8s ease-in-out infinite; }
.f1 { left: 10%; bottom: -10px; animation-delay: 0s; animation-duration: 9s; }
/* 🔥 Updated: F2 and F4 fireflies use new vibrant Green-Teal with glow */
.f2 { left: 30%; bottom: -10px; animation-delay: 2s; animation-duration: 12s; background: var(--action-green); box-shadow: 0 0 10px 2px rgba(4, 145, 138, 0.4);}
.f3 { left: 60%; bottom: -10px; animation-delay: 4s; animation-duration: 10s; }
.f4 { left: 80%; bottom: -10px; animation-delay: 1s; animation-duration: 11s; background: var(--action-green); box-shadow: 0 0 10px 2px rgba(4, 145, 138, 0.4);}
.f5 { left: 95%; bottom: -10px; animation-delay: 3s; animation-duration: 8s; }
@keyframes floatUp { 
    0% { transform: translateY(0) translateX(0); opacity: 0; } 
    20% { opacity: 0.8; } 
    80% { opacity: 0.8; } 
    100% { transform: translateY(-800px) translateX(50px); opacity: 0; } 
}

/* Header */
.impact-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
/* 🔥 Updated: ngo-tag uses new vibrant Green-Teal and glow context */
.ngo-tag { display: inline-block; background: rgba(4, 145, 138, 0.15); color: var(--action-green); border: 1px solid rgba(4, 145, 138, 0.4); padding: 6px 15px; border-radius: 50px; font-size: 13px; font-weight: 800; letter-spacing: 2px; margin-bottom: 20px; }
.impact-header h2 { font-size: 48px; font-weight: 900; letter-spacing: -1px; margin-bottom: 15px; }
.text-gold-glow { color: #FFD700; text-shadow: 0 0 25px rgba(255, 215, 0, 0.5); }
.impact-header p { font-size: 16px; color: #94A3B8; line-height: 1.7; }

/* =========================================
   INTERACTIVE IMPACT GALLERY (ACCORDION)
   ========================================= */
.impact-gallery {
    display: flex;
    gap: 15px;
    height: 550px; /* Big cinematic height */
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Individual Card */
.impact-card {
    flex: 1; /* Closed width */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #0F172A;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Image & Overlay */
.impact-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; filter: grayscale(80%) brightness(0.6); }
.impact-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(7,11,25,1) 0%, rgba(7,11,25,0.2) 100%); transition: 0.6s ease; }

/* Hover Physics */
.impact-card:hover, .impact-card.active-card { flex: 4; border-color: #FFD700; box-shadow: 0 15px 50px rgba(255, 215, 0, 0.15); }
.impact-card:hover .impact-img, .impact-card.active-card .impact-img { filter: grayscale(0%) brightness(1); transform: scale(1.05); }
.impact-card:hover .impact-overlay, .impact-card.active-card .impact-overlay { background: linear-gradient(90deg, rgba(7,11,25,0.95) 0%, rgba(7,11,25,0.3) 100%); }

/* Collapsed Title (Vertical) */
.collapsed-title { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 300px; text-align: center; transition: 0.4s ease; }
.collapsed-title h3 { font-size: 16px; font-weight: 800; color: #FFF; letter-spacing: 2px; transform: rotate(-90deg); white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 10px; }
.collapsed-title .icon { font-size: 20px; transform: rotate(90deg); /* Icon ko sidha rakhne ke liye */ }

/* Expanded Content */
.expanded-content { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateX(-40px); transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); pointer-events: none; }
.impact-card:hover .collapsed-title, .impact-card.active-card .collapsed-title { opacity: 0; pointer-events: none; }
.impact-card:hover .expanded-content, .impact-card.active-card .expanded-content { opacity: 1; transform: translateX(0); pointer-events: auto; }

/* Content Details */
/* 🔥 Updated: status-live tag and border use new Green-Teal and glow context */
.status-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--action-green); background: rgba(4, 145, 138, 0.1); padding: 6px 12px; border-radius: 5px; margin-bottom: 15px; letter-spacing: 1px; border: 1px solid rgba(4, 145, 138, 0.3); }
/* 🔥 Updated: status-live .dot uses new dynamic Green-Teal */
.status-live .dot { width: 6px; height: 6px; background: var(--action-green); border-radius: 50%; animation: blink 1s infinite; }

.expanded-content h2 { font-size: 36px; font-weight: 900; color: #FFF; margin-bottom: 15px; line-height: 1.1; }
.expanded-content p { font-size: 15px; color: #CBD5E1; max-width: 450px; line-height: 1.6; margin-bottom: 30px; }

/* Impact Metrics Box */
.impact-metrics { display: flex; gap: 25px; margin-bottom: 35px; border-left: 3px solid #FFD700; padding-left: 20px; }
.metric { display: flex; flex-direction: column; }
.metric strong { font-size: 24px; font-weight: 900; color: #FFD700; line-height: 1; margin-bottom: 5px; }
.metric span { font-size: 12px; color: #94A3B8; text-transform: uppercase; font-weight: 600; }

.btn-impact-gold { align-self: flex-start; background: #FFD700; color: #000; font-weight: 800; font-size: 15px; padding: 12px 30px; border-radius: 8px; text-decoration: none; transition: 0.3s; }
.btn-impact-gold:hover { background: #FFF; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3); }

/* Mobile View Adjustments */
@media (max-width: 900px) {
    .impact-gallery { flex-direction: column; height: 800px; }
    .impact-card { flex: 1; }
    .impact-card:hover, .impact-card.active-card { flex: 3; }
    .collapsed-title { bottom: 50%; left: 30px; transform: translateY(50%); }
    .collapsed-title h3 { transform: rotate(0); }
    .collapsed-title .icon { transform: rotate(0); }
    .expanded-content { padding: 30px 20px; }
    .expanded-content h2 { font-size: 24px; }
}

/* Tax Badge */
.tax-badge { margin-top: 15px; background: #FFFBEB; border: 1px solid #F6E05E; color: #B7791F; padding: 10px; border-radius: 6px; font-size: 13px; font-weight: 600; display: inline-block; }

/* Responsive adjustments */
@media(max-width: 768px) {
    .alloc-part { font-size: 10px; text-align: center; line-height: 1.2; padding: 5px; }
    .leaderboard-flex { flex-direction: column; }
    .leaderboard-text, .leaderboard-card { width: 100%; text-align: center; }
}

/* =========================================
   Top Utilities (Lang & Dark Mode)
   ========================================= */
.top-utils { display: flex; gap: 15px; position: absolute; right: 20px; top: -45px; z-index: 105; }
.lang-switch, .dark-mode-toggle { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: var(--white); padding: 5px 12px; border-radius: 20px; cursor: pointer; font-size: 12px; font-weight: 700; transition: 0.3s; }
/* 🔒 Updated: Top utils hover uses new Deep Trust Blue */
.lang-switch:hover, .dark-mode-toggle:hover { background: var(--white); color: var(--trust-blue); }

/* =========================================
   COMMUNITY NETWORK (BENTO + ANIMATIONS)
   ========================================= */
.referral-bento-section {
    padding: 100px 0;
    background-color: #FAFCFF; 
    position: relative;
    overflow: hidden;
}
.relative-z { position: relative; z-index: 10; }

/* 1. NEW: White Theme Background Animations */
.bento-bg-anim { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }

/* Moving Dot Grid */
.moving-grid {
    position: absolute; top: 0; left: 0; width: 200%; height: 200%;
    /* 🔥 Updated: moving grid dots use new vibrant Green-Teal and context */
    background-image: radial-gradient(rgba(4, 145, 138, 0.08) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: slideGrid 20s linear infinite;
}
@keyframes slideGrid { 0% { transform: translate(0, 0); } 100% { transform: translate(-30px, -30px); } }

/* Soft Floating Orbs */
.soft-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4; animation: floatOrb 10s infinite alternate ease-in-out; }

/* Header & Layout */
.referral-bento-section .section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; display: flex; flex-direction: column; align-items: center; }
.bento-referral-grid { display: flex; gap: 20px; max-width: 1100px; margin: 0 auto; }
.tree-card { flex: 1.2; display: flex; flex-direction: column; align-items: center; overflow-x: auto; padding-bottom: 40px; }

/* =========================================
   2. FIXED: THE PERFECT ORG TREE CSS
   ========================================= */
.perfect-org-tree { display: flex; justify-content: center; margin-top: 30px; width: 100%; }
.perfect-org-tree ul { padding-top: 30px; position: relative; display: flex; padding-left: 0; justify-content: center; }
.perfect-org-tree li { float: left; text-align: center; list-style-type: none; position: relative; padding: 30px 10px 0 10px; flex: 1; }

/* The Lines (Connectors) using Pseudo-elements */
.perfect-org-tree li::before, .perfect-org-tree li::after {
    content: ''; position: absolute; top: 0; right: 50%;
    border-top: 2px solid #CBD5E1; width: 50%; height: 30px;
}
.perfect-org-tree li::after { right: auto; left: 50%; border-left: 2px solid #CBD5E1; }

/* Remove lines from outer elements */
.perfect-org-tree li:only-child::after, .perfect-org-tree li:only-child::before { display: none; }
.perfect-org-tree li:only-child { padding-top: 0; }
.perfect-org-tree li:first-child::before, .perfect-org-tree li:last-child::after { border: 0 none; }
.perfect-org-tree li:last-child::before { border-right: 2px solid #CBD5E1; border-radius: 0 8px 0 0; }
.perfect-org-tree li:first-child::after { border-radius: 8px 0 0 0; }

/* Connector going down from parent */
.perfect-org-tree ul ul::before {
    content: ''; position: absolute; top: 0; left: 50%;
    border-left: 2px solid #CBD5E1; width: 0; height: 30px; transform: translateX(-50%);
}

/* Individual Tree Nodes */
.tree-node {
    background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px;
    padding: 12px 20px; display: inline-flex; align-items: center; gap: 15px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03); position: relative; z-index: 2;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 180px; text-align: left;
}
/* 🔥 Updated: tree node hover border uses new Green-Teal glow context */
.tree-node:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(4, 145, 138, 0.08); border-color: var(--action-green); }

/* Root Node Specifics */
/* 🔥 Updated: root node border and pulse use new Green-Teal */
.root-node { border-color: var(--action-green); border-width: 2px; padding: 15px 25px; }
.node-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; border-radius: 12px; border: 2px solid var(--action-green); z-index: -1; animation: rootPulse 2s infinite; }
@keyframes rootPulse { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); } }

/* Avatars & Info */
.node-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFF; font-weight: 800; font-size: 16px; flex-shrink: 0; }
/* 🔒🔥 Updated: Avatars use new Deep Trust Blue and vibrant Green-Teal */
.bg-blue { background: var(--trust-blue); } .bg-green { background: var(--action-green); } .bg-gold { background: #D97706; }
.empty-avatar { background: #F1F5F9; color: #94A3B8; border: 2px dashed #CBD5E1; }

.node-info { display: flex; flex-direction: column; }
.node-info strong { font-size: 14px; color: #0F172A; line-height: 1.2; }
.node-info span { font-size: 11px; color: #64748B; margin-top: 4px; }
.badge-green-light { background: #DCFCE7; color: #16A34A; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; display: inline-block; margin-top: 4px; border: 1px solid #BBF7D0; }

.empty-slot { background: #F8FAFC; border-style: dashed; cursor: pointer; }
.empty-slot:hover { border-color: #0F172A; background: #FFF; }

/* =========================================
   RIGHT SIDE: SHARE & REWARDS
   ========================================= */
.referral-action-col { flex: 0.8; display: flex; flex-direction: column; gap: 20px; }
.share-card h3 { font-size: 22px; font-weight: 800; color: #0F172A; margin-bottom: 5px; }
.share-card p { font-size: 14px; color: #64748B; line-height: 1.5; margin-bottom: 20px; }
.share-box { display: flex; gap: 10px; margin-bottom: 15px; }
.share-input { flex-grow: 1; padding: 12px 15px; border: 1px solid #E2E8F0; border-radius: 8px; background: #F8FAFC; color: #0F172A; font-family: monospace; font-size: 14px; outline: none; }
.share-input:focus { border-color: var(--action-green); }

/* =========================================
   ANIMATED WHITE FOOTER (V2)
   ========================================= */
.animated-white-footer {
    position: relative;
    background-color: #FFFFFF; 
    padding: 0 0 30px;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #E2E8F0;
    overflow: hidden;
}
.relative-z { position: relative; z-index: 10; }

/* 1. NEW BACKGROUND: Animated Blueprint Grid */
.footer-animated-grid {
    position: absolute; top: 0; left: 0; width: 200%; height: 200%;
    /* 🔥 Updated: footer grid dots use new vibrant Green-Teal context */
    background-image: radial-gradient(rgba(4, 145, 138, 0.08) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: panGrid 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes panGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, -30px); }
}

/* Marquee */
/* 🔥 Updated: marquee border uses new dynamic Green-Teal sampled from logo right */
.footer-marquee-wrap { background: #0F172A; color: #FFF; padding: 12px 0; overflow: hidden; white-space: nowrap; position: relative; z-index: 10; border-bottom: 3px solid var(--action-green); }
.footer-marquee { display: inline-block; animation: scrollMarquee 25s linear infinite; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.footer-marquee:hover { animation-play-state: paused; }
/* 🔥 Updated: marquee separator uses new dynamic Green-Teal */
.dot-sep { color: var(--action-green); margin: 0 25px; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Main Grid */
.footer-main-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.f-title { font-size: 18px; font-weight: 800; color: #0F172A; margin-bottom: 25px; display: flex; align-items: center; gap: 8px; }

/* Brand Column */
.f-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.f-logo h2 { font-size: 34px; font-weight: 900; color: #0F172A; margin: 0; }
/* 🔥 Updated: text-green-anim uses new dynamic Green-Teal */
.text-green-anim { color: var(--action-green); }
.live-status-pill { display: inline-flex; align-items: center; gap: 6px; background: #DCFCE7; color: #16A34A; padding: 5px 12px; border-radius: 50px; font-size: 11px; font-weight: 800; border: 1px solid #BBF7D0; }
.ping-dot { width: 8px; height: 8px; background: #16A34A; border-radius: 50%; animation: blink 1s infinite; }
.title-ping { box-shadow: 0 0 10px #16A34A; }
.f-desc { font-size: 14px; color: #64748B; line-height: 1.7; max-width: 400px; }

/* 2. NEW MIDDLE COLUMN (Impact Tracker) */
.impact-stats-mini { display: flex; gap: 15px; margin-bottom: 20px; }
.m-stat-box { background: #F8FAFC; border: 1px solid #E2E8F0; padding: 12px 15px; border-radius: 12px; flex: 1; transition: 0.3s; }
/* 🔥 Updated: m-stat-box hover uses new dynamic Green-Teal and Glow context */
.m-stat-box:hover { background: #FFFFFF; border-color: var(--action-green); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(4, 145, 138, 0.08); }
.m-stat-box strong { display: block; font-size: 22px; font-weight: 900; color: #0F172A; line-height: 1.2; font-family: monospace; }
.m-stat-box span { font-size: 11px; color: #64748B; font-weight: 700; text-transform: uppercase; }

.campaign-tracker-box { background: #F8FAFC; border: 1px dashed #CBD5E1; padding: 15px; border-radius: 12px; }
.ct-header { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.ct-bar-bg { width: 100%; height: 6px; background: #E2E8F0; border-radius: 10px; overflow: hidden; }
/* 🔥 updated: ct-bar-fill uses new vibrant Green-Teal gradient context */
.ct-bar-fill { height: 100%; background: linear-gradient(90deg, var(--action-green), #10B981); border-radius: 10px; animation: fillBarAnim 2s ease-out forwards; }
@keyframes fillBarAnim { 0% { width: 0%; } }

/* Contact Column (Unchanged - Already Perfect) */
.contact-pill-group { display: flex; flex-direction: column; gap: 15px; }
.contact-pill { display: flex; align-items: center; gap: 15px; background: #F8FAFC; border: 1px solid #E2E8F0; padding: 12px 20px; border-radius: 12px; text-decoration: none; transition: 0.3s; }
/* 🔥 Updated: contact-pill hover uses new dynamic Green-Teal and Glow context */
.contact-pill:hover { transform: translateY(-3px) scale(1.02); background: #FFFFFF; border-color: var(--action-green); box-shadow: 0 10px 25px rgba(4, 145, 138, 0.1); }
.icon-circle { width: 45px; height: 45px; background: #FFFFFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s; }
/* 🔥 Updated: contact-pill icon hover uses new vibrant Green-Teal and glow */
.contact-pill:hover .icon-circle { background: var(--action-green); color: #FFF; box-shadow: 0 5px 15px rgba(4, 145, 138, 0.2); }
.pill-text span { font-size: 11px; color: #94A3B8; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; display: block; }
.pill-text strong { font-size: 15px; color: #0F172A; font-family: monospace; font-weight: 800; }

/* Footer Bottom */
.footer-bottom { border-top: 1px solid #E2E8F0; padding-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.bottom-legal-links { display: flex; justify-content: center; gap: 25px; }
.bottom-legal-links a { color: #64748B; text-decoration: none; font-size: 13px; font-weight: 600; transition: 0.3s; }
/* 🔥 Updated: legal links hover uses new dynamic Green-Teal */
.bottom-legal-links a:hover { color: var(--action-green); }

.copyright-bar { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #64748B; font-weight: 500; }
.heart-beat { display: inline-block; color: #EF4444; animation: heartbeat 1.5s infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
/* 🔥 Updated: dev-link uses new dynamic Green-Teal context */
.dev-link { color: var(--action-green); font-weight: 800; text-decoration: none; position: relative; padding-bottom: 2px; }
.dev-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--action-green); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.dev-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* Mobile Adjustments */
@media (max-width: 900px) {
    .footer-main-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 20px; }
    .copyright-bar { flex-direction: column; gap: 15px; text-align: center; }
    .bottom-legal-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
}

/* Main Section Wrapper */
.fintech-arena-section {
    position: relative;
    padding: 100px 0;
    /* Night Sky Blue background kept as it is for dark contrast */
    background-color: #040914; 
    font-family: 'Inter', 'Poppins', sans-serif;
    overflow: hidden;
}
.relative-z { position: relative; z-index: 10; }

/* =========================================
   1. EMOTIONAL "FEEL" BACKGROUND
   ========================================= */
.emotional-village-bg {
    position: absolute; top: 0; left: 0; 
    width: 100%; height: 100%; z-index: 0; overflow: hidden;
}

/* Warm Earthy Glow at the bottom (Kept Gold/Orange for contrast with Teal/Blue) */
.twilight-gradient {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(194, 65, 12, 0.3) 0%, rgba(202, 138, 4, 0.05) 60%, transparent 100%);
}
.earthy-glow {
    position: absolute; bottom: -150px; left: 50%; transform: translateX(-50%);
    width: 80vw; height: 300px; background: rgba(234, 88, 12, 0.4); 
    filter: blur(120px); border-radius: 50%;
}

/* Starry / Village Network Grid */
.village-network-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
    background-size: 35px 35px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

/* Floating Jugnu (Fireflies) */
.jugnu-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.jugnu {
    position: absolute; bottom: -20px; background: #FDE047; border-radius: 50%; 
    box-shadow: 0 0 10px #FDE047, 0 0 20px #EAB308, 0 0 30px rgba(234, 88, 12, 0.5);
    animation: floatUp infinite ease-in; opacity: 0;
}

.j-1 { left: 10%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: 0s; }
.j-2 { left: 25%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 2s; }
.j-3 { left: 45%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 5s; }
.j-4 { left: 60%; width: 7px; height: 7px; animation-duration: 14s; animation-delay: 1s; }
.j-5 { left: 75%; width: 4px; height: 4px; animation-duration: 9s; animation-delay: 4s; }
.j-6 { left: 90%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 6s; }
.j-7 { left: 35%; width: 3px; height: 3px; animation-duration: 11s; animation-delay: 7s; }
.j-8 { left: 55%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 3s; }

@keyframes floatUp {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    20% { opacity: 0.9; }
    50% { transform: translateY(-50vh) translateX(20px) scale(1.2); opacity: 0.6; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-120vh) translateX(-20px) scale(0.5); opacity: 0; }
}

/* =========================================
   CINEMATIC HEADER STYLES
   ========================================= */

/* Center Alignment and Spacing */
.grand-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 1. THE LIVE RADAR PILL --- */
.mega-alert-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(239, 68, 68, 0.15); /* Red transparent bg */
    border: 1px solid rgba(239, 68, 68, 0.5);
    padding: 8px 24px;
    border-radius: 50px;
    color: #FCA5A5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

/* The expanding radar ring animation */
.alert-radar {
    width: 10px; height: 10px;
    background: #EF4444;
    border-radius: 50%;
    position: relative;
}
.alert-radar::after {
    content: '';
    position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%; border: 2px solid #EF4444;
    animation: radarPulse 1.5s infinite ease-out;
}
@keyframes radarPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* --- 2. THE CINEMATIC TITLE --- */
.cinematic-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.title-white { color: #FFFFFF; }

/* The Golden Glowing Text Effect */
.title-gold-glow {
    background: linear-gradient(to right, #FDE047, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.5); 
}
.mobile-break { display: none; }

/* --- 3. THE STAKES BADGE (Subtitle) --- */
.stakes-badge {
    background: rgba(255, 255, 255, 0.08); /* Frosted Glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
    color: #F8FAFC;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.stakes-badge strong {
    color: #FDE047; /* Matches the title gold */
    font-weight: 900;
    text-transform: uppercase;
}
.icon-swords { margin-right: 8px; font-size: 18px; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .cinematic-title { font-size: 36px; }
    .mobile-break { display: block; }
    .stakes-badge { font-size: 14px; padding: 12px 20px; }
}

/* =========================================
   3. DASHBOARD GRID & WHITE CARDS
   ========================================= */
.fintech-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; max-width: 1100px; margin: 0 auto 30px; }
.f-card {
    background: #FFFFFF;
    border-radius: 24px; padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #E2E8F0;
    display: flex; flex-direction: column;
}

/* --- LEFT CARD (MEGA POOL) --- */
.mega-pool-card { align-items: center; text-align: center; justify-content: center; }
.f-card-header { font-size: 13px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; }
.f-total-box { display: flex; align-items: flex-start; justify-content: center; gap: 5px; margin-bottom: 35px; }
/* 🔥 Updated: Currency uses new Green-Teal */
.f-currency { font-size: 24px; font-weight: 700; color: var(--action-green); margin-top: 10px; }
.f-amount { font-size: 56px; font-weight: 800; color: #0F172A; line-height: 1; letter-spacing: -2px; font-family: monospace; }
.text-pulse { animation: subtlePulse 3s infinite ease-in-out; }
@keyframes subtlePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }

.f-stats-row { display: flex; align-items: center; justify-content: center; gap: 30px; width: 100%; margin-bottom: 30px; }
.f-stat-item { display: flex; flex-direction: column; }
.f-stat-item strong { font-size: 24px; font-weight: 800; color: #0F172A; }
.f-stat-item span { font-size: 11px; color: #64748B; font-weight: 600; text-transform: uppercase; }
.f-divider { width: 1px; height: 40px; background: #E2E8F0; }

.f-winner-alert { background: #F8FAFC; border: 1px solid #E2E8F0; padding: 15px 25px; border-radius: 12px; width: 100%; margin-bottom: 20px; }
.w-label { font-size: 12px; color: #64748B; font-weight: 600; display: block; margin-bottom: 5px; text-transform: uppercase; }
/* 🔥 Updated: Winner name uses new Green-Teal */
.w-name { font-size: 20px; font-weight: 800; color: var(--action-green); }

.btn-boost-main { display: block; width: 100%; background: #0F172A; color: #FFF; padding: 12px 0; border-radius: 10px; font-weight: 700; text-decoration: none; transition: 0.3s; }
/* 🔒 Updated: Boost hover uses new Deep Trust Blue */
.btn-boost-main:hover { background: var(--trust-blue); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(17, 75, 133, 0.3); }

/* --- RIGHT CARD (RACE BOARD) --- */
.race-card { padding: 30px; height: 570px; }
.f-race-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid #F1F5F9; padding-bottom: 20px; }
.r-title { font-size: 16px; font-weight: 800; color: #0F172A; }

.f-search { position: relative; width: 250px; }
.f-search input { width: 100%; padding: 10px 15px 10px 35px; border: 1px solid #E2E8F0; border-radius: 8px; font-size: 13px; font-family: 'Poppins', sans-serif; background: #F8FAFC; transition: 0.3s; color: #0F172A; }
/* 🔥 Updated: Search focus uses new Green-Teal */
.f-search input:focus { border-color: var(--action-green); background: #FFF; box-shadow: 0 0 0 3px var(--action-glow); outline: none; }
.s-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94A3B8; }

.f-race-scroll { flex-grow: 1; overflow-y: auto; padding-right: 15px; display: flex; flex-direction: column; gap: 20px; }
.f-race-scroll::-webkit-scrollbar { width: 5px; }
.f-race-scroll::-webkit-scrollbar-track { background: #F8FAFC; border-radius: 10px; }
.f-race-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 10px; }

.f-track-row { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; transition: 0.3s; border: 1px solid transparent; }
.f-track-row:hover { background: #F8FAFC; border-color: #E2E8F0; }

.t-info { display: flex; justify-content: space-between; align-items: center; }
.t-name-box { display: flex; align-items: center; gap: 10px; }
.t-rank { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.rank-gold { background: #FEF08A; color: #854D0E; }
.rank-silver { background: #E2E8F0; color: #334155; }
.rank-bronze { background: #FFEDD5; color: #9A3412; }
.rank-normal { background: #F1F5F9; color: #64748B; }

.t-name-box strong { font-size: 15px; font-weight: 700; color: #0F172A; }
.t-money { font-size: 16px; font-weight: 800; font-family: monospace; color: #0F172A; }
/* 🔥 Updated: Leading text color uses new Green-Teal */
.text-emerald { color: var(--action-green); font-size: 18px; }

.t-bar-bg { width: 100%; height: 10px; background: #F1F5F9; border-radius: 20px; overflow: hidden; }
.t-bar-fill { height: 100%; border-radius: 20px; position: relative; animation: loadWidth 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes loadWidth { 0% { width: 0%; } }

/* 🔥 Updated: Progress bar gradients use new colors */
.fill-emerald { background: linear-gradient(90deg, var(--action-green), #037a74); } /* Slightly darker teal for depth */
.fill-indigo { background: linear-gradient(90deg, var(--trust-blue), var(--trust-light)); }
.fill-slate { background: #94A3B8; }
.shimmer-effect { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: passShimmer 2.5s infinite; }
@keyframes passShimmer { 100% { left: 200%; } }

.t-alert { display: flex; justify-content: space-between; align-items: center; background: #FFFBEB; border: 1px solid #FEF08A; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #D97706; margin-top: 5px; }
/* 🔒 Updated: Mini boost button uses new Trust Light */
.f-btn-small { background: var(--trust-light); color: #FFF; padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; text-decoration: none; transition: 0.2s; }
.f-btn-small:hover { background: var(--trust-blue); }

/* =========================================
   4. TICKER (BOTTOM)
   ========================================= */
.f-ticker { display: flex; align-items: center; background: #FFFFFF; border-radius: 12px; padding: 12px 20px; max-width: 1100px; margin: 0 auto; box-shadow: 0 15px 35px rgba(0,0,0,0.4); border: 1px solid #E2E8F0; }
.tick-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #0F172A; padding-right: 15px; border-right: 1px solid #E2E8F0; margin-right: 15px; }
/* 🔥 Updated: Ping dot uses new Green-Teal */
.f-ping-green { width: 8px; height: 8px; background: var(--action-green); border-radius: 50%; box-shadow: 0 0 8px var(--action-green); animation: blink 1s infinite; }
.tick-wrap { flex-grow: 1; overflow: hidden; white-space: nowrap; }
.tick-move { display: inline-block; animation: tickScroll 25s linear infinite; }
@keyframes tickScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.tick-move span { font-size: 13px; color: #64748B; margin-right: 40px; }
.tick-move strong { color: #0F172A; font-weight: 700; }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .fintech-grid { grid-template-columns: 1fr; }
    .f-amount { font-size: 48px; }
    .race-card { height: 600px; }
    .f-search { width: 100%; margin-top: 10px; }
    .f-race-header { flex-direction: column; align-items: flex-start; }
}

/* =========================================
   SPLIT-SCREEN IMAGE & FORM AUTH LAYOUT
   ========================================= */

.split-auth-section {
    display: flex;
    min-height: calc(100vh - 80px); /* 80px for header */
    width: 100%;
    background-color: #FFFFFF;
}

/* --- LEFT SIDE: IMAGE PANEL --- */
.auth-image-side {
    flex: 1; /* Takes exactly 50% width */
    position: relative;
    /* Aap yahan apni pasand ki gaon/tech ki image ka URL daal sakte hain */
    background: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1200&q=80') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
}

/* Theme color gradient over the image */
.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Mixing Deep Sapphire Blue and Vibrant Green-Teal */
    background: linear-gradient(135deg, rgba(17, 75, 133, 0.85) 0%, rgba(4, 145, 138, 0.85) 100%);
    z-index: 1;
}

.image-side-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 500px;
}
.auth-quote-icon {
    font-size: 60px;
    color: var(--action-green);
    line-height: 1;
    margin-bottom: 10px;
    opacity: 0.8;
}
.image-side-content h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.image-side-content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.7;
}

/* --- RIGHT SIDE: FORM PANEL --- */
.auth-form-side {
    flex: 1; /* Takes exactly 50% width */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #FFFFFF;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
}

.auth-header-text { margin-bottom: 35px; }
.auth-header-text h2 { font-size: 32px; font-weight: 800; color: #0F172A; letter-spacing: -1px; margin-bottom: 8px; }
.auth-header-text p { font-size: 15px; color: #64748B; }

/* Form Styles */
.split-form .form-group { margin-bottom: 22px; }
.split-form label { display: block; font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

.input-modern-wrapper { position: relative; }
.input-modern-wrapper .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: 0.6; pointer-events: none; }

.split-form input {
    width: 100%;
    padding: 15px 20px 15px 45px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #0F172A;
    transition: all 0.3s ease;
}
.split-form input::placeholder { color: #94A3B8; }

.split-form input:focus {
    background: #FFFFFF;
    border-color: var(--action-green);
    box-shadow: 0 0 0 4px var(--action-glow);
    outline: none;
}

/* Form Options */
.form-options-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; font-size: 13px; font-weight: 600; }
.custom-check { display: flex; align-items: center; gap: 8px; color: #64748B; cursor: pointer; user-select: none; position: relative; padding-left: 26px; }
.custom-check input { position: absolute; opacity: 0; cursor: pointer; }
.check-box { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #F8FAFC; border: 1px solid #CBD5E1; border-radius: 4px; transition: 0.2s; }
.custom-check:hover input ~ .check-box { background-color: #E2E8F0; }
.custom-check input:checked ~ .check-box { background-color: var(--action-green); border-color: var(--action-green); }
.check-box:after { content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 4px; height: 9px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-check input:checked ~ .check-box:after { display: block; }

.forgot-link { color: var(--trust-blue); text-decoration: none; transition: 0.3s; }
.forgot-link:hover { color: var(--action-green); }

/* Submit Button */
.btn-primary-auth {
    width: 100%;
    background: var(--action-green);
    color: #FFF;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(4, 145, 138, 0.25);
}
.btn-primary-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(4, 145, 138, 0.35);
    background: #037a74;
}

/* Alerts */
.auth-alert { padding: 12px 15px; border-radius: 8px; font-size: 13px; font-weight: 700; margin-bottom: 20px; text-align: center; border: 1px solid; }
.alert-error { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.alert-success { background: rgba(4, 145, 138, 0.1); color: var(--action-green); border-color: rgba(4, 145, 138, 0.3); }

/* Footer Links */
.auth-footer-link { text-align: center; margin-top: 30px; font-size: 14px; color: #64748B; font-weight: 500; }
.auth-footer-link a { color: var(--action-green); font-weight: 800; text-decoration: none; border-bottom: 2px solid transparent; transition: 0.3s; }
.auth-footer-link a:hover { border-color: var(--action-green); }

/* Fade in Animation */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s ease forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .split-auth-section { flex-direction: column; }
    
    /* Image side becomes a smaller banner on top for mobile */
    .auth-image-side { flex: none; height: 250px; padding: 30px 20px; text-align: center; }
    .auth-quote-icon { display: none; }
    .image-side-content h2 { font-size: 26px; margin-bottom: 10px; }
    .image-side-content p { font-size: 14px; }
    
    .auth-form-side { flex: 1; padding: 40px 20px; align-items: flex-start; }
}