@font-face {
  font-family: "vcr";
  src: url("assets/VCR_OSD_MONO.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  font-family: vcr, monospace;
}

::selection {
  background-color: #00ff99;
  color: black;
}

::-moz-selection {
  background-color: #00ff99;
  color: black;
}

::-webkit-selection{
  background-color: #00ff99;
  color: black;
}

.wrap {
  display: flex;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
  gap: 2rem;
}

body {
  overflow-x: auto;
  overflow-y: auto;
  width: 100vw;
  height: 100vh;
  min-width: 390px;
}


section {
  position: relative;
  height: 100%;
  min-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  color: #00ff99;
}

.crt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.15) 0px,
    rgba(0, 255, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.3) 2px,
    rgba(0, 0, 0, 0.3) 4px
  );
  animation: flicker 0.12s infinite;
  opacity: 0.4;
}

.fuzzy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  background-image: url("assets/noise.png");
  opacity: 0.04;
  pointer-events: none;
  animation: shift 0.15s linear infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.65;
  }
}

@keyframes shift {
  0% {
    transform: translateX(2%) translateY(2%);
  }
  100% {
    transform: translateX(-2%) translateY(-2%);
  }
}

.crt-bulge {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: black;
}

.crt-container {
  width: 100%;
  height: 100%;
  
}

.crt-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(144, 255, 144, 0.12) 0%,
    rgba(0, 255, 100, 0.05) 20%,
    transparent 60%
  );
  mix-blend-mode: screen;
  z-index: 5;
}

@media (max-width: 650px) {
  .wrap{
      flex-direction: column;
      width: 100%;
      height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
  }
  #ex img{
      width: 100%;
      height: 100px;
  }
  #ex h2, #ex p{
      text-align: center;
      font-size: 2vw;
  }
  #ex h2{
      margin-bottom: 20px;
      font-size: 3vw;
  }
  #gal{
      padding: 1rem;
      margin-bottom: 50px;
  }

  #snake-trail {
      display: none;
  }
  button{
      display: none;
  }
  .skip{
      display: none;
  }
  .skip.visible{
      display: none;
  }
}

#home{
  gap: 4rem;
}

#home h1{
  font-size: 6vw;
  text-align: center;
  margin-top: 30px;
}

.vid {
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 100, 0.3);
}

.stvid {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

#start{
  gap: 1rem;
}

#start h1{
  font-size: 6vw;
  text-align: center;
  margin-top: 30px;
}

.tag{
  font-size: 2vw;
  text-align: center;
}

.faq{
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.faq .whr{
  text-align: center;
  border: 2px solid #00ff99;
  padding: 1rem;
  border-radius: 8px;
}

.faq .how{
  text-align: center;
  border: 2px solid #00ff99;
  padding: 1rem;
  border-radius: 8px;
}

.faq h2{
  font-size: 3vw;
  margin-bottom: 1rem;
}

.faq p{
  font-size: 1.7vw;
}

#req{
  gap: 2rem;
}

#req h1{
  font-size: 6vw;
  text-align: center;
  margin-top: 30px;
}

#req p{
  font-size: 2vw;
}

#req ul{
  font-size: 2vw;
  list-style-type: disc;
  padding-left: 2rem;
}

#req ul li{
  color: #00ff99;
  text-shadow: 0 0 1px #00ff99, 0 0 2px #00ff99;
  margin-bottom: 10px;
  line-height: 1.5;
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

#req ul li:hover{
  font-size: 3vw;
}

#ex{
  gap: 2rem;
}

#ex h1{
  font-size: 6vw;
  text-align: center;
  margin-top: 30px;
}

.cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  overflow-y: auto;
  scrollbar-width: 5%;;
}

.cont{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.card{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid #00ff99;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 153, 0.5);
}

.card h2 {
  font-size: 3vw;
  color: #00ffcc;
}

.card p {
  font-size: 1vw;
}

.card img {
  width: 100%;
  height: 30%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card a {
  color: #ff5c37;
  font-size: 1vw;
}

#gal{
  gap: 2rem;
}

#gal h1{
  font-size: 6vw;
  text-align: center;
  margin-top: 30px;
}

#gal p{
  font-size: 1.5vw;
}

span{
  color: #ed3a64;
  text-shadow: 0 0 1px #ff0059, 0 0 2px #ffa1c2;
  font-size: 2.2vw;
  font-weight: bold;
  transition: 0.2s ease-in-out;
}

footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #00ff99;
  font-size: 1vw;
  z-index: 1000;
}

#snake-trail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
}

.snake-segment {
  width: 10px;
  height: 10px;
  background-color: #00ff88;
  position: absolute;
  transition: transform 0.05s linear;
  box-shadow: 0 0 6px #00ff88, 0 0 12px #00ff88, 0 0 18px #00ff88;
}

.red-snake-segment {
  width: 10px;
  height: 10px;
  background-color: #ff0059;
  position: absolute;
  transition: transform 0.05s linear;
  box-shadow: 0 0 6px #ff0059, 0 0 12px #ff0059, 0 0 18px #ff0059;
}

.glitch:hover {
  animation: glitch 0.3s linear infinite;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

.strike{
  text-decoration: line-through;
  color: #ed3a64;
}

.but {
  display: flex;
  justify-content: space-between;

}

.but button {
  padding: 10px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 1vw;
  border: 2px solid #00ff99;
  background-color: transparent;
  color: #00ff99;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.but button:hover {
  background-color: #00ff99;
  color: black;
  box-shadow: 0 0 8px #00ff99, 0 0 16px #00ff99;
}

.but .next {
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.but .previous {
  position: absolute;
  left: 5px;
  bottom: 5px;
}

.skip{
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  display: none;
  pointer-events: none;
}

.skip.visible {
  display: block;
  pointer-events: auto;
}

.launch {
  display: inline-block;
  transition: transform 0.5s ease, text-shadow 0.5s ease;
  position: relative;
  font-size: 5vw;
  color: #00ff99;
  cursor: pointer;
}

h1:hover .launch {
  transform: translateY(-20px) rotate(-5deg) scale(1.1);
  text-shadow: #00ff99 0px 0px 10px, #00ff99 0px 0px 20px, #00ff99 0px 0px 30px;
}

@keyframes launch {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-60px) rotate(-5deg) scale(1.1);
    text-shadow: #00ff99 0px 0px 10px, #00ff99 0px 0px 20px, #00ff99 0px 0px 30px;
  }
  100% {
    transform: translateY(-200px) rotate(-10deg) scale(1.3);
    text-shadow: none;
    display: none;
  }
}

.launchplay{
  animation: launch 1s ease-in-out forwards;
}

#start h1{
  transition: 0.5s ease;
}

.message{
  text-align: center;
  color: #00ff99;
  font-size: 3vw;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1.glit {
  font-size: 5rem;
  color: #00ff88;
  text-align: center;
  position: relative;
  text-shadow:
      0 0 5px #00ff88,
      0 0 10px #00ff88,
      0 0 20px #00ff88,
      0 0 40px #00ff88;
  animation: glit 2s infinite, flicker 1.5s infinite;
}

@keyframes glit {
  0% {
      transform: translate(0);
  }
  20% {
      transform: translate(-2px, 2px);
      color: red;
  }
  40% {
      transform: translate(2px, -2px);
      color: lime;
  }
  60% {
      transform: translate(-1px, 1px);
      color: cyan;
  }
  80% {
      transform: translate(1px, -1px);
      color: magenta;
  }
  100% {
      transform: translate(0);
      color: #00ff88;
  }
}

.sub{
  display: inline-block;
  padding: 10px 20px;
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5vw;
  border: 2px solid #00ff99;
  background-color: transparent;
  color: #00ff99;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
  text-decoration: none;
}
.sub:hover {
  background-color: #00ff99;
  color: black;
  box-shadow: 0 0 8px #00ff99, 0 0 16px #00ff99;
}
. 
#warning-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: #00ff99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  font-family: 'vcr', monospace;
  text-align: center;
  padding: 2rem;
}

#warning-popup h2 {
  font-size: 4vw;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px #00ff99, 0 0 10px #00ff99;
}

#warning-popup p {
  font-size: 2vw;
  margin-bottom: 2rem;
  max-width: 600px;
}

#warning-popup button {
  padding: 10px 20px;
  font-size: 1.5vw;
  border: 2px solid #00ff99;
  background: transparent;
  color: #00ff99;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Press Start 2P', monospace;
}

#warning-popup button:hover {
  background-color: #00ff99;
  color: black;
  box-shadow: 0 0 8px #00ff99, 0 0 16px #00ff99;
}