/* ===================================
   FÚTBOL INFANTIL THEME
   =================================== */

:root {
    --grass-green: #28a745;
    --night-blue: #0a192f;
    --accent-gold: #ffd700;
    --white-color: #FFFFFF;
    --text-color: #FFFFFF;
    --font-display: 'Teko', sans-serif;
    /* Sporty font */
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--night-blue);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Music Control */
.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--grass-green);
    border: 3px solid var(--white-color);
    color: var(--white-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
}

.btn-music-circle:hover {
    transform: scale(1.1);
    background: var(--accent-gold);
    color: var(--night-blue);
}

/* Typography */
.big-font {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white-color);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px var(--accent-gold);
    margin: 1rem 0;
    line-height: 0.9;
}

.medium-font {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem 4rem;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('../img/stadium_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.soccer-ball-icon {
    width: 140px;
    margin: 0 auto 1rem;
    background-color: var(--night-blue);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    width: 250px;
    height: 250px;
    max-width: 80vw;
    max-height: 80vw;
    margin: 2rem auto;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

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

.bg-dark-blue {
    background-color: var(--night-blue);
}

.bg-grass {
    background-color: var(--grass-green);
}

.futbol-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.futbol-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Buttons */
.btn-futbol {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--grass-green);
    color: var(--white-color);
    text-transform: uppercase;
    font-family: var(--font-display);
    font-size: 1.3rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-futbol:hover {
    background: transparent;
    border-color: var(--grass-green);
    color: var(--grass-green);
    text-decoration: none;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 5rem;
    }

    .section-padding {
        padding: 3rem 1rem;
    }

    .hero-image-container {
        width: 200px;
        height: 200px;
    }

    .scoreboard-container {
        gap: 0.5rem;
        padding: 1rem;
    }

    .scoreboard-item {
        min-width: 60px;
        padding: 0.5rem;
    }

    .scoreboard-number {
        font-size: 2rem;
    }

    .futbol-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .text-uppercase-spaced {
        letter-spacing: 2px;
        font-size: 0.9rem;
    }

    .scoreboard-number {
        font-size: 1.8rem;
    }
}

/* Gallery */
.futbol-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item-futbol {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    border: 2px solid var(--accent-gold);
}

.gallery-item-futbol img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}

.gallery-item-futbol:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Timeline */
.futbol-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.futbol-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--white-color);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-time {
    width: 45%;
    text-align: right;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.timeline-item:nth-child(even) .timeline-time {
    text-align: left;
}

.timeline-content {
    width: 45%;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--grass-green);
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--grass-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white-color);
    z-index: 1;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .futbol-timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 50px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-time {
        width: 100%;
        text-align: left;
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .timeline-item:nth-child(even) .timeline-time {
        text-align: left;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(-50%);
    }
}