/**
 * SeasonBoost Public Styles
 */
.seasonboost-snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
    /* Increased for Theme Compatibility */
}

/* Countdown Bar with Top/Bottom Support */
.seasonboost-countdown-bar {
    position: fixed;
    left: 0;
    width: 100%;
    background: #C41E3A;
    color: #fff;
    z-index: 999998;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    font-family: inherit;
    /* Inherit site font */
    transition: transform 0.3s ease;
}

.seasonboost-top {
    top: 0;
}

.seasonboost-bottom {
    bottom: 0;
}

.seasonboost-countdown-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.seasonboost-countdown-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#seasonboost-timer {
    font-weight: 700;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
    min-width: 150px;
    display: inline-block;
}

.seasonboost-countdown-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
}

.seasonboost-countdown-close:hover {
    color: #fff;
}

/* Popup Module */
.seasonboost-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    /* overridden by inline style initial state, but needed for centered layout */
    justify-content: center;
    align-items: center;
    z-index: 999999;
    /* Increased for Theme Compatibility */
}

.seasonboost-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.seasonboost-popup-content {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    z-index: 1000000;
    /* Highest priority */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: sb-pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.seasonboost-popup-content h3 {
    margin-top: 0;
    color: #C41E3A;
    font-size: 24px;
}

.seasonboost-popup-btn {
    background: #C41E3A;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

.seasonboost-popup-btn:hover {
    background: #A01830;
}

.seasonboost-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

@keyframes sb-pop-in {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}