:root {
  --bg: #0f0f1a;
  --text: #f4f4f8;
  --muted: #a3a3b8;
  --accent: #8b5cf6;
  --accent-2: #ec4899;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Fond animé */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: float 18s ease-in-out infinite;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -120px;
  left: -100px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--accent-2);
  bottom: -100px;
  right: -80px;
  animation-delay: -6s;
}

.blob-3 {
  width: 280px;
  height: 280px;
  background: #3b82f6;
  top: 40%;
  left: 55%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Contenu */
.container {
  width: 100%;
  max-width: 640px;
  text-align: center;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand {
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, var(--text) 30%, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

/* Compte à rebours */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.unit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 0.5rem;
  backdrop-filter: blur(10px);
}

.unit span {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.unit small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer {
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 480px) {
  .countdown { gap: 0.5rem; }
  .unit { padding: 0.75rem 0.25rem; }
  .unit small { font-size: 0.65rem; letter-spacing: 0.05em; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .container { animation: none; }
}
