/* Reset */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Comic Sans MS", "Impact", "Arial Black", sans-serif;
}

/* Background image */
#bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  background: url("image.jpg") no-repeat center center;
  background-size: 100% 100%;
  z-index: -2; /* behind video and text */
}

/* Background video overlay */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0.2;  /* semi-transparent */
  z-index: -1;   /* above image but below text */
  pointer-events: none;
}

/* Tacky text container */
.center-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: rgb(248, 248, 248);
  text-shadow: 2px 2px red, -2px -2px blue;
  z-index: 10;
}

/* Typewriter effect with blinking cursor */
.typing-container {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.15em solid orange; /* cursor */
  letter-spacing: 0.15em;
  animation: blink-caret 0.75s step-end infinite;
}

/* Cursor blink */
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: rgb(255, 255, 255); }
}

/* Confetti (smaller) */
.confetti {
  position: absolute;
  width: 5px;       /* smaller width */
  height: 5px;      /* smaller height */
  border-radius: 50%;
  opacity: 0.9;
  animation: fall linear forwards;
  z-index: 5;
}

@keyframes fall {
  0% { transform: translateY(0px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.typing-container {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  border-right: 0.08em solid rgb(255, 254, 253); /* thinner cursor */
  letter-spacing: 0.15em;
  animation: blink-caret 0.75s step-end infinite;
}


#disclaimer {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;          /* full width */
  text-align: center;   /* center the text and emoji */
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  z-index: 20;
  pointer-events: none;
  display: block;       /* ensure it's block-level */
}

#disclaimer-text {
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, magenta);
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowText 5s linear infinite;
}

@keyframes rainbowText {
  0% { background-position: 0%; }
  100% { background-position: 100%; }
}

#disclaimer-emoji {
  margin-left: 5px;
  font-size: 1.1rem;
}
