:root {
    /* Colors */
    --bg-base: #020617; /* Very deep slate */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    /* Accents */
    --color-primary: #0ea5e9; /* Light blue */
    --color-secondary: #10b981; /* Emerald */
    --gradient-epic: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --gradient-glow: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(16, 185, 129, 0.4));
    
    /* Glassmorphism */
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ambient Background Glow */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.glow-1 {
    top: -10%; left: -10%;
    width: 600px; height: 600px;
    background: #0ea5e9;
}

.glow-2 {
    bottom: 20%; right: -10%;
    width: 500px; height: 500px;
    background: #10b981;
    opacity: 0.2;
}

h1, h2, h3, h4, .logo, .badge { font-family: var(--font-display); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.img-fluid { width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.mt-4 { margin-top: 2rem; }

/* Typography Extras */
.text-gradient {
    background: var(--gradient-epic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-glow {
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: 24px;
    backdrop-filter: var(--glass-blur);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-epic);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 4px 25px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.btn-glass-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    gap: 10px;
}

.btn-glass-outline:hover {
    background: rgba(255,255,255,0.05);
}

.btn-full { width: 100%; margin-top: 24px; }
.btn-glass-hover {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}
.btn-glass-hover:hover {
    background: var(--gradient-epic);
    border-color: transparent;
}

.play-icon { font-size: 0.9rem; color: var(--color-primary); }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-size: 1.8rem; font-weight: 900; letter-spacing: 1px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 0.95rem; font-weight: 500;
    color: var(--text-muted); transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    display: flex;
    align-items: center;
}

.hero-image-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #020617 0%, rgba(2, 6, 23, 0.8) 40%, rgba(2, 6, 23, 0.3) 100%),
                linear-gradient(0deg, #020617 0%, transparent 30%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 650px;
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons { display: flex; gap: 16px; }

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 280px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.stat-icon { font-size: 2rem; }
.stat-info h3 { font-size: 1.8rem; line-height: 1; margin-bottom: 4px; }
.stat-info p { color: var(--text-muted); font-size: 0.9rem; }

/* Matches */
.section-heading {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 60px;
}

.section-heading h2 { font-size: 3rem; font-weight: 800; }
.link-glow { color: var(--color-primary); font-weight: 600; }
.link-glow:hover { text-shadow: 0 0 10px rgba(14, 165, 233, 0.4); }

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.match-glass-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.match-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.4);
}

.match-header {
    display: flex; justify-content: space-between;
    margin-bottom: 32px; border-bottom: 1px solid var(--glass-border);
    padding-bottom: 16px;
}

.match-league { font-weight: 700; color: var(--color-primary); font-size: 0.9rem; letter-spacing: 1px; }
.match-time { color: var(--text-muted); font-size: 0.9rem; }

.match-body {
    display: flex; justify-content: space-between; align-items: center;
}

.team { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 30%; }
.crest {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-family: var(--font-display); font-weight: 800;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.crest-orion { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.crest-nova { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.crest-verdant { background: linear-gradient(135deg, #064e3b, #10b981); }
.crest-aureum { background: linear-gradient(135deg, #713f12, #eab308); }

.team-name { font-weight: 600; font-size: 1.1rem; text-align: center; }

.match-divider { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vs { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: rgba(255,255,255,0.2); }
.match-date { font-size: 0.85rem; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 4px 12px; border-radius: 50px; }

/* Feature Section */
.feature-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.feature-content h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 24px; }
.feature-content p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 32px; }

.feature-bullets li { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: 1.05rem; }
.bullet-icon { width: 12px; height: 12px; background: var(--gradient-epic); border-radius: 50%; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }

.feature-image-container { position: relative; }
.image-glass-frame {
    padding: 12px; background: var(--glass-bg); backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border); border-radius: 24px;
}
.image-glass-frame img { border-radius: 16px; }

.floating-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--bg-base); border: 1px solid var(--glass-border);
    padding: 20px 32px; border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.floating-badge span { font-size: 2rem; font-weight: 900; font-family: var(--font-display); }
.floating-badge p { color: var(--text-muted); font-size: 0.9rem; }

/* Footer */
.glass-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.2);
    padding: 80px 0 30px;
}

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

.brand-col p { color: var(--text-muted); margin-top: 16px; max-width: 300px; }
.links-col h4, .newsletter-col h4 { font-family: var(--font-display); margin-bottom: 24px; letter-spacing: 1px; }
.links-col a { display: block; color: var(--text-muted); margin-bottom: 12px; }
.links-col a:hover { color: var(--color-primary); }

.input-glass {
    display: flex; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 8px; overflow: hidden;
}
.input-glass input { flex: 1; background: transparent; border: none; padding: 12px 16px; color: #fff; outline: none; }
.input-glass button { background: var(--gradient-epic); border: none; padding: 0 20px; color: #fff; cursor: pointer; font-size: 1.2rem; }

.footer-bottom { text-align: center; color: var(--text-muted); border-top: 1px solid var(--glass-border); padding-top: 30px; font-size: 0.9rem; }

/* Subtle Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001;
}
.mobile-menu-toggle span {
    display: block; width: 28px; height: 2px; background-color: var(--text-main); transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Responsive */
@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; justify-content: center; padding-top: 100px; }
    .hero-gradient { background: linear-gradient(to top, #020617 0%, rgba(2,6,23,0.7) 100%); }
    .hero-text-wrapper { margin-bottom: 40px; }
    .hero-buttons { justify-content: center; }
    .hero-cards { flex-direction: row; justify-content: center; }
    .feature-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .mobile-menu-toggle { display: flex; }
    .nav-links, .nav-actions { position: fixed; right: -100%; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .nav-links {
        top: 0; width: 100%; height: 100vh; background: rgba(2, 6, 23, 0.95); backdrop-filter: var(--glass-blur);
        flex-direction: column; justify-content: center; align-items: center; gap: 40px; z-index: 999;
    }
    .nav-links a { font-size: 1.5rem; font-family: var(--font-display); }
    .nav-actions { bottom: 40px; width: 100%; display: flex; justify-content: center; z-index: 1000; }
    .nav-links.active, .nav-actions.active { right: 0; }

    /* Layout & Spacing */
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }

    /* Hero */
    .hero { min-height: 100vh; padding-top: 80px; align-items: flex-start; }
    .hero-content { padding-top: 20px; }
    .hero-title { font-size: 3rem; margin-bottom: 16px; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .hero-buttons { flex-direction: column; gap: 12px; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    
    .hero-cards {
        flex-direction: row; overflow-x: auto; padding-bottom: 20px; justify-content: flex-start;
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    }
    .hero-cards::-webkit-scrollbar { display: none; }
    .stat-card { min-width: 250px; scroll-snap-align: center; }

    /* Matches */
    .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
    .section-heading h2 { font-size: 2.2rem; }
    .matches-grid { grid-template-columns: 1fr; gap: 20px; }
    .match-glass-card { padding: 24px; }
    .crest { width: 50px; height: 50px; font-size: 1.2rem; }
    .team-name { font-size: 0.95rem; }
    .vs { font-size: 1.4rem; }

    /* Features */
    .feature-content h2 { font-size: 2.5rem; }
    .feature-content p { font-size: 1rem; }
    .feature-bullets li { font-size: 0.95rem; }
    .floating-badge {
        bottom: -10px; left: 50%; transform: translateX(-50%);
        width: 85%; text-align: center; padding: 16px 20px;
    }
    .floating-badge span { font-size: 1.6rem; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .brand-col p { margin: 16px auto 0; }
    .links-col { margin-top: 10px; }
    .input-glass { margin: 0 auto; max-width: 400px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .stat-info h3 { font-size: 1.5rem; }
}
