body {
  padding: 0;
  margin: 0;
  background: white;
  font-family: sans-serif !important;
  font-variation-settings: "wght" 600;
  font-feature-settings: "ss04" on;
  overflow: hidden;
}

main {
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* Control buttons */
.controls {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 100;
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border: 2px solid #333;
  background: white;
  color: #333;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #333;
  color: white;
}

.btn:active {
  transform: scale(0.95);
}

/* Strips container */
.strips-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* Video container */
.video-wrapper {
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 6.5%;
  left: 88%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.image-overlay img {
  max-width: 5vw;
  max-height: 5vh;
  aspect-ratio: 1/1;
}

.video-container {
  width: auto;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-container video {
  height: 100vh;
  width: auto;
  aspect-ratio: 1152 / 2304;
  object-fit: cover;
  display: block;
}

/* Individual strips */
.strip {
  width: 60px;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.webgl-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Text overlay for scrolling text */
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.scrolling-text {
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  animation: scrollDown 10s linear infinite;
  text-align: center;
  writing-mode: horizontal-tb;
  letter-spacing: 2px;
  line-height: 1;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center center;
  /* Start completely off-screen at the top */
  top: -200px;
  /* Enable smooth opacity transitions */
  opacity: 1;
  will-change: opacity;
}

@keyframes scrollDown {
  0% {
    top: -200px;
  }
  100% {
    top: calc(100vh + 200px);
  }
}

/* Separate fade-in animation for initial appearance */
.scrolling-text {
  animation: scrollDown 10s linear infinite, fadeInInitial 0.5s ease-in;
}

@keyframes fadeInInitial {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Hide any preset color UI elements */
#dynamic-preset-colors-container {
  display: none !important;
}

/* Hide any text that might appear in canvas */
canvas {
  font-size: 0 !important;
}
