/* ===== HERO SLIDER ===== */
.hero-slider {
    height: min(500px, 50vh);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    position: relative;
    height: 100%;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(26,77,143,0.8) 0%, rgba(0,0,0,0.5) 100%);
}

.slide-text {
    position: absolute;
    bottom: 15%;
    left: 5%;
    right: 5%;
    color: white;
    z-index: 2;
    max-width: 600px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.slide.active .slide-text {
    transform: translateY(0);
    opacity: 1;
}

.slide-text h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    line-height: 1.2;
}

.slide-text p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 1rem);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.slide-btn:hover {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
}

.slider-dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* ===== SECCIONES ===== */
.section-fecha,
.section-noticias,
.section-posiciones {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: var(--spacing-lg) 0;
}

/* ===== PROXIMOS PARTIDOS ===== */
.proximos-partidos-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-bg);
    cursor: pointer;
    transition: background var(--transition-fast);
    width: 100%;
}

.proximos-partidos-item:hover {
    background: var(--color-bg);
}

.proximos-partidos-equipos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.proximos-partidos-equipo-local {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
    word-break: break-word;
    max-width: 45%;
}

.proximos-partidos-vs {
    color: var(--secondary);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.proximos-partidos-equipo-visitante {
    color: var(--text);
    word-break: break-word;
    max-width: 45%;
    text-align: right;
}

.proximos-partidos-info {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.proximos-partidos-categoria {
    background: var(--color-bg);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
}

/* ===== GOLEADORES ===== */
.goleadores-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-bg);
    gap: var(--spacing-sm);
    width: 100%;
}

.goleadores-item:last-child {
    border-bottom: none;
}

.goleadores-posicion {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.goleadores-info {
    flex: 1;
    min-width: 0;
}

.goleadores-nombre {
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goleadores-equipo {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goleadores-goles {
    background: var(--secondary);
    color: var(--primary);
    font-weight: var(--font-weight-bold);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

/* ===== BANNER SPONSOR ===== */
.banner-sponsor img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base);
}

.banner-sponsor:hover img {
    transform: scale(1.05);
}

/* ===== RESPONSIVE ESPECÍFICO PARA HOME ===== */
@media (max-width: 768px) {
    .proximos-partidos-equipos {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .proximos-partidos-equipo-local,
    .proximos-partidos-equipo-visitante {
        max-width: 100%;
        text-align: left;
    }
    
    .proximos-partidos-vs {
        align-self: center;
        margin: var(--spacing-xs) 0;
    }
    
    .goleadores-item {
        flex-wrap: wrap;
    }
    
    .goleadores-info {
        min-width: 100%;
        order: 2;
        margin-top: var(--spacing-xs);
    }
    
    .goleadores-goles {
        order: 1;
    }
}