@font-face {
  font-family: 'GT Flexa Mono';
  src: url('fonts/GT-Flexa-Mono-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: 'GT Flexa Mono', 'Courier New', Courier, monospace;
  background: #212121;
  color: #D5CCCC;
  padding: 0 210px 333px;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  max-width: 600px;
}

/* Video player */
.video-container {
  width: 100%;
  max-width: 390px;
  max-height: 90vh;
  padding-top: 5vh;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.video-container video {
  width: 100%;
  max-height: 85vh;
  height: auto;
  display: block;
  background: #000;
  object-fit: contain;
  transition: all 0.3s ease;
}

.coming-soon {
  font-size: 14px;
  margin-top: 10vh;
  margin-bottom: 80px;
  font-weight: normal;
  transition: all 0.3s ease;
}

/* Scrolling marquee - two rows */
.marquee-wrapper {
  width: 100vw;
  margin-left: calc(-210px);
  margin-bottom: 500px;
  will-change: transform;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
}

.marquee {
  display: flex;
  width: fit-content;
  animation-play-state: paused;
  will-change: transform;
}

.marquee-left {
  animation: scroll-left 30s linear infinite;
}

.marquee-right {
  animation: scroll-right 30s linear infinite;
}

.marquee span {
  white-space: nowrap;
  font-size: 56px;
  color: transparent;
  -webkit-text-stroke: 1px #D5CCCC;
  text-stroke: 1px #D5CCCC;
  font-weight: normal;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Request access section */
.access-section {
  margin-top: 0;
}

.success-message {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 20px;
  color: #D5CCCC;
}

.access-section h2 {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  width: 260px;
}

input[type="email"] {
  font-family: 'GT Flexa Mono', 'Courier New', Courier, monospace;
  font-size: 12px;
  padding: 8px 35px 8px 12px;
  border: 1px solid #D5CCCC;
  background: transparent;
  color: #D5CCCC;
  width: 260px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]::placeholder {
  color: #666;
  transition: color 0.2s ease;
}

input[type="email"]:hover {
  border-color: #fff;
}

input[type="email"]:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}

input[type="email"]:focus::placeholder {
  color: #888;
}

input[type="email"]:valid {
  border-color: #D5CCCC;
}

.form-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #D5CCCC;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'GT Flexa Mono', 'Courier New', Courier, monospace;
  position: absolute;
  right: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  user-select: none;
}

.form-btn:hover {
  opacity: 0.8;
}

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

/* Fixed scroll indicator arrow */
.scroll-arrow {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: #D5CCCC;
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* Mobile optimization - fluid scaling */
@media (max-width: 768px) {
  body {
    padding: 0 5vw 40vh;
  }
  
  main {
    max-width: 90vw;
  }
  
  .video-container {
    max-width: 70vw;
    max-height: 90vh;
    padding-top: 5vh;
  }
  
  .video-container video {
    max-height: 80vh;
  }
  
  .coming-soon {
    margin-bottom: 10vh;
  }
  
  .marquee-wrapper {
    margin-left: -5vw;
    margin-bottom: 30vh;
  }
  
  .marquee span {
    font-size: 8vw;
  }
  
  .form-group,
  input[type="email"] {
    width: 100%;
    max-width: 80vw;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 4vw 30vh;
  }
  
  .video-container {
    max-width: 80vw;
    max-height: 90vh;
    padding-top: 5vh;
  }
  
  .video-container video {
    max-height: 75vh;
  }
  
  .coming-soon {
    margin-bottom: 8vh;
    font-size: 3.5vw;
  }
  
  .marquee-wrapper {
    margin-left: -4vw;
    margin-bottom: 25vh;
  }
  
  .marquee span {
    font-size: 10vw;
  }
  
  .access-section h2 {
    font-size: 3.5vw;
  }
  
  input[type="email"] {
    font-size: 3.2vw;
  }
  
  .scroll-arrow {
    bottom: 3vh;
    font-size: 5vw;
  }
}
