/* ==========================================================================
   COUNTDOWN COMPONENT
   Beautiful countdown display with progress tracking
   ========================================================================== */

/* Countdown container */
.countdown {
  display: flex;
  gap: var(--spacing-lg);
  font-size: 2em;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: center;
  margin: var(--spacing-lg) 0;
}

/* Time boxes */
.time-box {
  background: rgba(255, 255, 255, 0.15);
  padding: var(--spacing-lg) var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  min-width: 120px;
}

.time-box:hover {
  transform: translateY(-5px);
}

.time-value {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.time-label {
  font-size: 0.5em;
  color: var(--theme-text-muted);
  margin-top: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Progress section */
.progress-section {
  width: 100%;
  max-width: 500px;
  margin: var(--spacing-xl) 0;
}

.progress-container {
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-sm);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6f91, #ff9671, #ffc75f);
  transition: width 1s ease-in-out;
  border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.progress-text {
  font-size: 1.1em;
  color: var(--theme-text-secondary);
  font-weight: 600;
  text-align: center;
}

/* Responsive countdown */
@media (max-width: 768px) {
  .countdown {
    font-size: 1.5em;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .time-box {
    padding: var(--spacing-md) var(--spacing-lg);
    min-width: 80px;
    margin-bottom: var(--spacing-sm);
  }
  
  .progress-container {
    width: 90%;
    margin: var(--spacing-lg) auto;
  }
  
  .progress-text {
    font-size: 1em;
    padding: 0 var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .countdown {
    font-size: 1.2em;
    gap: var(--spacing-sm);
  }
  
  .time-box {
    padding: var(--spacing-sm) var(--spacing-md);
    min-width: 65px;
    font-size: 0.9em;
  }
  
  .countdown-title {
    font-size: 1.8em;
    margin-bottom: var(--spacing-md);
  }
  
  .progress-text {
    font-size: 0.9em;
    line-height: 1.4;
  }
}

@media (max-width: 320px) {
  .countdown {
    font-size: 1em;
    gap: var(--spacing-xs);
  }
  
  .time-box {
    padding: var(--spacing-xs) var(--spacing-sm);
    min-width: 55px;
    font-size: 0.8em;
  }
  
  .countdown-title {
    font-size: 1.5em;
  }
}
