/* ========================================
   DICED CUTOFF TIMER - Styles
   ======================================== */

:root {
    --diced-t-primary: #1B4332;
    --diced-t-accent: #2D6A4F;
    --diced-t-highlight: #D4A017;
    --diced-t-red: #C62828;
    --diced-t-white: #FFFFFF;
    --diced-t-dark: #111827;
    --diced-t-gray: #6B7280;
}

/* ===== BANNER STYLE ===== */
.diced-cutoff-banner {
    width: 100%;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    color: var(--diced-t-white);
    position: relative;
    z-index: 999;
}
.diced-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 16px;
    flex-wrap: wrap;
}
.diced-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.diced-banner-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.diced-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.diced-banner-headline {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.diced-banner-headline strong {
    color: var(--diced-t-highlight);
}
.diced-banner-subtext {
    font-size: 13px;
    opacity: 0.9;
}
.diced-banner-countdown {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}
.diced-banner-countdown .diced-timer-value {
    display: inline;
    font-weight: 800;
    font-size: 14px;
    color: var(--diced-t-highlight);
}
.diced-banner-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--diced-t-highlight);
    color: var(--diced-t-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.diced-banner-cta:hover {
    background: #E8B520;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: var(--diced-t-dark);
    text-decoration: none;
}

/* Expired banner */
.diced-banner-expired .diced-banner-inner {
    background: rgba(0,0,0,0.15);
    border-radius: 0;
}
.diced-banner-expired .diced-banner-headline strong {
    color: #FF8A80;
}

/* Urgency pulse when under 2 hours */
.diced-cutoff-banner.diced-timer-urgent {
    animation: diced-urgentPulse 2s ease-in-out infinite;
}
@keyframes diced-urgentPulse {
    0%, 100% { background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%); }
    50% { background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%); }
}

/* ===== COMPACT TIMER STYLE ===== */
.diced-cutoff-timer {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--diced-t-white);
    border: 2px solid var(--diced-t-primary);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.diced-timer-label {
    font-size: 14px;
    color: var(--diced-t-gray);
    font-weight: 500;
}
.diced-timer-label strong {
    color: var(--diced-t-primary);
    font-weight: 700;
}
.diced-timer-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}
.diced-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}
.diced-timer-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--diced-t-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.diced-timer-unit-label {
    font-size: 11px;
    color: var(--diced-t-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}
.diced-timer-sep {
    font-size: 24px;
    font-weight: 700;
    color: var(--diced-t-primary);
    opacity: 0.4;
    margin-top: -12px;
}

/* Timer style variants */
.diced-timer-minimal {
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: none;
    flex-direction: row;
    gap: 12px;
}
.diced-timer-minimal .diced-timer-value {
    font-size: 18px;
}
.diced-timer-minimal .diced-timer-unit {
    min-width: auto;
}
.diced-timer-minimal .diced-timer-sep {
    font-size: 16px;
    margin-top: -6px;
}
.diced-timer-minimal .diced-timer-unit-label {
    display: none;
}

.diced-timer-large .diced-timer-value {
    font-size: 40px;
}
.diced-timer-large .diced-timer-unit {
    min-width: 64px;
    background: var(--diced-t-primary);
    color: var(--diced-t-white);
    padding: 12px 8px;
    border-radius: 8px;
}
.diced-timer-large .diced-timer-value {
    color: var(--diced-t-white);
}
.diced-timer-large .diced-timer-unit-label {
    color: rgba(255,255,255,0.7);
}
.diced-timer-large .diced-timer-sep {
    font-size: 30px;
    color: var(--diced-t-primary);
    opacity: 0.6;
    margin-top: -16px;
}

/* Urgent state for compact timer */
.diced-cutoff-timer.diced-timer-urgent {
    border-color: var(--diced-t-red);
}
.diced-cutoff-timer.diced-timer-urgent .diced-timer-value {
    color: var(--diced-t-red);
}
.diced-cutoff-timer.diced-timer-urgent .diced-timer-label strong {
    color: var(--diced-t-red);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .diced-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 10px 16px;
        gap: 10px;
    }
    .diced-banner-left {
        flex-direction: column;
        gap: 4px;
    }
    .diced-banner-icon {
        display: none;
    }
    .diced-banner-cta {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
    .diced-cutoff-timer {
        padding: 12px 16px;
    }
    .diced-timer-value {
        font-size: 22px;
    }
    .diced-timer-unit {
        min-width: 40px;
    }
}
