html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.intro-body {
  font-family: Poppins, sans-serif;
  transition: opacity .7s ease;
}

.intro-body.fade-out {
  opacity: 0;
  pointer-events: none;
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

.intro-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 35%, #000000cc 78%),
    linear-gradient(to bottom, transparent 55%, #000 92%);
}

.skip-intro {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 5;
  color: #ffffff80;
  font-size: 13px;
  letter-spacing: .5px;
  text-decoration: none;
  transition: color .2s;
}

.skip-intro:hover {
  color: #a6dc00;
}

.intro-stage {
  position: fixed;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  z-index: 2;
  width: min(680px, 90vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-character {
  position: relative;
  width: 42%;
  pointer-events: none;
}

.intro-character img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 35px #a6dc0044);
}

.dialogue-box {
  position: relative;
  z-index: 3;
  width: 100%;
  background: linear-gradient(180deg, #0a0f0ae6, #05070596);
  border: 1px solid #a6dc0066;
  box-shadow: 0 0 50px #00000090, 0 0 40px #a6dc0022 inset;
  border-radius: 18px;
  padding: 26px 32px 30px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: box-in .8s ease .3s forwards;
}

@keyframes box-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.dialogue-name {
  color: #a6dc00;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dialogue-text {
  color: #f0f0f0;
  font-size: 17px;
  line-height: 1.6;
  min-height: 58px;
  margin: 0 0 20px;
}

.dialogue-text .cursor {
  display: inline-block;
  width: 8px;
  height: 18px;
  background: #a6dc00;
  margin-left: 2px;
  vertical-align: middle;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #a6dc00;
  color: #101410;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 13px 26px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .4s, transform .4s, background .2s, box-shadow .2s;
}

.pill-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pill-btn:hover {
  background: #c6f56e;
  box-shadow: 0 0 30px #a6dc0088;
}

.pill-btn:active {
  transform: scale(.96);
}

@media screen and (max-width: 700px) {
  .intro-stage { bottom: 2vh; }
  .intro-character { width: 68%; }
  .dialogue-box { padding: 20px 22px 24px; }
  .dialogue-text { font-size: 15px; }
}
