/* ─── PRESALE COUNTDOWN STYLES ─── */

/* Button States */
.presale-disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  position: relative;
}

.presale-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.presale-imminent {
  position: relative;
  opacity: 0.9;
}

.presale-live {
  animation: glow-pulse 2s ease-in-out infinite;
  background: linear-gradient(135deg, orangered 0%, orangered 100%);
}

.presale-ended {
  opacity: 0.4;
  cursor: not-allowed !important;
  background: #333;
}

/* Countdown Badge */
.countdown-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: orangered;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-family: var(--font-secondary);
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 71, 71, 0.4);
  animation: badge-pulse 2s ease-in-out infinite;
}

/* Info Modal Styles */
.info-modal {
  background: var(--color-dark-bg);
  border: 2px solid #4CD5FF;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.info-modal-inner {
  text-align: center;
}

/* Fix close button position for info modal */
.info-modal .close-button {
  top: 10px;
  right: 10px;
}

.modal-title {
  font-family: var(--font-primary);
  font-size: 3rem;
  color: orangered;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.launch-date {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.countdown-display {
  background: rgba(76, 213, 255, 0.1);
  border: 1px solid rgba(76, 213, 255, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.countdown-numbers {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: orangered;
  letter-spacing: 2px;
}

.presale-info h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: white;
  margin: 2rem 0 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.checklist li {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
  font-family: var(--font-primary);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modal-actions .btn-primary {
  background: orangered;
  color: white;
  border: 2px solid black;
}

.modal-actions .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid orangered;
}

.modal-footer {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  color: white;
  margin-top: 2rem;
}

.grumpus-note {
  font-style: italic;
  color: orangered;
}

/* Live Banner */
.live-banner {
  position: fixed;
  top: 75px; /* Below header */
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #000 0%, #111 50%, #000 100%);
  border-bottom: 2px solid #4CD5FF;
  z-index: 1000;
  transform: translateY(-100%);
}

.live-banner.slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem;
}

.live-indicator {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: #FF4747;
  animation: blink 1.5s ease-in-out infinite;
}

.banner-text {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: #4CD5FF;
}

/* Animations */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(76, 213, 255, 0.4); }
  50% { box-shadow: 0 0 40px rgba(76, 213, 255, 0.8); }
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes pulse-live {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes slideDown {
  to { transform: translateY(0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .countdown-badge {
    font-size: 0.65rem;
    padding: 3px 6px;
  }
  
  .modal-title {
    font-size: 2rem;
  }
  
  .countdown-numbers {
    font-size: 1.5rem;
  }
  
  .info-modal {
    padding: 1.5rem;
    width: 95%;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .modal-actions .btn-primary,
  .modal-actions .btn-secondary {
    width: 100%;
  }
  
  .live-banner {
    top: 60px; /* Adjust for mobile header */
  }
  
  .banner-text {
    font-size: 0.9rem;
  }
}