html {
    overflow: hidden;
    height: 100%;
}


body {
    margin: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
    position: relative;
}


.hatch-svg-container {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

line {
    stroke-linecap: butt;
    shape-rendering: geometricPrecision;
    opacity: 0; 
    will-change: stroke-dashoffset, opacity;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.vignette {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(255,255,255,1) 15%,    
        rgba(255,255,255,0.9) 35%,    
        rgba(255,255,255,0.6) 55%,  
        rgba(255,255,255,0) 85%     
    );
}

.container {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-bottom: 25vh; /* Ajusté pour remonter le logo */
}

.logo-wrapper {
    max-width: 900px;
    width: 95%;
    animation: gentleFloat 4s ease-in-out infinite 2s;
}

.logo {
    width: 100%;
    height: auto;
    will-change: transform, opacity, filter;
    animation: dramaticEntrance 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0; 
}

/* --- CONTENEUR DU BOUTON --- */
.enter-btn-container { 
    margin-top: 100px; 
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 1s;
}

.bubbles {
  --c1: #212121; 
  --c2: #212121; 
  --size-letter: 22px; 
  
  padding: 0.8em 2em;
  font-size: var(--size-letter);
  

  background-color: transparent; 
  border: 3px solid var(--c2); 
  color: var(--c2); 
  border-radius: 0.2em;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: 300ms cubic-bezier(0.83, 0, 0.17, 1);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.bubbles > .text {
  font-weight: 700;
  color: var(--c2); 
  position: relative;
  z-index: 1;
  transition: color 700ms cubic-bezier(0.83, 0, 0.17, 1);
}


.bubbles::before,
.bubbles::after {
  content: "";
  width: 150%;
  aspect-ratio: 1/1;
  scale: 0;
  transition: 1000ms cubic-bezier(0.76, 0, 0.24, 1);
  background-color: var(--c2); 
  border-radius: 50%;
  position: absolute;
  translate: -50% -50%;
  z-index: 0;
}

.bubbles::before { top: 0; left: 100%; }
.bubbles::after { top: 100%; left: 0; }

.bubbles:hover {
  border-color: var(--c2);
}


.bubbles:hover > .text {
  color: white; 
}

.bubbles:hover::before,
.bubbles:hover::after {
  scale: 1;
}

.bubbles:active {
  scale: 0.98;
  filter: brightness(0.9);
}

@keyframes drawFast {
    0% { stroke-dashoffset: 2000; opacity: 0; }
    5% { opacity: 0.8; }
    40% { stroke-dashoffset: 0; opacity: 0.8; }
    70% { opacity: 0.8; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.animated-line {
    animation-name: drawFast;
    animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

@keyframes dramaticEntrance {
    0% { opacity: 0; transform: scale(2) translateY(-50px); filter: blur(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0px); }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
    .logo-wrapper {
        margin-top: 50px; 
        margin-bottom: 50px;
        width: 80%; 
    }
    
    .container {
        margin-bottom: 15vh; 
    }
}