/**
 * Gaming Enhancements - Приоритет 1
 * Улучшения для стильного игрового вида
 */

/* ============================================
   БЕЙДЖИ СРОЧНОСТИ
   ============================================ */

.urgency-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge-hot,
.badge-new,
.badge-limited {
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: badgePulse 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.badge-hot {
  background: linear-gradient(135deg, #0099CC 0%, #0088BB 100%);
  box-shadow: 0 4px 20px rgba(0, 153, 204, 0.6);
}

.badge-new {
  background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
  box-shadow: 0 4px 20px rgba(81, 207, 102, 0.6);
}

.badge-limited {
  background: linear-gradient(135deg, #ff922b 0%, #ff8787 100%);
  box-shadow: 0 4px 20px rgba(255, 146, 43, 0.6);
}

.badge-hot::before,
.badge-new::before,
.badge-limited::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  animation: badgeShine 2s infinite;
  pointer-events: none;
}

@keyframes badgePulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes badgeShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ============================================
   ТАЙМЕРЫ
   ============================================ */

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 25px;
  color: #ffd700;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  animation: timerPulse 2s ease-in-out infinite;
}

.countdown-timer .timer-icon {
  font-size: 16px;
  animation: timerTick 1s ease-in-out infinite;
}

.countdown-timer .timer-text {
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

@keyframes timerPulse {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
  }
  50% { 
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.7);
  }
}

@keyframes timerTick {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ============================================
   УЛУЧШЕННАЯ ВИЗУАЛИЗАЦИЯ БОНУСОВ
   ============================================ */

.bonus-enhanced {
  position: relative;
  display: inline-block;
}

.bonus-amount-large {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #D4AF37 0%, #FFD700 20%, #F4D03F 40%, #FFD700 60%, #F4D03F 80%, #FFD700 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.7));
  animation: bonusPulseLarge 2s ease-in-out infinite, bonusShimmerLarge 3s linear infinite;
  position: relative;
}

.bonus-amount-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  animation: bonusGlow 2s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes bonusPulseLarge {
  0%, 100% { 
    transform: scale(1);
    filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.7)) brightness(1);
  }
  50% { 
    transform: scale(1.1);
    filter: drop-shadow(0 6px 25px rgba(255, 215, 0, 0.9)) brightness(1.3);
  }
}

@keyframes bonusShimmerLarge {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* Эффект капающих монет */
.bonus-coin-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.bonus-coin-effect::before,
.bonus-coin-effect::after {
  content: '💰';
  position: absolute;
  font-size: 20px;
  animation: coinDrop 3s ease-in infinite;
  opacity: 0;
}

.bonus-coin-effect::before {
  left: 20%;
  animation-delay: 0s;
}

.bonus-coin-effect::after {
  left: 80%;
  animation-delay: 1.5s;
}

@keyframes coinDrop {
  0% {
    top: -20px;
    opacity: 0;
    transform: rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
    transform: rotate(360deg);
  }
}

/* ============================================
   СОЦИАЛЬНОЕ ДОКАЗАТЕЛЬСТВО
   ============================================ */

.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(81, 207, 102, 0.2);
  border: 1px solid rgba(81, 207, 102, 0.4);
  border-radius: 20px;
  color: #51cf66;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.social-proof-badge .icon {
  font-size: 16px;
}

/* ============================================
   ДОСТУПНОСТЬ - УВАЖЕНИЕ К ПРЕДПОЧТЕНИЯМ ПОЛЬЗОВАТЕЛЯ
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .badge-hot,
  .badge-new,
  .badge-limited,
  .countdown-timer,
  .bonus-amount-large,
  .btn--secondary {
    animation: none !important;
  }
  
  .brands-item {
    transition: none !important;
  }
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 991px) {
  .urgency-badge {
    top: 15px;
    right: 15px;
    gap: 8px;
  }
  
  .badge-hot,
  .badge-new,
  .badge-limited {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .bonus-amount-large {
    font-size: 48px;
  }
  
  .countdown-timer {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .urgency-badge {
    top: 10px;
    right: 10px;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .bonus-amount-large {
    font-size: 36px;
  }
}

