@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Share+Tech+Mono&display=swap');

:root {
  --bg: #0c0d1a;
  --panel: #12162b;
  --edge: #34d2ff;
  --edge-dark: #0b4f66;
  --text: #c7f6ff;
  --accent: #ff5cdb;
  --muted: #7ab9c9;
  --shadow: 0 14px 0 rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
}

body.no-scroll {
  overflow: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.02) 40%, rgba(0,0,0,0.4) 80%),
    repeating-linear-gradient(90deg, rgba(52, 210, 255, 0.15) 0, rgba(52, 210, 255, 0.15) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(52, 210, 255, 0.12) 0, rgba(52, 210, 255, 0.12) 1px, transparent 1px, transparent 40px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.intro {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0b0d1a;
  color: #f2fbff;
  z-index: 20;
  transition: opacity 0.9s ease;
}

.intro.hide {
  opacity: 0;
  pointer-events: none;
}

.intro-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.35;
}

.intro-digits-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 2.2s ease-out;
}

.intro-bg.expand .intro-digits-wrap {
  clip-path: circle(75% at 50% 50%);
}

.intro-digits {
  margin: 0;
  white-space: pre;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #7fe9ff;
}

.intro-text {
  position: relative;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 16px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}

.egg-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 24, 0.94);
  color: #f7f6f2;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.egg-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.egg-shell {
  position: relative;
  width: min(420px, 86vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.egg-frame {
  position: absolute;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  visibility: hidden;
  opacity: 1;
}

.egg-frame.is-visible {
  visibility: visible;
}

.egg-text {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 32px;
  font-size: 36px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .egg-text {
    white-space: normal;
    text-align: center;
    max-width: 92vw;
    line-height: 1.2;
    letter-spacing: 0.12em;
  }
}

.screen {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px 64px;
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 2px solid var(--edge);
  border-bottom: 4px solid var(--edge-dark);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.kicker {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--muted);
  letter-spacing: 0.2em;
}

h1 {
  font-size: 36px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Orbitron', sans-serif;
}

.sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.cursor-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--accent);
}

.prompt {
  font-weight: 700;
}

.cursor {
  width: 10px;
  height: 18px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 6px rgba(255, 92, 219, 0.7);
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    opacity: 0;
  }
}

.hero-preview {
  position: relative;
  height: 240px;
  border: 2px solid var(--edge);
  border-bottom: 4px solid var(--edge-dark);
  background: rgba(18, 22, 43, 0.95);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.preview-digits {
  position: absolute;
  inset: 0;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: rgba(127, 233, 255, 0.5);
  font-family: 'Share Tech Mono', monospace;
  white-space: pre;
  opacity: 0.6;
}

.preview-doggo {
  position: absolute;
  bottom: 16px;
  left: 24px;
  width: 72px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  z-index: 2;
}

.section {
  margin-top: 36px;
  padding: 22px 24px;
  border: 2px solid var(--edge);
  border-bottom: 4px solid var(--edge-dark);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.link {
  color: var(--accent);
  text-decoration: underline;
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.shot {
  position: relative;
  border: 2px dashed var(--edge);
  height: 140px;
  display: grid;
  place-items: center;
  background: rgba(52, 210, 255, 0.08);
  overflow: hidden;
}

.shot-sprite {
  width: 92px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.shot-poop {
  position: absolute;
  left: 34px;
  bottom: 36px;
  width: 26px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.shot-sign {
  position: absolute;
  right: 40px;
  top: 26px;
  width: 28px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.question {
  text-align: left;
  font-size: 20px;
  letter-spacing: 0.6px;
}

.question-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--accent);
}

.question-text {
  color: var(--text);
}

.question .cursor {
  width: 10px;
  height: 18px;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 6px rgba(255, 92, 219, 0.7);
  animation: blink 1s steps(2, start) infinite;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 28px;
  }
}
