* {
  box-sizing: border-box;
}

#lang-switch {
  position: fixed;
  top: 1px;
  right: 10px;
  z-index: 999;
}

.lang-link {
  color: #f00093;
  text-decoration: none;
  margin: 0 10px;
  font-family: Courier New, Consolas, Monaco, monospace;
  text-shadow: 0 0 5px #f00093, 0 0 10px rgba(240, 0, 147, 0.7);
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: #000;
  background: #f00093;
  padding: 2px 6px;
  border-radius: 4px;
}

html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: #000;
  color: #f00093;
  font-family: Courier New, Consolas, Monaco, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#cli {
  text-align: center;
  width: 90vw;
  max-width: 800px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-size: 22px;
  text-shadow: 0 0 5px #f00093, 0 0 10px rgba(240, 0, 147, 0.5);
  position: relative;
  z-index: 3;
}

.hidden {
  display: none;
}

.cursor {
  display: inline-block;
  font-weight: 700;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

#footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: transparent;
  color: #f00094;
  font-family: Courier New, Consolas, Monaco, monospace;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-shadow: 0 0 5px #f000948f, 0 0 10px rgba(240, 0, 148, 0.596);
  overflow: hidden;
  height: 25px;
  transition: height 0.3s ease;
  cursor: pointer;
  z-index: 5;
}

#footer-bar:hover {
  height: 100px;
}

.footer-content {
  padding: 5px 10px;
}

.icon {
  width: 28px;
  height: 28px;
  margin: 5px;
  vertical-align: middle;
  filter: drop-shadow(0 0 5px #f00093)
    drop-shadow(0 0 10px rgba(240, 0, 147, 0.7));
  transition: transform 0.2s ease;
}

.icon:hover {
  transform: scale(1.2);
}
.footertext {
  color: #f00093;
  width: 28px;
  height: 28px;
  margin: 5px;
  vertical-align: middle;
  filter: drop-shadow(0 0 5px #f00093)
    drop-shadow(0 0 10px rgba(240, 0, 147, 0.7));
  transition: transform 0.2s ease;
}

.footertext:hover {
  transform: scale(1.2);
}

#footer {
  margin-top: 24px;
  font-size: 10px;
  color: #555;
  opacity: 0;
  animation: footerIn 1s ease forwards;
}
@keyframes footerIn {
  to {
    opacity: 1;
  }
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.04) 2px,
    transparent 2px,
    transparent 4px
  );
  animation: scanMove 15s linear infinite;
}
@keyframes scanMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(4px);
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  z-index: 1;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: #ffffff03;
  pointer-events: none;
  z-index: 4;
  animation: flicker 3s ease-in-out infinite;
}
@keyframes flicker {
  0%,
  100% {
    opacity: 0.97;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #cli {
    font-size: 18px;
    width: 95vw;
  }
  #prompt::before {
    content: "点击继续";
    position: absolute;
    top: -2.5em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8em;
    opacity: 0.7;
  }
}
@media (min-width: 1200px) {
  #cli {
    font-size: 24px;
  }
}
