@import url('../chinese_rocks/chinese\ rocks\ rg.otf');
body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

.page {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page.fade-out {
  opacity: 0;
  transform: scale(1.1);
}

.btn {
  padding: 20px 40px;
  font-size: 20px;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

/* INTRO SCREEN */
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #E15252;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease-in-out, visibility 1s;
  padding: 20px;
  box-sizing: border-box;
}

/* LOGO - taille fluide par défaut */
#intro-logo {
  width: clamp(100px, 40vw, 200px); /* 👈 s'adapte automatiquement */
  opacity: 0;
  transform: scale(0.5);
  transition: transform 1.2s cubic-bezier(0.45, 0, 0.55, 1), opacity 1.2s ease;
}

#intro-screen.active #intro-logo {
  opacity: 1;
  transform: scale(1.2);
}

#intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

#intro-screen.hidden #intro-logo {
  transform: scale(1);
  opacity: 0;
}

/* ── MOBILE < 480px ── */
@media (max-width: 480px) {
  .btn {
    padding: 14px 24px;
    font-size: 16px;
  }
}

/* ── DESKTOP > 1200px ── */
@media (min-width: 1200px) {
  #intro-logo {
    width: 260px;
  }

  .btn {
    padding: 24px 56px;
    font-size: 22px;
  }
}