/* ===================================
   TOP 10 DEL MES - ABTV Streaming
   Sección curada a mano desde el panel admin
   =================================== */

.top10-section {
    margin-top: 2.5rem;
}

.top10-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top10-title-bar {
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    border-radius: 2px;
    background: linear-gradient(180deg, #fc018b 0%, #5225ba 100%);
}

/* Top 3 - tarjetas grandes horizontales */
.top10-top3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.top10-card-big {
    display: flex;
    gap: 1.15rem;
    padding: 1.1rem;
    background: var(--card-bg, #161616);
    border: 1px solid var(--border-subtle, #252525);
    border-radius: 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.top10-card-big:hover {
    border-color: rgba(252, 1, 139, 0.4);
    transform: translateY(-2px);
}

.top10-big-poster {
    position: relative;
    flex: 0 0 168px;
    width: 168px;
    aspect-ratio: 2 / 3;
    border-radius: 0.6rem;
    overflow: hidden;
    background: #222;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.top10-big-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top10-rank {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fc018b 0%, #5225ba 100%);
    border-radius: 0.375rem;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.top10-rank-big {
    font-size: 0.9rem;
    padding: 0.35rem 0.55rem;
}

.top10-rank-small {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
}

.top10-big-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top10-big-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.top10-big-meta {
    font-size: 0.8rem;
    color: var(--text-secondary, #999);
    margin-bottom: 0.5rem;
}

.top10-big-desc {
    font-size: 0.82rem;
    color: var(--text-secondary, #999);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* #4 al #10 - reutiliza .movie-card, solo agrega el badge de posición */
.top10-small-card .movie-poster {
    position: relative;
}

/* ===================================================================
   AJUSTES DE PROPORCION
   Los destacados (#1-#3) deben verse MAS grandes que el resto.
   Antes el carrusel usaba el ancho general de .movie-card (185px),
   dejando los secundarios mas grandes que los destacados.
   =================================================================== */

.top10-carousel .movie-card {
    width: 148px;
}

.top10-carousel .movie-title {
    font-size: 0.78rem;
}

/* Etiquetas de calidad algo mas compactas dentro del Top 10, para que
   4K + HD + HDR entren en un solo renglon sobre el poster. */
.top10-big-poster .badge-calidad,
.top10-small-card .badge-calidad {
    font-size: 0.58rem;
    padding: 3px 5px;
    letter-spacing: 0.03em;
}

.top10-big-poster .badges-calidad,
.top10-small-card .badges-calidad {
    gap: 3px;
}

/* El texto de la tarjeta grande se alinea arriba, junto al poster */
.top10-big-info {
    padding-top: 0.15rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .top10-top3 {
        grid-template-columns: 1fr;
    }

    .top10-card-big {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .top10-big-poster {
        flex-basis: 120px;
        width: 120px;
    }

    .top10-carousel .movie-card {
        width: 120px;
    }

    .top10-big-title {
        font-size: 0.95rem;
    }

    .top10-big-desc {
        -webkit-line-clamp: 2;
    }
}
