.collection-timer-title a {
    color: var(--collection-timer-title-text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.collection-timer-title a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.collection-timer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--collection-timer-bg);
    color: var(--collection-timer-title-text-color);
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: box-shadow 0.3s ease;
}

.collection-timer-container::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: var(--collection-timer-bg);
    border-radius: 14px;
    opacity: 0;
    z-index: -1;
    animation: pulse-border-timer 2s infinite ease-in-out;
    filter: blur(3px);
}

@keyframes pulse-border-timer {
    0% {
        transform: scale(1);
        opacity: 0; 
    }
    20% {
        transform: scale(1.01); 
        opacity: 0.4; 
    }
    70% {
        transform: scale(1.02); 
        opacity: 0; 
    }
    100% {
        transform: scale(1);
        opacity: 0; 
    }
}

.collection-timer-container:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.collection-timer-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.collection-timer-content {
    display: flex;
    gap: 15px;
    font-size: 22px;
}

.collection-timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--exclusive-timer-box-bg);
    color: var(--exclusive-timer-box-text-color);
    padding: 15px 20px;
    border-radius: 12px;
    min-width: 80px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.collection-timer-box:hover {
    transform: scale(1.05);
}

.collection-timer-box span {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}
.collection-timer-label {
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
}

.collection-timer-message {
    font-size: 18px;
    margin: 15px 0;
    background: var(--collection-timer-highlight-bg);
    color: var(--collection-timer-highlight-text);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 0.5px;
    animation: scaleAnimation 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-icon {
    animation: flameFlicker 1s infinite;
    margin: 0 5px;
}

@keyframes scaleAnimation {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes flameFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}


/* Estilos para la flecha animada */
.scroll-arrow-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 5px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    fill: var(--scroll-arrow-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Clase específica para ocultar elementos del temporizador */
.collection-timer-expired {
    display: none !important;
}

/* Clase específica para ocultar la colección cuando expira */
.collection-expired {
    display: none !important;
}

@media (max-width: 480px) {
    .collection-timer-content {
        display: flex;
        flex-wrap: nowrap; 
        justify-content: center;
        padding: 11px;
        gap: 5px; 
        overflow: hidden; 
    }

    .collection-timer-box {
        min-width: 70px;
        padding: 12px 16px;
    }

    .collection-timer-box span {
        font-size: 24px;
    }

    .collection-timer-label {
        font-size: 11px;
    }

    .collection-timer-message {
        font-size: 16px;
        padding: 6px 12px;
    }

    .scroll-arrow {
        width: 30px;
        height: 30px;
    }
}
