body {
  background-color: #ffffff;
}

.page{
    position: relative;
    padding-top: 5px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: visible;
}

#menu {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
height: 84dvh;
margin: 5% 0 5% 0;
}

.menu-item {
position: relative;
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
height: 15%;
width: 67%;
font-size: 1.4rem;
cursor: pointer;
transition: .3s;
background-color: rgba(169, 244, 253, 0.02);
backdrop-filter: blur(10px);
box-shadow: 3px 9px 11px 0px rgba(255, 255, 255, 0.686) inset,-11px -7px 12px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 25px;
}


.chokokutai-regular {
font-family: "Chokokutai", system-ui;
font-weight: 400;
font-style: normal;
}

h4 {
margin: 0;
}

.blob{
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(215,38,61,0.12) 100%,
        rgba(215,38,61,0) 100%
    );

    pointer-events: none;
  }
  .blob.b1{ width: 380px; height: 380px; top: -120px; left: -100px; animation-duration: 18s; }
  .blob.b2{ width: 320px; height: 320px; bottom: -100px; right: -80px; animation-duration: 20s; animation-delay: 2s; }
  .blob.b3{ width: 220px; height: 220px; top: 45%; left: 60%; opacity: 0.6; animation-duration: 14s; animation-delay: 4s; }

.display{ font-family: 'Quicksand', sans-serif; font-weight: 700; }

h1{
    font-size: clamp(28px, 4.5vw, 46px);
    color: var(--text);
  }
h1 .accent{ color: var(--red); }

header{
    text-align: center;
    margin-bottom: 44px;
    opacity: 0;
    animation: reveal 0.9s ease forwards 0.15s;
  }

  header p{
    margin-top: 10px;
    font-size: 15px;
    color: var(--text-dim);
  }

  .logo-slot{
    position: fixed;
    z-index: 2;
    width: 84px;
    height: 84px;
    border-radius: 20px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 6px;
  }
  .logo-slot .mark{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--red-mid);
  }
  .logo-slot span{
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 9.5px;
    letter-spacing: 0.02em;
    color: var(--text-dim);
    line-height: 1.2;
  }

  .logo-slot img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .logo-slot.tl{ top: 24px; left: 24px; }
  .logo-slot.tr{ top: 24px; right: 24px; }
  .logo-slot.bl{ bottom: 24px; left: 24px; }
  .logo-slot.br{ bottom: 24px; right: 24px; }
  /* Menu links and hover */
  .menu-link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 0;
    border-radius: 20px;
  }

  .menu-item:hover,
  .menu-item:focus-within{
    transform: translateX(6%);
    box-shadow: 6px 14px 18px rgba(0,0,0,0.18);
    background-color: rgba(169, 244, 253, 0.06);
  }

  .menu-item:active{ transform: translateX(2%); }

  .menu-link:focus{
    outline: 3px solid rgba(123,55,254,0.18);
    outline-offset: 4px;
  }

  /* Icône d'information (bout de l'onglet parrainage) */
  .info-btn{
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--text-dim, rgba(43,42,46,0.55));
    background-color: rgba(169, 244, 253, 0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    cursor: pointer;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .2s ease;
    z-index: 2;
    color: var(--red, #d7263d);

  }

  .info-btn svg{
    width: 23px;
    height: 23px;
    opacity: 1;
  }

  .info-btn:hover,
  .info-btn:focus-visible,
  .info-btn[aria-expanded="true"]{
    color: var(--red, #d7263d);
    background-color: rgba(215, 38, 61, 0.08);
    border-color: rgba(215, 38, 61, 0.3);
  }

  .info-btn:active{ transform: translateY(-50%) scale(0.94); }

  .info-btn:focus-visible{
    outline: 2px solid rgba(215, 38, 61, 0.35);
    outline-offset: 3px;
  }

  /* Bulle d'information */
  .info-tooltip{
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
    width: 210px;
    padding: 12px 14px;
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: left;
    color: #2b2a2e;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    box-shadow: 3px 9px 18px rgba(0, 0, 0, 0.22);

    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 999;
    pointer-events: none;
    backdrop-filter: none;

  }

  .info-tooltip.open{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }







  /* Pied de page */
  .footer-credits {
    text-align: center;
    padding: 30px 15px;
    background: transparent !important;
  }
  
  /* Bouton : TEXTE PUR (aucun fond gris, aucune bordure) */
  .credits-btn {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    
    font-family: 'Courgette', cursive;
    font-size: 1rem;
    color: rgb(0, 0, 0);
    cursor: pointer;
    
    transition: transform 0.2s ease, color 0.2s ease;
  }
  
  .credits-btn:hover {
    color: var(--red, #d7263d);
    transform: scale(1.08);
  }
  
  /* --- Fenêtre d'affichage (Modale) --- */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5); /* Fond assombri derrière */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  /* Classe ajoutée par le JS pour afficher la fenêtre */
  .lightbox.open {
    opacity: 1;
    visibility: visible;
  }
  
  /* Carte contenant les infos */
  .credits-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 16px;
    position: relative;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 30pxrgba(123, 55, 254, 0.3);
    text-align: center;
  }
  
  .credits-card h2 {
    font-family: 'Courgette', cursive;
    font-size: 2.2rem;
    color: rgb(0, 0, 0);
    margin-bottom: 15px;
  }
  
  .credits-card p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2b2a2e;
  }
  
  /* Croix de fermeture */
  .lightbox-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #8f8b90;
  }
  
  .lightbox-close:hover {
    color: #2b2a2e;
  }

  .black {
    color:black;
  }

  .newroman {
    font-family:'Times New Roman', Times, serif;
  }


























  








  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .menu-item{
    opacity: 0;
    animation: reveal 0.8s ease forwards;
  }
  
  /* Apparition progressive */
  .menu-item:nth-child(1){ animation-delay: 0.08s; }
  .menu-item:nth-child(2){ animation-delay: 0.16s; }
  .menu-item:nth-child(3){ animation-delay: 0.24s; }
  .menu-item:nth-child(4){ animation-delay: 0.32s; }
  .menu-item:nth-child(5){ animation-delay: 0.40s; }
  .menu-item:nth-child(6){ animation-delay: 0.48s; }