/* Custom vaporwave cursor */
body {
  background-color: black;
  color: #ff69b4;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  filter: contrast(1.2) brightness(1.1);
  cursor: url('arrow.png'), auto;
}

/* CRT scanline overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 999;
}

/* VHS distortion overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 997;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 0, 255, 0.03),
    rgba(0, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 4px
  );
  animation: vhsFlicker 0.2s infinite;
}

@keyframes vhsFlicker {
  0% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(1px); opacity: 0.95; }
  100% { transform: translateY(0); opacity: 0.9; }
}

/* Horizontal letterbox effect (left and right bars) */
.letterbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 998;
}

.letterbox::before,
.letterbox::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 10%;
  background: black;
}

.letterbox::before {
  left: 0;
}

.letterbox::after {
  right: 0;
}

/* Marquee styles */
.top-marquee {
  font-size: 2em;
  color: lime;
  background-color: black;
  padding: 20px 0;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.bottom-marquee {
  color: cyan;
  font-size: 1.5em;
  padding: 15px 0;
}

/* Vaporwave content box */
.vaporwave-box {
  border: 2px dashed magenta;
  margin: 50px auto;
  padding: 30px;
  width: 80%;
  background: linear-gradient(135deg, #ff00cc 0%, #3333ff 100%);
  box-shadow: 0 0 20px #ff00cc;
}

/* Flickering neon text */
.vaporwave-text {
  font-size: 1.5em;
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Comments section */
.comments-section {
  margin: 50px auto;
  width: 80%;
  padding: 20px;
  border: 2px dashed cyan;
  background-color: rgba(0, 0, 0, 0.7);
  color: #00ffff;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  box-shadow: 0 0 10px #00ffff;
}

.comments-section h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

/* Override CommentBox.io styles for dark background */
.commentbox {
  color: #00ffff !important;
}

.commentbox .commentbox-comment-content,
.commentbox .commentbox-comment-author,
.commentbox .commentbox-comment-text,
.commentbox .commentbox-comment-header,
.commentbox .commentbox-comment-footer {
  color: #00ffff !important;
  background-color: transparent !important;
}

/* Optional: style input fields to match vaporwave vibe */
.commentbox textarea,
.commentbox input {
  background-color: black !important;
  color: lime !important;
  border: 1px solid magenta !important;
  font-family: 'Comic Sans MS', cursive, sans-serif !important;
}
