/* Banner Core Styles */
#promo-banner {
    position: relative;
    overflow: hidden;
    display: flex; /* Flex is toggled by JS, but this stays as base */
    align-items: center;
    justify-content: center;
    min-height: 500px;
    border-top: 1px solid hsla(var(--primary)/0.3);
    border-bottom: 1px solid hsla(var(--primary)/0.3);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    margin: 4rem 0;
}

/* Background Animation (Ken Burns) */
#promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: zoomPan 20s infinite alternate ease-in-out;
    filter: brightness(0.6);
}

@keyframes zoomPan {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* Scanline Overlay */
#promo-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* Content Container (Glassmorphism) */
#promo-banner .container {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    max-width: 700px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.3s;
}

/* Text Animations */
#promo-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 0 10px hsla(var(--primary)/0.8);
    position: relative;
}

/* Glitch Effect on Hover */
#promo-banner:hover #promo-title {
    animation: glitchText 0.4s infinite;
}

@keyframes glitchText {
    0% { text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff; }
    25% { text-shadow: -2px 2px #ff00ff, 2px -2px #00ffff; }
    50% { text-shadow: 2px -2px #ff00ff, -2px 2px #00ffff; }
    75% { text-shadow: -2px -2px #ff00ff, 2px 2px #00ffff; }
    100% { text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff; }
}

/* Button Pulse */
#promo-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: hsl(var(--primary));
    color: white;
    border: none;
    box-shadow: 0 0 20px hsla(var(--primary)/0.5);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

#promo-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px hsla(var(--primary)/0.8);
}

#promo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Pulse */
#promo-banner .badge {
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
