/* ===================================
   SnapRadar - Page d'attente
   Thème sombre bleu-gris
   =================================== */

/* Variables CSS */
:root {
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --bg-card: #252d3d;
  --text-primary: #e7e9ea;
  --text-secondary: #8b98a5;
  --accent-primary: #4a90d9;
  --accent-secondary: #2d5a87;
  --accent-glow: rgba(74, 144, 217, 0.3);
  --border-color: #38444d;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow: hidden;
}

/* Container principal */
.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(74, 144, 217, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(45, 90, 135, 0.1) 0%,
      transparent 40%
    ),
    var(--bg-primary);
}

/* Contenu central */
.content {
  text-align: center;
  z-index: 10;
  padding: 2rem;
  max-width: 800px;
}

/* Logo */
.logo {
  margin-bottom: 2rem;
}

.logo-icon {
  height: 4rem;
  width: auto;
  display: block;
  margin: 0 auto 1rem auto;
  animation: pulse 2s ease-in-out infinite;
}

.logo h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    var(--text-primary) 0%,
    var(--accent-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Tagline */
.tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Compte à rebours */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  min-width: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--accent-glow);
  border-color: var(--accent-primary);
}

.countdown-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.countdown-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Date de lancement */
.launch-date {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 2rem;
}

/* Particules de fond */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(20px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .logo h1 {
    font-size: 2.5rem;
  }

  .logo-icon {
    height: 3rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-item {
    padding: 1rem 1.25rem;
    min-width: 80px;
  }

  .countdown-value {
    font-size: 1.75rem;
  }

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

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

  .countdown-item {
    padding: 0.75rem 1rem;
    min-width: 70px;
  }

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