/* MODERN SPORTS DARK THEME */
:root {
    --primary: #00ffa3;
    --primary-hover: #00cc82;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-red: #ef4444;
    --accent-blue: #38bdf8;
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER & NAV */
header {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.search-container {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: white;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.2);
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* HERO SECTION */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(0, 255, 163, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.4);
    transition: 0.3s;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 163, 0.6);
}

/* LIVE MATCHES SECTION */
.live-matches {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .badge {
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.5;
    }
}

.matches-grid {
    display: grid;
    gap: 12px;
}

.match-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.match-card:hover {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.9);
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-name {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score-container {
    text-align: center;
    min-width: 100px;
}

.score {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1;
}

.match-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
}

.watch-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.85rem;
}

.watch-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* FEATURES */
.features {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* GALLERY */
.gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* VIDEO PLAYER OVERLAY */
.player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.player-container {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--primary);
    overflow: hidden;
}

.close-player {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.locker-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 1) 100%);
    z-index: 5;
}

.locker-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

/* FOOTER */
footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .match-card {
        grid-template-columns: 1fr 1fr;
        padding: 10px 15px;
        gap: 10px;
    }

    .team:nth-child(1) {
        grid-area: 1 / 1 / 2 / 2;
        justify-content: flex-start;
    }

    .team:nth-child(3) {
        grid-area: 2 / 1 / 3 / 2;
        justify-content: flex-start;
    }

    .score-container {
        grid-area: 1 / 2 / 3 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 60px;
        text-align: right;
    }

    .match-card>div:last-child {
        grid-area: 3 / 1 / 4 / 3;
        width: 100%;
    }

    .watch-btn {
        width: 100%;
        display: block;
        text-align: center;
        padding: 8px;
    }

    .team-name {
        font-size: 0.9rem;
    }

    .score {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}