﻿.christmas-timer {
    background: linear-gradient(90deg, #B80000, #D90000, #B80000);
    color: #fff;
    z-index: 1080;
    border-bottom: 2px solid gold;
    padding: 6px 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    animation: glowPulse 3s infinite ease-in-out;
}

/* mobile layout */
.timer-inner {
    display: flex;
    flex-direction: column; /* mobile-first */
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-align: center;
}

/* mobile sizes */
.timer-icon {
    font-size: 1.2rem;
    animation: santaShake 1s infinite;
}

.timer-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFD700;
    letter-spacing: 0.5px;
}

.timer-countdown {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255,255,255,0.6);
    border-left: none; /* remove no mobile */
    padding-left: 0;
    margin-left: 0;
}

/* 🔥 Animations */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 8px rgba(227,198,99, .2);
    }

    50% {
        box-shadow: 0 0 16px rgba(227,198,99, .5);
    }

    100% {
        box-shadow: 0 0 8px rgba(227,198,99, .2);
    }
}

@keyframes santaShake {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* —————————————————————————— */
/* DESKTOP BREAKPOINT */
/* —————————————————————————— */
@media (min-width: 576px) {

    .timer-inner {
        flex-direction: row;
        gap: 12px;
    }

    .timer-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .timer-countdown {
        border-left: 2px solid rgba(255,255,255,0.3);
        padding-left: 12px;
        margin-left: 10px;
        font-size: 1.1rem;
    }

    .timer-icon {
        font-size: 1.4rem;
    }

    .christmas-timer {
        padding: 10px 16px;
    }
}

/* Extra desktop (grandes telas) */
@media (min-width: 992px) {
    .timer-title {
        font-size: 1.2rem;
    }

    .timer-countdown {
        font-size: 1.2rem;
    }
}
