/* ==========================================================================
   POPUP.CSS - Fireworks Overlay, Timing Bar, Read-More & Instant Support
   ========================================================================== */

/* Promo Fireworks Overlay Card */
.promo-popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.promo-popup-card {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--bg-card);
    border: 2px solid #ff6b00;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-popup-overlay.active .promo-popup-card {
    transform: scale(1);
}

.fireworks-canvas-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

#fireworksCanvas {
    width: 100%;
    height: 100%;
}

.promo-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 10;
}

.promo-popup-content {
    padding: 35px 25px 25px 25px;
    position: relative;
    z-index: 2;
}

.popup-badge {
    font-family: var(--tech-font);
    font-size: 0.75rem;
    background: #ff6b00;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.promo-popup-content h2 {
    font-family: var(--tech-font);
    font-size: 1.5rem;
    margin: 15px 0 10px 0;
}

.popup-price {
    font-family: var(--tech-font);
    font-size: 2.8rem;
    font-weight: 900;
    color: #ff6b00;
    margin-bottom: 10px;
}

/* Timer Bar at Bottom */
.promo-timer-bar {
    background: rgba(0,0,0,0.2);
    padding: 8px 15px;
    font-size: 0.78rem;
    font-family: var(--tech-font);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-color);
}

.timer-progress {
    position: absolute;
    bottom: 0; left: 0; height: 3px;
    background: #ff6b00;
    width: 100%;
    transition: width 1s linear;
}

/* Generic Read More & Technical Support Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--accent-blue);
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    position: relative;
    box-shadow: var(--card-shadow);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--text-primary);
    cursor: pointer;
}

.modal-content h3 {
    font-family: var(--tech-font);
    color: var(--accent-blue);
    margin-bottom: 15px;
}