* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000000;
  color: #f5f7ff;
  font-family: Arial, sans-serif;
}

nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: #000000;
  z-index: 1000;
}

nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  pointer-events: none;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 90, 170, 0.10) 10%,
    rgba(0, 140, 255, 0.22) 22%,
    rgba(0, 195, 255, 0.60) 38%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(0, 195, 255, 0.60) 62%,
    rgba(0, 140, 255, 0.22) 78%,
    rgba(0, 90, 170, 0.10) 90%,
    transparent 100%
  );
  box-shadow:
    0 0 3px rgba(0, 195, 255, 0.35),
    0 0 8px rgba(0, 160, 255, 0.22),
    0 0 16px rgba(0, 110, 255, 0.10);
}

.burger {
  display: none;
  position: relative;
  z-index: 1002;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: #ffffff;
  transition: 0.25s ease;
  box-shadow:
    0 0 4px rgba(0, 200, 255, 0.35),
    0 0 8px rgba(0, 150, 255, 0.14);
}

.nav-links {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 20px 20px;
}

nav a {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.15s ease, color 0.2s ease;
}

nav a:hover {
  color: #f8fdff;
  transform: scale(1.15);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.9),
    0 0 4px rgba(0, 200, 255, 0.6),
    0 0 10px rgba(0, 150, 255, 0.3);
}

header {
  display: flex;
  justify-content: center;
  padding: 24px 20px 24px;
}

header img {
  width: 66%;
  max-width: 900px;
  min-width: 420px;
  height: auto;
  padding-bottom: 50px;
  padding-top: 50px;
}

main {
  width: min(1000px, 92%);
  margin: 0 auto;
  text-align: center;
  padding: 10px 0 40px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 1.5rem;
  scroll-margin-top: 100px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 60px;
  opacity: 0.8;
}

.intro {
  max-width: 950px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
}

.hidden-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section-divider {
  display: block;
  margin: 42px auto 20px;
  width: 75%;
  max-width: 75%;
  height: 120px;
}

.intro-tagline {
  max-width: 900px;
  margin: 0 auto 38px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 2;
  color: white;
}

.intro-text {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 2.15;
  color: rgba(245, 247, 255, 0.82);
}

.game-section {
  max-width: 950px;
  margin: 0 auto 90px;
  padding: 0 20px;
  text-align: center;
}

.game-logo {
  display: block;
  margin: -100px auto -40px;
  width: min(420px, 78%);
  height: auto;
  opacity: 0.95;
}

.game-section .section-title {
  margin-bottom: 28px;
}

.game-text {
  max-width: 860px;
  margin: 0 auto 18px;
  font-size: 1.08rem;
  line-height: 2.05;
  color: rgba(245, 247, 255, 0.82);
}

#unpathed {
  margin-top: 0;
  padding-top: 0;
}

.contact-section {
  max-width: 950px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: center;
}

.contact-text {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(245, 247, 255, 0.78);
}

.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 28px;
}

.contact-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
  padding: 16px 24px;
  background: #000;
  border: 1px solid rgba(0, 140, 255, 0.50);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.01),
    0 0 6px rgba(0, 110, 255, 0.04);
  transition: transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  pointer-events: none;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 90, 170, 0.10) 10%,
    rgba(0, 140, 255, 0.22) 22%,
    rgba(0, 195, 255, 0.60) 38%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(0, 195, 255, 0.60) 62%,
    rgba(0, 140, 255, 0.22) 78%,
    rgba(0, 90, 170, 0.10) 90%,
    transparent 100%
  );
  box-shadow:
    0 0 3px rgba(0, 195, 255, 0.20),
    0 0 8px rgba(0, 160, 255, 0.12);
}

.contact-button:hover {
  transform: scale(1.05);
  cursor: pointer;
  color: #f8fdff;
  border-color: rgba(0, 195, 255, 0.22);
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.9),
    0 0 4px rgba(0, 200, 255, 0.6),
    0 0 10px rgba(0, 150, 255, 0.3);
}

.contact-mail {
  text-transform: none;
  letter-spacing: 0.03em;
}

.site-footer {
  text-align: center;
  padding: 20px 20px 28px;
  color: rgba(245, 247, 255, 0.32);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particles span {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.9);
  box-shadow:
    0 0 8px rgba(0, 200, 255, 0.75),
    0 0 18px rgba(0, 150, 255, 0.45),
    0 0 30px rgba(0, 120, 255, 0.22);
  animation: rise linear infinite;
}

@keyframes rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  100% {
    transform: translate3d(0, -110vh, 0);
    opacity: 0;
  }
}

section {
  margin: 0 auto 60px;
  padding: 0 20px;
  max-width: 900px;
  border: none;
  border-radius: 0;
}

section h2 {
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #ffffff;
}

section p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(245, 247, 255, 0.78);
  line-height: 2;
  font-size: 1.05rem;
}

main > a {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 26px;
  border: 1px solid #4f8cff;
  border-radius: 8px;
  color: #4f8cff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

main > a:hover {
  background: #4f8cff;
  color: black;
}

footer {
  text-align: center;
  padding: 48px 20px 28px;
  color: rgba(245, 247, 255, 0.45);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 50px;
  }

  .section-divider {
    width: 320px;
    max-width: 80%;
  }
}

@media (max-width: 640px) {
  nav {
    height: 64px; /* fixe la hauteur propre */
    display: flex;
    justify-content: center; /* centre le burger */
    align-items: center;
    padding: 0;
  }

  .burger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    flex-direction: column;
    align-items: center;
    gap: 0;

    background: rgba(0, 0, 0, 0.96);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-links.open {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 0 14px;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 18px 20px;
    font-size: 14px;
  }

  /* animation burger */
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

  header {
    padding-top: 20px;
  }

  header img {
    width: 88%;
    min-width: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section-divider {
    width: 220px;
    max-width: 85%;
    margin-bottom: 30px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  h2{
    font-family: 'Cinzel', serif;
  letter-spacing: 2px; 
  font-weight: 500;
  }

  .intro-tagline {
    line-height: 1.8;
  }

  .intro-text,
  section p {
    line-height: 1.9;
    font-size: 1rem;
  }

  main > a {
    width: 100%;
    max-width: 280px;
  }
