/* ============================================
   PROMO BANNER - Temporary Event Promotion
   Easy to remove: delete this file, promo.js,
   and the promo block in index.html
   ============================================ */

/* Promo Modal Overlay */
.promo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.promo-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Promo Container */
.promo-container {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #151515);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 255, 136, 0.15);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.promo-modal.active .promo-container {
    transform: scale(1) translateY(0);
}

/* Promo Header */
.promo-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--neon-green, #00ff88);
    text-transform: uppercase;
}

.promo-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green, #00ff88);
    box-shadow: 0 0 12px var(--neon-green, #00ff88);
    animation: promoPulse 2s ease-in-out infinite;
}

@keyframes promoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.promo-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary, #b0b0b0);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    line-height: 1;
}

.promo-close:hover {
    background: var(--electric-pink, #ff3366);
    border-color: var(--electric-pink, #ff3366);
    color: #fff;
    transform: rotate(90deg);
}

/* Carousel */
.promo-carousel {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    background: #000;
    overflow: hidden;
}

.promo-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.promo-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Carousel Nav Arrows */
.promo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.promo-nav:hover {
    background: var(--neon-green, #00ff88);
    color: #000;
    border-color: var(--neon-green, #00ff88);
}

.promo-nav.prev { left: 16px; }
.promo-nav.next { right: 16px; }

.promo-nav svg {
    width: 20px;
    height: 20px;
}

/* Dots Indicator */
.promo-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.promo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.promo-dot.active {
    background: var(--neon-green, #00ff88);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--neon-green, #00ff88);
}

/* Promo Footer */
.promo-footer {
    padding: 24px;
    text-align: center;
}

.promo-title {
    font-family: var(--font-display, 'Bebas Neue', sans-serif);
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
    color: var(--text-primary, #fff);
    line-height: 1.1;
}

.promo-title .promo-highlight {
    color: var(--neon-green, #00ff88);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.promo-subtitle {
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.95rem;
    color: var(--text-secondary, #b0b0b0);
    margin: 0 0 20px;
    line-height: 1.5;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--neon-green, #00ff88);
    color: var(--bg-primary, #0a0a0a);
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.promo-cta:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.promo-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.promo-cta:hover svg {
    transform: translate(3px, -3px);
}

/* Floating Reopen Button (appears after modal is closed) */
.promo-reopen {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    background: var(--bg-card, #151515);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--text-primary, #fff);
    font-family: var(--font-body, 'Barlow', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 255, 136, 0.15);
    transform: translateY(80px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, background 0.2s ease, border-color 0.2s ease;
}

.promo-reopen.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.promo-reopen:hover {
    background: var(--neon-green, #00ff88);
    border-color: var(--neon-green, #00ff88);
    color: var(--bg-primary, #0a0a0a);
}

.promo-reopen .reopen-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neon-green, #00ff88);
    color: var(--bg-primary, #0a0a0a);
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.promo-reopen:hover .reopen-icon {
    background: var(--bg-primary, #0a0a0a);
    color: var(--neon-green, #00ff88);
}

.promo-reopen .reopen-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--electric-pink, #ff3366);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--electric-pink, #ff3366);
    animation: promoPulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 600px) {
    .promo-reopen {
        bottom: 16px;
        left: 16px;
        padding: 10px 14px 10px 12px;
        font-size: 0.7rem;
    }
    
    .promo-reopen .reopen-icon {
        width: 22px;
        height: 22px;
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .promo-modal {
        padding: 16px;
    }
    
    .promo-container {
        max-width: 100%;
    }
    
    .promo-header {
        padding: 16px 20px;
    }
    
    .promo-title {
        font-size: 1.4rem;
    }
    
    .promo-subtitle {
        font-size: 0.85rem;
    }
    
    .promo-cta {
        padding: 12px 20px;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    
    .promo-nav {
        width: 36px;
        height: 36px;
    }
    
    .promo-nav.prev { left: 8px; }
    .promo-nav.next { right: 8px; }
    
    .promo-footer {
        padding: 20px;
    }
}
