/* ==========================================
   WINNER COUNTDOWN SECTION
   Tagesgewinner mit Abholungs-Timer
   ========================================== */

.winner-countdown-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(212, 165, 116, 0.05) 100%
    );
}

.winner-card {
    background: linear-gradient(135deg, 
        rgba(212, 165, 116, 0.1) 0%, 
        rgba(178, 216, 247, 0.1) 50%, 
        rgba(212, 165, 116, 0.1) 100%
    );
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.2);
    overflow: hidden;
    position: relative;
}

.winner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.winner-card-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

/* Trophy Icon */
.winner-trophy-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: rgba(212, 165, 116, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212, 165, 116, 0.3);
}

.winner-trophy-icon svg {
    width: 32px;
    height: 32px;
    color: var(--wr-color-gold, #d4a574);
}

/* Content Area */
.winner-content {
    flex: 1;
}

.winner-title {
    font-family: 'Quicksand', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--wr-color-navy, #0f274d);
    margin: 0 0 1.5rem;
}

.winner-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.winner-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.winner-info-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.winner-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wr-color-navy, #0f274d);
    margin: 0;
}

.winner-prize {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--wr-color-navy, #0f274d);
    margin: 0;
}

.winner-sponsor {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wr-color-gold, #d4a574);
    margin: 0.25rem 0 0;
}

/* Countdown Box */
.winner-countdown-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.countdown-header svg {
    width: 16px;
    height: 16px;
    color: var(--wr-color-gold, #d4a574);
}

.countdown-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #555;
    margin: 0;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.countdown-unit {
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wr-color-navy, #0f274d);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
}

.countdown-text {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(15, 39, 77, 0.3);
    line-height: 1;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .winner-countdown-section {
        padding: 2rem 0;
    }

    .winner-card {
        padding: 1.5rem;
    }

    .winner-card-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .winner-trophy-icon {
        width: 56px;
        height: 56px;
    }

    .winner-trophy-icon svg {
        width: 28px;
        height: 28px;
    }

    .winner-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .winner-info-grid {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .winner-name {
        font-size: 1.25rem;
    }

    .winner-prize {
        font-size: 1rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .winner-card {
        padding: 1.25rem;
    }

    .winner-countdown-box {
        padding: 1rem;
    }

    .countdown-timer {
        gap: 0.75rem;
    }

    .countdown-number {
        font-size: 1.75rem;
    }

    .countdown-text {
        font-size: 0.65rem;
    }

    .countdown-separator {
        font-size: 1.25rem;
    }
}

/* Animation for countdown numbers */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.countdown-number {
    animation: pulse 1s ease-in-out;
}
