*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:       #0d0d0e;
      --surface:  #161618;
      --border:   rgba(255,255,255,.07);
      --accent:   #ff3d3d;
      --accent2:  #00e5ff;
      --gold:     #f5c842;
      --text:     #e8e5df;
      --muted:    #7a7672;
      --nav-h:    72px;
      --nav-bg:   #352935; /* ✅ Nouvelle variable */

    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Syne', sans-serif;
      overflow-x: hidden;
      cursor: none;
    }

    /* ── Custom cursor ── */
    /* 1. On cache le curseur par défaut (Mobile/Tablette/Crash JS) */
#cursor {
  display: none;
}

/* 2. On ne l'active que sur les périphériques de pointage précis (souris) */
@media (hover: hover) and (pointer: fine) {
  #cursor {
    display: block; /* Devient visible ici */
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform .08s, width .2s, height .2s, background .2s;
    mix-blend-mode: difference;
  }

  #cursor.big { 
    width: 40px; 
    height: 40px; 
    background: var(--accent2); 
  }
}
    /* ── Nav ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;
      z-index: 100;
       background: var(--nav-bg);
      backdrop-filter: blur(2px);
    }

    .logo img {
      width: 100px;
      height: auto;
    }
       
    nav ul {
      display: flex;
      list-style: none;
      gap: 8px;
      align-items: center;
    }
    nav ul li a,
    nav ul li button {
      background: none; border: none;
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: .04em;
      color: var(--text);
      text-decoration: none;
      padding: 8px 16px;
      border-radius: 4px;
      cursor: none;
      display: flex; align-items: center; gap: 6px;
      transition: background .2s, color .2s;
    }
    nav ul li a:hover,
    nav ul li button:hover {
      background: rgba(255,255,255,.06);
      color: #fff;
    }

   .socials {
  display: flex;
  gap: 25px;
  align-items: center;
}

.socials a {
  color: white;
  font-size: 28px;
  transition: transform 0.3s, color 0.3s;
}

.socials a:hover {
  transform: scale(1.2);
  color: #00f0ff; /* effet néon comme ton site */
}
    /* ── Hero ── */
    .hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  display: flex;
  /* MODIFICATION : On aligne le texte vers le bas au lieu du centre */
  align-items: flex-end; 
  justify-content: center;
  overflow: hidden;
  /* MODIFICATION : On ajoute de la marge en bas pour remonter un peu le texte du bord */
  padding-bottom: 8vh; 
}
    .hero-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 55% at 30% 60%, rgba(180,30,30,.35) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 75% 40%, rgba(0,60,90,.40) 0%, transparent 65%),
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(10,10,14,1) 0%, transparent 60%),
        #111113;
      animation: bgPulse 8s ease-in-out infinite alternate;
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("assets/images/poster.png"); 
      background-size: 100% auto;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.9;                
      pointer-events: none;
    }

    @media (max-width: 768px) {
      .hero-bg::after {
        background-size: cover;
      }
    }

    @keyframes bgPulse {
      0%  { filter: brightness(1)   hue-rotate(0deg); }
      100%{ filter: brightness(1.1) hue-rotate(6deg); }
    }

    .hero-scanlines {
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0,0,0,.07) 3px,
        rgba(0,0,0,.07) 4px
      );
      pointer-events: none;
      z-index: 2;
    }

    .hero-content {
      position: relative;
      z-index: 5;
      text-align: center;
      pointer-events: none;
      user-select: none;
    }

    .hero-tag {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      opacity: 0;
      animation: fadeUp .6s .1s forwards;
    }

    .hero-title {
      font-family: 'Bebas Neue', cursive;
      font-size: clamp(96px, 14vw, 200px);
      line-height: .92;
      color: #fff;
      letter-spacing: -.01em;
      text-shadow: 0 0 80px rgba(255,61,61,.45), 0 4px 60px rgba(0,0,0,.8);
      opacity: 0;
      animation: scaleIn .7s .25s cubic-bezier(.16,1,.3,1) forwards;
    }

    .hero-sub {
      font-size: 17px;
      font-weight: 600;
      letter-spacing: .12em;
      color: rgba(232,229,223,.8);
      margin-top: 14px;
      opacity: 0;
      animation: fadeUp .6s .55s forwards;
    }

    .hero-actions {
      display: flex;
      gap: 14px;
      justify-content: center;
      margin-top: 36px;
      pointer-events: all;
      opacity: 0;
      animation: fadeUp .6s .75s forwards;
    }

    .btn {
      font-family: 'Space Mono', monospace;
      font-size: 12px;
      letter-spacing: .12em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 14px 32px;
      border-radius: 3px;
      cursor: none;
      transition: transform .15s, box-shadow .2s, filter .2s;
      display: inline-flex; align-items: center; gap: 8px;
      font-weight: 700;
    }
    .btn-primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 0 30px rgba(255,61,61,.5);
    }
    .btn-ghost {
      background: transparent;
      color: var(--text);
      border: 1.5px solid rgba(255,255,255,.25);
    }

    /* Countdown */
    .countdown {
      display: flex; gap: 20px; justify-content: center; margin-top: 44px;
      opacity: 0; animation: fadeUp .6s .95s forwards;
    }
    .countdown-num { font-family: 'Bebas Neue', cursive; font-size: 48px; color: #fff; }
    .countdown-label { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); text-transform: uppercase; }

    /* Sections */
    .features, .chars-section, .cta-section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
    .section-label { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--accent); text-transform: uppercase; margin-bottom: 20px; }
    .features-title { font-family: 'Bebas Neue', cursive; font-size: clamp(48px, 6vw, 80px); line-height: .96; margin-bottom: 64px; }
    
    .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
    .feature-card { background: var(--surface); padding: 40px; border: 1px solid var(--border); position: relative; }
    .feature-num { font-family: 'Bebas Neue', cursive; font-size: 64px; color: rgba(255,255,255,.04); position: absolute; top: 20px; right: 24px; }
    
    .chars-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 20px; }
    .char-card { flex: 0 0 250px; background: var(--surface); border: 1px solid var(--border); padding: 24px; border-radius: 4px; }
    .char-avatar { font-size: 40px; margin-bottom: 10px; }

    footer { padding: 40px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: 11px; color: var(--muted); }

    @keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
    @keyframes scaleIn { from { opacity:0; transform:scale(.9); } to { opacity:1; transform:scale(1); } }

    .dropdown { position: relative; }
    .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border); padding: 10px; min-width: 150px; }
    .dropdown:hover .dropdown-menu { display: block; }
    .dropdown-menu a { display: block; padding: 5px 0; color: var(--text); text-decoration: none; font-size: 13px; }
   .team-section {
  padding: 120px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.team-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 30px;
  position: relative;
}

/* petit effet subtil comme les sites premium */
.team-text::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 25px;
  opacity: 0.6;
}
.contact-section {
  padding: 120px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 30px;
}

.contact-email {
  margin-top: 30px;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .1em;
}

/* petite ligne stylée comme la section team */
.contact-text::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 25px;
  opacity: 0.6;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 50%;               /* centre horizontalement */
  transform: translateX(-50%) translateY(20px); /* ajuste le centrage + animation */
  background: #ff3d3d;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 100;
  cursor: pointer;
}

.back-to-top.show {
  opacity: 0.9;
  transform: translateX(-50%) translateY(0);
}

.back-to-top:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}
/* Conteneur */
/* On remplace .platforms img par .platforms i */
/* --- Style des Plateformes (Steam, Play Store, etc.) --- */
/* --- Style des Plateformes --- */
.platforms {
  display: none; /* CACHÉ PAR DÉFAUT */
  justify-content: center;
  gap: 35px;
  margin-top: 40px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  font-size: 60px;

}

/* On crée une classe pour l'afficher proprement */
.platforms.show {
  display: flex; /* DEVIENT VISIBLE */
  opacity: 1;
  animation: fadeUp .6s forwards; /* On garde ton animation de montée */
}

.launch-text {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  display: block;

  /* style gaming 🔥 */
  color: white;
  text-shadow: 0 0 10px #2b3637, 0 0 20px #131f20;
}
/* ✅ Ajoute ce bloc pour contrôler l'alignement vertical */
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}