@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Oswald:wght@400;700&display=swap');

:root {
    --bg-main: #0a0a1a;
    --bg-card: #141428;
    --border-card: #2a2a4a;
    --accent-gold: #FFD700;
    --accent-green: #1a9b5e;
    --text-white: #ffffff;
    --text-secondary: #b0b8c8;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .heading-font {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

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

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(10, 10, 26, 1) 100%), 
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&q=80&w=1500') center/cover;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.countdown {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.countdown-item {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-card);
    min-width: 100px;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Fixture Section */
.fixture-section {
    padding: 80px 0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-filter {
    background: transparent;
    border: 1px solid var(--border-card);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter.active, .btn-filter:hover {
    background: var(--accent-gold);
    color: var(--bg-main);
    border-color: var(--accent-gold);
}

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

.match-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--border-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.team img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.team span {
    font-weight: 600;
    text-align: center;
}

.match-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.btn-calendar {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-calendar:hover {
    background: #147a4a;
}

/* Glassmorphism Sidebar/Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-card);
    padding: 15px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Noticias */
.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.news-card {
    cursor: pointer;
    background: var(--bg-card);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 15, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    display: none;
}

.modal-content {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    border: 1px solid var(--border-card);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .countdown {
        gap: 10px;
    }
    .countdown-item {
        min-width: 70px;
        padding: 15px;
    }
    .countdown-value {
        font-size: 1.5rem;
    }
    nav .container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        font-size: 0.9rem;
    }
}
