/* X2 Limited Bonus Banner Styles */

.x2-bonus-banner--limited {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.x2-bonus-banner--limited::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.x2-bonus-banner--used {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.x2-bonus-banner--expired {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.x2-limited-info {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.x2-limited-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.x2-limited-label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.x2-limited-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
}

.x2-limited-progress {
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.x2-limited-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.x2-limited-warning {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fef3c7;
    text-align: center;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Обновление счётчика в реальном времени */
.x2-limited-value.updating {
    animation: countUpdate 0.5s ease;
}

@keyframes countUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #fbbf24; }
    100% { transform: scale(1); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .x2-limited-info {
        padding: 12px;
    }
    
    .x2-limited-label {
        font-size: 13px;
    }
    
    .x2-limited-value {
        font-size: 16px;
        padding: 3px 10px;
    }
    
    .x2-limited-warning {
        font-size: 12px;
    }
}
