/**
 * プロモーションカウントダウンスタイル
 */

.promo-countdown-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-countdown-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.promo-countdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.promo-countdown-container:hover::before {
    left: 100%;
}

.promo-countdown-header h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.promo-countdown-header p {
    margin: 0 0 20px 0;
    font-size: 16px;
    opacity: 0.9;
}

.promo-countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 10px;
    border-radius: 10px;
    min-width: 70px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.countdown-number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.countdown-label {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.promo-countdown-message {
    margin-top: 15px;
}

.promo-countdown-message p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

/* 緊急状態のスタイル */
.promo-countdown-container.urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.promo-countdown-container.urgent .countdown-number {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 期限切れのスタイル */
.promo-countdown-expired {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 15px;
    text-align: center;
}

.promo-countdown-expired h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.promo-countdown-expired p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .promo-countdown-container {
        margin: 10px 0;
        padding: 15px;
    }
    
    .promo-countdown-header h3 {
        font-size: 20px;
    }
    
    .promo-countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 8px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .countdown-separator {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .promo-countdown-timer {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 10px 6px;
    }
    
    .countdown-number {
        font-size: 20px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
}
