:root {
    --primary: #00ff88;
    --primary-dark: #00cc6d;
    --secondary: #007bff;
    --bg-dark: #0a0e14;
    --bg-card: #161b22;
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --danger: #ff4d4d;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header {
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo h1 span {
    color: var(--primary);
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--primary);
}

.pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.search-bar input {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    width: 200px;
    transition: 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    width: 250px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Use the generated image as background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 14, 20, 0.7), var(--bg-dark)),
        url('sports_stadium_background_1769588281441.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

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

.btn-secondary:hover {
    background: var(--glass-border);
}

/* Featured Match Card */
.match-card.featured {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.match-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.status {
    color: var(--danger);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}

.teams {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-logo {
    font-size: 3rem;
}

.team-name {
    font-weight: 700;
}

.vs {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 800;
}

/* Match Grid */
.live-matches {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tabs button {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-tabs button.active,
.filter-tabs button:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.match-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 20px;
}

.league {
    color: var(--text-muted);
    font-weight: 600;
}

.live-tag {
    color: var(--danger);
    font-weight: 800;
}

.upcoming {
    color: var(--primary);
}

.teams-compact {
    margin-bottom: 20px;
}

.team-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.score {
    color: var(--primary);
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.time,
.platform {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-watch {
    background: var(--glass);
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.match-card:hover .btn-watch {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-watch.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* SEO Content */
.seo-content {
    padding: 60px 0;
}

.content-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
}

.content-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.content-box h4 {
    font-size: 1.3rem;
    margin: 25px 0 10px;
}

.content-box p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.content-box strong {
    color: white;
}

/* Footer */
.footer {
    background: #05070a;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

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

.footer-info h3 {
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-muted);
}

.footer-links h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.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;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}

.scrollbox {
  max-height: 300px;
  overflow-y: auto;
  padding: 15px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 15px;
  line-height: 1.6;
}