/**
 * Banner System Styles
 * Banners con aspect ratios fijos por tipo
 */

/* Banner Container - Fixed en esquina inferior derecha */
.banner-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    pointer-events: none;
    z-index: 3;
}

/* Banner Individual */
.banner {
    position: relative;
    width: 300px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    z-index: 2;

}

/* Banner Visible State */
.banner.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 1003!important;

}

/* Banner Types - Aspect Ratios basados en el ID */
.banner[data-banner-id="welcome"],
.banner[data-banner-id="penthouse-pets"] {
    aspect-ratio: 16 / 9;
    /* Horizontal banners */
}

.banner[data-banner-id="premium-movies"],
.banner[data-banner-id="popular-scenes"],
.banner[data-banner-id="confidential"] {
    aspect-ratio: 3 / 4;
    /* Vertical banners */
}

/* Banner Image */
.banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner Content Overlay - CON MÁS ALTURA */
.banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 60%;
    /* ← AÑADE ESTO: cubre el 60% de la imagen */
    padding: 20px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Alinea contenido al fondo */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.95) 8%,
            rgba(0, 0, 0, 0.92) 12%,
            rgba(0, 0, 0, 0.88) 16%,
            rgba(0, 0, 0, 0.84) 20%,
            rgba(0, 0, 0, 0.80) 24%,
            rgba(0, 0, 0, 0.75) 28%,
            rgba(0, 0, 0, 0.70) 32%,
            rgba(0, 0, 0, 0.65) 36%,
            rgba(0, 0, 0, 0.60) 40%,
            rgba(0, 0, 0, 0.54) 44%,
            rgba(0, 0, 0, 0.48) 48%,
            rgba(0, 0, 0, 0.42) 52%,
            rgba(0, 0, 0, 0.35) 56%,
            rgba(0, 0, 0, 0.28) 60%,
            rgba(0, 0, 0, 0.22) 64%,
            rgba(0, 0, 0, 0.16) 68%,
            rgba(0, 0, 0, 0.10) 72%,
            rgba(0, 0, 0, 0.06) 76%,
            rgba(0, 0, 0, 0.03) 80%,
            transparent 85%);
    color: white;
}

.banner__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #D4AF37;
}

.banner__description {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Close Button */
.banner__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.banner__close:hover {
    background: rgba(212, 175, 55, 0.9);
    transform: scale(1.1);
}

/* CTA Button */
.banner__cta {
    margin-top: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    text-align: center;
}

.banner__cta:hover {
    background: #E5C158;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-container {
        bottom: 10px;
        right: 10px;
    }

    .banner {
        width: 200px;
    }

    .banner__content {
        padding: 12px;
    }

    .banner__title {
        font-size: 12px;
    }

    .banner__description {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .banner {
        width: 160px;
    }

    .banner__content {
        padding: 8px;
    }

    .banner__title {
        font-size: 11px;
    }

    .banner__description {
        display: none;
    }

    .banner__cta {
        font-size: 10px;
        padding: 4px 8px;
    }
}