* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  /* Убираем фиксированную высоту, позволяем прокрутку */
  /* height: 100vh; */
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
}

#info {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  pointer-events: none; /* Чтобы не мешать управлению камерой */
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

p {
  font-size: 1em;
  opacity: 0.8;
}

#sections-container {
  position: absolute;
  width: 100%;
}

.content-section {
  height: 3000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Инструкция для скролла */
.scroll-instruction {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: fadeInOut 2s infinite;
  z-index: 100;
  text-align: center;
  pointer-events: none;
}

.scroll-instruction p {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.scroll-icon {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
}

.scroll-icon:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollMove 1.5s infinite;
}

@keyframes scrollMove {
  0% { transform: translate(-50%, 0); opacity: 1; }
  80% { transform: translate(-50%, 15px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}


