/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  min-height: 100vh;
  background: radial-gradient(circle at bottom, #050508, #000);
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Arial, sans-serif;
  color: #e6e6e6;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  line-height: 1.6;
}

/* ===== CONTENEUR ===== */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  text-align: center;
  padding: 46px 32px;

  background: rgba(10,10,14,0.6);
  backdrop-filter: blur(10px);
  border-radius: 26px;

  box-shadow:
    0 0 20px rgba(0,0,0,0.9),
    0 30px 80px rgba(0,0,0,0.85);

  animation: breathe 18s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.006); }
}

/* ===== AVATAR ===== */
.avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;

  box-shadow:
    0 0 22px rgba(90,120,180,0.25),
    0 0 60px rgba(60,90,150,0.2);

  transition: box-shadow 0.3s ease;
}

.avatar:hover {
  box-shadow:
    0 0 30px rgba(120,150,220,0.45),
    0 0 80px rgba(90,120,200,0.35);
}

/* ===== TITRE ===== */
.title-glow {
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;

  animation: titleFloat 6s ease-in-out infinite;

  text-shadow:
    0 0 10px rgba(120,140,200,0.5),
    0 0 24px rgba(80,100,180,0.35);

  transition: text-shadow 0.3s ease;
}

.title-glow:hover {
  text-shadow:
    0 0 18px rgba(140,160,230,0.7),
    0 0 40px rgba(100,120,220,0.55);
}

@keyframes titleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== TAGLINE ===== */
.tagline {
  font-size: 0.85rem;
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 28px;
}

/* ===== SEPARATEUR ===== */
.separator {
  width: 46px;
  height: 1px;
  margin: 0 auto 36px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120,140,200,0.6),
    transparent
  );
}

/* ===== LIENS ===== */
.links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 42px;
}

/* ===== BOUTONS ===== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 19px;
  border-radius: 18px;
  text-decoration: none;

  color: #e6e6e6;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;

  background: linear-gradient(
    135deg,
    rgba(20,25,40,0.9),
    rgba(10,12,22,0.95)
  );

  border: 1px solid rgba(120,140,200,0.15);

  box-shadow:
    inset 0 0 18px rgba(120,140,200,0.08),
    0 12px 30px rgba(0,0,0,0.7);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    inset 0 0 26px rgba(140,160,230,0.25),
    0 0 28px rgba(90,110,200,0.35);
}

/* ===== TWITCH (ACCENT TRÈS SOMBRE) ===== */
.btn.twitch:hover {
  box-shadow:
    inset 0 0 26px rgba(120,80,200,0.35),
    0 0 34px rgba(120,80,200,0.45);
}

/* ===== ICONES ===== */
.icon {
  font-size: 1.05rem;
  opacity: 0.75;
}

/* ===== FOOTER ===== */
footer {
  font-size: 0.75rem;
  opacity: 0.45;
}

/* ===== ÉTOILES ===== */
.stars {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, #b8c7ff, transparent),
    radial-gradient(1px 1px at 28% 72%, #9fb0ff, transparent),
    radial-gradient(1.8px 1.8px at 52% 38%, #ffffff, transparent),
    radial-gradient(1.1px 1.1px at 70% 82%, #a8b8ff, transparent),
    radial-gradient(1.4px 1.4px at 88% 14%, #ffffff, transparent);
  animation:
    starsDrift 35s linear infinite,
    starsTwinkle 4s ease-in-out infinite alternate;
}

.stars.far {
  opacity: 0.4;
  filter: blur(0.8px);
  animation: starsDriftFar 110s linear infinite;
}

@keyframes starsDrift {
  to { background-position: 1200px -900px; }
}

@keyframes starsDriftFar {
  to { background-position: 500px -400px; }
}

@keyframes starsTwinkle {
  from { filter: brightness(0.6); }
  to { filter: brightness(1.2); }
}

/* ===== ÉTOILES FILANTES ===== */
.shooting {
  position: fixed;
  top: 20%;
  left: -30%;
  width: 240px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(200,210,255,0.9),
    rgba(140,160,230,0.6),
    transparent
  );
  opacity: 0;
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 2;
  animation: shoot 22s linear infinite;
}

.shooting-1 { animation-delay: 6s; }
.shooting-2 { animation-delay: 15s; }

@keyframes shoot {
  0% {
    transform: translate(-40vw, -40vh) rotate(30deg);
    opacity: 0;
  }
  8% { opacity: 1; }
  18% {
    transform: translate(140vw, 140vh) rotate(30deg);
    opacity: 0;
  }
}
