/* Tema de fútbol para La Estrella */
:root {
    --estrella-red: #e30613;
    --estrella-black: #000000;
    --estrella-white: #ffffff;
    --estrella-gradient: linear-gradient(135deg, #e30613 0%, #990000 100%);
    --estrella-dark-gradient: linear-gradient(135deg, #222222 0%, #000000 100%);
}

.hero {
    background: var(--estrella-dark-gradient) !important;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(227,6,19,0.4) 100%);
    z-index: 1;
}

.z-2 { z-index: 2; }

/* Animación de rebote realista para las pelotas */
@keyframes rebota {
    0% {
        bottom: 0;
        height: 60px;
        width: 60px;
    }
    10% {
        bottom: 50px;
        height: 70px;
        width: 50px;
    }
    30% {
        bottom: 150px;
        height: 60px;
        width: 60px;
    }
    50% {
        bottom: 200px;
        height: 60px;
        width: 60px;
    }
    75% {
        bottom: 150px;
        height: 60px;
        width: 60px;
    }
    90% {
        bottom: 50px;
        height: 70px;
        width: 50px;
    }
    100% {
        bottom: 0;
        height: 60px;
        width: 60px;
    }
}

.football {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.9;
    animation: rebota 3s infinite ease-in-out;
    transition: left 0.5s ease-in-out;
}

.football-1 {
    left: 15%;
    animation-delay: 0s;
    animation-duration: 2.5s;
}

.football-2 {
    left: 45%;
    animation-delay: 0.8s;
    animation-duration: 3s;
}

.football-3 {
    left: 75%;
    animation-delay: 1.5s;
    animation-duration: 2.8s;
}

.football-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Slideshow Styles */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slideshow-slide.active {
    opacity: 1;
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slideshow-indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slideshow-indicator.active {
    background-color: var(--estrella-red);
    transform: scale(1.2);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/laestrella/laEstrella/assets/images/soccer-pattern.svg') repeat;
    background-size: 200px;
    opacity: 0.1;
    z-index: 0;
}

.league-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-top: 30px;
    height: 100%;
    background: var(--estrella-dark-gradient) !important;
}

.category-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--estrella-red);
}

.btn-estrella-red {
    background-color: var(--estrella-red);
    color: white;
    border: none;
    transition: all 0.3s ease;
    background-image: var(--estrella-gradient);
}

.btn-estrella-red:hover {
    background-image: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
    color: white;
}

.section-title {
    color: var(--estrella-black);
    font-weight: bold;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--estrella-gradient);
    border-radius: 2px;
}

.category-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: var(--estrella-gradient);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-ribbon {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--estrella-gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Estilos para el modal de torneos */
.tournament-modal-header {
    background: var(--estrella-dark-gradient) !important;
    color: white;
}

.tournament-modal-body {
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0) 4%) 25px 25px,
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.2) 1%, rgba(0, 0, 0, 0) 4%) 25px 25px,
        radial-gradient(circle at 25% 75%, rgba(227, 6, 19, 0.15) 1%, rgba(0, 0, 0, 0) 4%) 50px 50px,
        radial-gradient(circle at 75% 25%, rgba(227, 6, 19, 0.15) 1%, rgba(0, 0, 0, 0) 4%) 50px 50px,
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-size: 50px 50px, 50px 50px, 50px 50px, 50px 50px, 100% 100%;
    padding: 20px;
}

.tournament-btn {
    background: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    border-width: 2px;
}

.tournament-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tournament-logo {
    height: 40px;
    border-radius: 4px;
    margin-right: 10px;
}
