/**
 * Styles for Jagacon 2025 Countdown Timer - Custom Color Theme
 */

.etp-countdown-timer-container {
    font-family: 'Montserrat', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #332920, #483425);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(208, 176, 140, 0.2);
    color: #fff;
    border: 1px solid rgba(208, 176, 140, 0.3);
    position: relative;
    overflow: hidden;
}

.etp-countdown-timer-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(208, 176, 140, 0.1) 0%, rgba(208, 176, 140, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.etp-timer-message {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #f5f0e9;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.etp-timer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.etp-countdown-timer {
    display: flex;
    justify-content: center;
    margin: 0 -10px;
    position: relative;
    z-index: 1;
}

.etp-timer-section {
    margin: 0 10px;
    min-width: 80px;
    position: relative;
}

.etp-timer-amount {
    font-size: 40px;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 0;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(208, 176, 140, 0.4);
}

.etp-timer-amount::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.etp-timer-amount::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(208, 176, 140, 0.15) 0%, rgba(208, 176, 140, 0) 100%);
    pointer-events: none;
}

.etp-timer-period {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d0b08c;
    font-weight: 600;
    position: relative;
}

.etp-timer-expired {
    font-size: 24px;
    margin: 20px 0;
    font-weight: bold;
    color: #d0b08c;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.etp-timer-not-set {
    color: #d0b08c;
    padding: 15px;
    background-color: rgba(208, 176, 140, 0.1);
    border: 1px solid rgba(208, 176, 140, 0.3);
    border-radius: 8px;
    margin: 15px 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Animation for digits when they change */
@keyframes numberChange {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.etp-timer-amount.changed {
    animation: numberChange 0.3s ease-out;
}

/* Pulse animation for urgency */
@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 0 rgba(208, 176, 140, 0.7);
    }
    70% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 15px rgba(208, 176, 140, 0);
    }
    100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 0 rgba(208, 176, 140, 0);
    }
}

.etp-timer-amount.seconds-low {
    animation: pulse 2s infinite;
    color: #e9c89a;
}

/* Final day effect */
.etp-countdown-timer-container.final-day {
    background: linear-gradient(135deg, #4e3a20, #5f462a);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(208, 176, 140, 0.3);
    border-color: rgba(208, 176, 140, 0.6);
}

.etp-countdown-timer-container.final-day::before {
    background: radial-gradient(circle, rgba(208, 176, 140, 0.15) 0%, rgba(208, 176, 140, 0) 70%);
    animation: pulse-bg 3s infinite alternate;
}

@keyframes pulse-bg {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

.etp-countdown-timer-container.final-day .etp-timer-title {
    color: #e9c89a;
}

/* Admin Panel Preview Styles */
.etp-admin-wrap .etp-timer-preview {
    margin-top: 30px;
    border: 1px solid #e2e4e7;
    padding: 20px;
    background-color: #f8f9f9;
}

/* Responsive Styles */
@media (max-width: 500px) {
    .etp-countdown-timer {
        flex-wrap: wrap;
    }
    
    .etp-timer-section {
        flex: 1 1 35%;
        margin-bottom: 15px;
    }
    
    .etp-timer-amount {
        font-size: 32px;
        padding: 10px 0;
    }
    
    .etp-timer-title {
        font-size: 20px;
    }
} 