@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #FF4757; /* The iconic StreamEast red */
    --accent: #1E90FF; /* Electric blue */
    --dark: #0A0E27;
    --darker: #06091a;
    --card: rgba(255, 255, 255, 0.03);
    --light: #f0f4ff;
    --gray: #a0b0d0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', system-ui, sans-serif;
}

body {
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- HEADER --- */
header {
    background: rgba(10, 14, 39, 0.98);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 25px rgba(255,71,87,0.18);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.logo {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.main-nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

/* --- AGGRESSIVE HERO --- */
main {
    margin-top: 80px;
    padding: 1.5rem 1rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, rgba(255,71,87,0.08), rgba(30,144,255,0.08));
    border-radius: 12px;
    margin: 1rem auto 3rem;
    max-width: 1250px;
    border: 1px solid rgba(255,71,87,0.15);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero h1 span { color: var(--primary); }

.hero-desc {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* --- DIRECTORY GRID --- */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--light);
    text-transform: uppercase;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.6rem;
    max-width: 1280px;
    margin: 0 auto 4rem;
}

.dir-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

.dir-card:hover {
    transform: translateY(-8px);
    background: rgba(255,71,87,0.09);
    border-color: var(--primary);
    box-shadow: 0 18px 48px rgba(255,71,87,0.22);
}

.dir-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.dir-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.dir-card:hover h3 { color: var(--primary); }
.dir-card p { font-size: 0.9rem; color: var(--gray); }

/* --- MATCH CARDS (For Sport Pages) --- */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.match-card {
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 3px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    background: rgba(255,71,87,0.05);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(255,71,87,0.15);
}

.match-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.match-league {
    background: var(--primary);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.match-time {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
}

.match-teams {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.watch-btn-full {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    background: rgba(255,71,87,0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    text-decoration: none;
    font-weight: 800;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.watch-btn-full:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255,71,87,0.4);
}

/* --- FOOTER --- */
.footer {
    background: rgba(10,14,39,0.96);
    padding: 3rem 1rem 2rem;
    border-top: 2px solid var(--primary);
    margin-top: 4rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-description { color: var(--gray); font-size: 0.9rem; max-width: 600px; margin: 0 auto 1.5rem; }

/* --- MOBILE RESPONSIVE --- */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 28px; height: 3px; background: var(--primary); transition: all 0.3s; }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(10,14,39,0.98); flex-direction: column; padding: 1.5rem; gap: 1.2rem;
        border-bottom: 2px solid var(--primary);
    }
    .main-nav.active { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .directory-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
    .dir-card { padding: 1.5rem 1rem; }
    .dir-icon { font-size: 2.5rem; }
}