/* Enhanced Countdown Styles - Phase 1 */

.countdown-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 100%;
}

.countdown-units {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: flex-end;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  position: relative;
}

.countdown-number {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
  font-family: "MainFont", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.countdown-number[data-unit="days"] {
  color: #00566b;
}

.countdown-number[data-unit="hours"] {
  color: #ff6f61;
}

.countdown-number[data-unit="minutes"] {
  color: #4a90e2;
}

.countdown-number[data-unit="seconds"] {
  color: #28a745;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary, #666);
  font-weight: 500;
  margin-top: 0.25rem;
}

.countdown-separator {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-secondary, #999);
  align-self: flex-end;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.countdown-progress-container {
  width: 100%;
  max-width: 500px;
  margin-top: 1rem;
}

.countdown-progress-label {
  font-size: 0.85rem;
  color: var(--text-secondary, #666);
  text-align: center;
  margin-bottom: 0.5rem;
}

.countdown-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.countdown-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00566b 0%, #ff6f61 100%);
  border-radius: 4px;
  transition: width 1s ease;
  position: relative;
}

.countdown-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.countdown-event-info {
  text-align: center;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  max-width: 600px;
}

.countdown-event-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary, #00566b);
  margin-bottom: 0.5rem;
}

.countdown-event-date {
  font-size: 1.2rem;
  color: var(--text-secondary, #666);
  margin-bottom: 1rem;
}

.countdown-event-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary, #333);
  margin-top: 1rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .countdown-container {
    padding: 1rem;
    gap: 1rem;
  }

  .countdown-units {
    gap: 0.5rem;
  }

  .countdown-unit {
    min-width: 60px;
  }

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

  .countdown-label {
    font-size: 0.75rem;
  }

  .countdown-separator {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    padding: 0 0.1rem;
  }

  .countdown-event-title {
    font-size: 1.5rem;
  }

  .countdown-event-date {
    font-size: 1rem;
  }

  .countdown-event-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .countdown-number {
    font-size: 2rem;
  }

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

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

  .countdown-units {
    gap: 0.25rem;
  }

  .countdown-unit {
    min-width: 50px;
  }
}

/* Animation for number changes */
.countdown-number.changing {
  animation: pulse 0.5s ease;
}

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

