.countdown-wrapper {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* BOMS Logo - Moving Laser Border */
.logo-container {
    position: relative;
    display: inline-block;
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    border-radius: 10px;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 40%,
            #00ffff 50%,
            transparent 60%,
            transparent 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: laserMove 2s linear infinite;
    pointer-events: none;
}

@keyframes laserMove {
    0% {
        background-position: -500px 0;
    }

    100% {
        background-position: 500px 0;
    }
}

.logo-container img {
    display: block;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.4));
}

.logo-container:hover img {
    transform: scale(1.02);
}

.countdown-title {
    font-size: 24px;
    letter-spacing: 4px;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
    }
}

.countdown-grid {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-box {
    background: linear-gradient(145deg, rgba(20, 0, 0, 0.9), rgba(40, 0, 0, 0.8));
    border: 2px solid #ff2e2e;
    box-shadow:
        0 0 20px rgba(255, 46, 46, 0.4),
        0 0 40px rgba(255, 46, 46, 0.2),
        inset 0 0 20px rgba(255, 46, 46, 0.1);
    padding: 20px 25px;
    border-radius: 12px;
    min-width: 90px;
    animation: boxGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.countdown-box:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 30px rgba(255, 46, 46, 0.6),
        0 0 60px rgba(255, 46, 46, 0.4),
        inset 0 0 30px rgba(255, 46, 46, 0.2);
}

/* Heartbeat Animation */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.05);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.03);
    }

    56% {
        transform: scale(1);
    }
}

/* Glowing Animation */
@keyframes boxGlow {

    0%,
    100% {
        border-color: #ff2e2e;
        box-shadow:
            0 0 20px rgba(255, 46, 46, 0.4),
            0 0 40px rgba(255, 46, 46, 0.2),
            inset 0 0 20px rgba(255, 46, 46, 0.1);
    }

    50% {
        border-color: #ff6b6b;
        box-shadow:
            0 0 30px rgba(255, 107, 107, 0.6),
            0 0 60px rgba(255, 107, 107, 0.3),
            inset 0 0 30px rgba(255, 107, 107, 0.15);
    }
}

.countdown-box .count-number {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 46, 46, 0.5);
    animation: numberPulse 1s ease-in-out infinite;
}

@keyframes numberPulse {

    0%,
    100% {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 46, 46, 0.5);
    }

    50% {
        text-shadow:
            0 0 15px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(255, 46, 46, 0.8);
    }
}

.countdown-box .count-label {
    font-size: 12px;
    color: #ff9999;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Stagger animation delays for each box */
.countdown-box:nth-child(1) {
    animation-delay: 0s, 0s;
}

.countdown-box:nth-child(2) {
    animation-delay: 0.1s, 0.1s;
}

.countdown-box:nth-child(3) {
    animation-delay: 0.2s, 0.2s;
}

.countdown-box:nth-child(4) {
    animation: heartbeat 1s ease-in-out infinite, boxGlow 2s ease-in-out infinite;
}