body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

#model-container {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
}

#scroll-content {
  position: absolute;
  top: 100vh; /* Start after the viewport */
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}

#buttons {
  position: fixed;
  bottom: 30px; /* alulra helyezve */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  z-index: 10;
}

#buttons button {
  height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #f8f8f8;
  color: #111;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

#buttons button:hover {
  background: #eaeaea;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

#buttons button:active {
  transform: translateY(0);
  background: #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

#buttons button.active {
  background: #B0A8A7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(154, 168, 138, 0.8);
}



#intro-overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(154, 168, 138,0.8);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:2rem;
  font-weight:bold;
  z-index:1000;
  pointer-events:none;
}

.content.blurred {
  filter: blur(5px);
}


#intro-overlay {
  position: fixed;
  inset: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  pointer-events: none; 
  background: rgba(255,255,255,0.01);
  opacity: 1;
  transition: opacity 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

#intro-overlay .message {
  max-width: 90%;
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #111;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: none; /* nincs további blur rajta */
  pointer-events: none;
}

/* Ha valami miatt a meglévő CSSed .content.blurred nincs meg, ez segít:
    preferáljuk, hogy a .content kapjon 'blurred' osztályt, mert a navbar hover JS-ed
    a body-ra rakja a 'blurred'-et — lásd a JS-ben a szinkronizálást.
*/
.content.blurred {
  filter: blur(5px);
  transition: filter 0.25s ease;
}

/* Kis esztétikai javítás: overlay eltűnés után ne foglaljon helyet */
#intro-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  display: none; /* később GSAP vagy JS is beállíthatja */
}

/* Reszponzív: kisebb betűméret mobilon */
@media (max-width: 600px) {
  #intro-overlay .message {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }
}