#expansion-countdowns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

.timer-item {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 80px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.timer-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.timer-clock {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    display: none;
    gap: 0.6rem;
    margin-top: 0.4rem;
    align-items: baseline;
}

.clock-unit {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.clock-unit small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Featured (Midnight Launch) */
.timer-item.featured {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.2);
}

.timer-item.featured .timer-clock {
    display: flex;
}

/* Hover Swap Logic */
#expansion-countdowns:hover .timer-item.featured .timer-clock {
    display: none;
}

.timer-item:hover {
    background: rgba(139, 92, 246, 0.25) !important;
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.timer-item:hover .timer-clock {
    display: flex !important;
}

.timer-item:hover .timer-label {
    color: #fff;
}

/* Live State */
.timer-live {
    color: #22c55e;
    font-size: 1.1rem;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
    #expansion-countdowns {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        width: 100%;
        max-width: 500px;
    }

    .timer-item {
        min-width: 0;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    #expansion-countdowns {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .timer-label {
        font-size: 0.75rem;
    }

    .timer-clock {
        font-size: 1.1rem;
        gap: 0.4rem;
    }
}