:root {
    --primary: #E30613;
    --primary-dim: #a50b15;
    --secondary: #FFD700;
    --secondary-dim: #d4af37;
    --bg: #0a0a0a;
    --surface: #121212;
    --surface-light: #1e1e1e;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --nav-bg: rgba(10, 10, 10, 0.85);
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
}

#cursor {
    width: 25px;
    height: 25px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

h1, h2, h3, h4, h5, .display-font {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    line-height: 0.9;
}

section {
    padding: 120px 8%;
    position: relative;
    overflow: hidden;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s var(--transition);
}

nav.scrolled {
    padding: 15px 8%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
}

.logo-box mark {
    background: none;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--secondary); }

.cta-nav {
    background: var(--primary);
    padding: 12px 25px;
    border-radius: 2px;
    color: white !important;
    font-weight: 900 !important;
    font-size: 0.8rem !important;
    border: 1px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.4)), url('images/hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 8%;
}

.hero h1 { font-size: clamp(4rem, 15vw, 10rem); text-transform: uppercase; margin-bottom: 20px; }
.hero h1 span { color: var(--secondary); -webkit-text-stroke: 1px var(--secondary); -webkit-text-fill-color: transparent; }
.hero p { font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--text-dim); max-width: 900px; margin-bottom: 50px; }

.hero-btns { display: flex; gap: 20px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    transition: all 0.4s var(--transition);
    text-transform: uppercase;
    border: 1px solid transparent;
}

.btn-outline { background: transparent; border: 1px solid var(--secondary); color: var(--secondary); }

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    background: var(--secondary);
    color: var(--bg);
}

/* --- ABOUT & PHILOSOPHY --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { height: 600px; position: relative; border: 10px solid var(--surface-light); overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.section-title { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 30px; text-transform: uppercase; }
.section-title span { color: var(--primary); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item h3 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 5px; }
.stat-item p { color: var(--text-dim); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; line-height: 1.2; }

/* --- TEAMS --- */
.title-center { text-align: center; margin-bottom: 80px; }
.teams-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* 3 cards forced for desktop instead of auto-fit */
    gap: 30px; 
    max-width: 1400px;
    margin: 0 auto;
}

.team-card { 
    background: var(--surface); 
    position: relative; 
    overflow: hidden; 
    /* Remove translate transformation to avoid GSAP conflict */
}

.team-img-container { height: 450px; overflow: hidden; }
.team-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
/* Hover effects handled by GSAP in script.js for smoother results */

.team-badge { position: absolute; top: 20px; right: 20px; background: var(--secondary); color: var(--bg); padding: 8px 15px; font-weight: 900; font-size: 0.7rem; text-transform: uppercase; z-index: 10; }
.team-info { padding: 30px; border-bottom: 4px solid var(--primary); }
.team-info h3 { font-size: 2.2rem; margin-bottom: 10px; }
.team-info p { color: var(--text-dim); font-size: 0.95rem; }

/* --- INCLUSION SECTION --- */
.game-reveal {
    background: linear-gradient(135deg, #1a0202, #331a00);
    padding: 80px 40px;
    text-align: center;
    border: 2px solid var(--secondary);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
}

.inclusion-highlights { display: flex; justify-content: center; gap: 60px; margin: 50px 0; flex-wrap: wrap; }
.inc-item { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.inc-item i {
    font-size: 3.5rem;
    color: var(--primary);
    background: rgba(227, 6, 19, 0.1);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(227, 6, 19, 0.3);
}

.inc-item span { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 1px; }

/* --- CONTACT --- */
.contact-links { margin-top: 40px; }
.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: var(--text); text-decoration: none; font-size: 1.1rem; transition: color 0.3s; }
.contact-item i { color: var(--secondary); font-size: 1.3rem; }
.contact-item:hover { color: var(--secondary); }

.office-box {
    margin-top: 40px;
    padding: 30px;
    background: var(--surface-light);
    border-left: 5px solid var(--secondary);
}

.office-box h5 { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: var(--secondary); margin-bottom: 10px; }

/* --- FOOTER --- */
footer {
    padding: 100px 8% 40px;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-links h4 { color: var(--secondary); text-transform: uppercase; margin-bottom: 30px; font-size: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-dim); text-decoration: none; transition: color 0.3s ease; }
.footer-links ul li a:hover { color: white; }

.social-icons { display: flex; gap: 20px; }
.social-icons a { font-size: 1.5rem; color: var(--text-dim); transition: color 0.3s ease; }
.social-icons a:hover { color: var(--secondary); }

.donate-card {
    background: var(--surface-light);
    padding: 30px;
    border: 1px solid var(--primary);
    text-align: center;
    border-radius: 8px;
}

.donate-card p { font-size: 0.9rem; margin-bottom: 20px; color: var(--text-dim); }

.copyright-bar {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- MOBILE & BURGER --- */
.mobile-toggle {
    display: none;
    width: 35px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.4s var(--transition);
}

/* BURGER X ANIMATION */
.mobile-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 999;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.5s var(--transition);
    backdrop-filter: blur(15px);
}

.mobile-overlay.active { left: 0; }
.mobile-overlay a { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: white; text-decoration: none; margin: 15px 0; }
.mobile-overlay .cta-nav { font-size: 1.5rem !important; margin-top: 40px; padding: 15px 40px; }

.surface-bg { background-color: var(--surface); }

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { height: 400px; order: 2; }
    .about-text { order: 1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .teams-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns for tablets */
}

@media (max-width: 768px) {
    section { padding: 80px 8%; }
    .hero h1 { font-size: 18vw; }
    .nav-logo { height: 45px; }
    .inclusion-highlights { gap: 30px; }
    .inc-item i { width: 80px; height: 80px; font-size: 2.5rem; }
    .stat-item h3 { font-size: 1.8rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 30px; padding-top: 30px; }
    .about-image { height: 300px; border-width: 5px; }
    .about-grid { gap: 30px; }
    .section-title { margin-bottom: 20px; }
    #cursor { display: none; }
    * { cursor: auto; }

    /* FOOTER MOBILE FIX */
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
    }
    
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .logo-box { flex-direction: row; } 

    .social-icons { justify-content: center; }
    .donate-card { width: 100%; }
    
    .copyright-bar { flex-direction: column; gap: 20px; text-align: center; }
    
    /* STACKED TEAMS FOR PHONES */
    .teams-grid { grid-template-columns: 1fr; gap: 40px; }
}
