:root {
  --neon-blue: #00d9ff;
  --neon-pink: #ff0080;
  --dark-bg: #0a0a0f;
  --text-light: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  background-color: #000;
  color: var(--text-light);
  min-height: 100vh;
  width: 100vw;
}

body.landing {
  overflow: hidden;
  height: 100vh;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
}

.center-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  width: min(90vw, 960px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: -6px;
}

.console-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  color: rgba(0, 185, 210, 0.9);
  text-shadow:
    0 0 6px rgba(0, 185, 210, 0.35),
    0 0 12px rgba(0, 185, 210, 0.2);
  align-self: stretch;
  padding-left: 8.7%;
}

.console-line {
  margin: 0;
}

.console-label {
  color: rgba(0, 185, 210, 0.9);
  text-shadow:
    0 0 6px rgba(0, 185, 210, 0.35),
    0 0 12px rgba(0, 185, 210, 0.2);
}

.console-prompt {
  color: var(--neon-pink);
  text-shadow:
    0 0 8px rgba(255, 0, 128, 0.7),
    0 0 14px rgba(255, 0, 128, 0.5);
}

.console-accent {
  color: var(--neon-pink);
  text-shadow:
    0 0 8px rgba(255, 0, 128, 0.7),
    0 0 14px rgba(255, 0, 128, 0.5);
}

.console-value {
  font-weight: 600;
  margin-right: 2px;
}

.console-online {
  color: #45ff7a;
  text-shadow:
    0 0 10px rgba(69, 255, 122, 0.9),
    0 0 20px rgba(69, 255, 122, 0.7);
}

.console-off {
  color: #ff3b4f;
  text-shadow:
    0 0 10px rgba(255, 59, 79, 0.9),
    0 0 20px rgba(255, 59, 79, 0.7);
}

.console-caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  margin-left: 6px;
  background: rgba(0, 185, 210, 0.9);
  box-shadow: 0 0 8px rgba(0, 185, 210, 0.5);
  vertical-align: middle;
  animation: caret-blink 0.9s steps(2, start) infinite;
}

.hero-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 12px 40px;
  font-size: 70px;
  font-weight: bold;
  text-decoration: none;
  color: var(--neon-pink);
  background: transparent;
  border: none;
  box-shadow: none;
  text-shadow:
    0 0 10px var(--neon-pink),
    0 0 20px var(--neon-pink);
  transition: all 0.3s ease;
  letter-spacing: 11.5px;
  image-rendering: pixelated;
  animation: pulse-glow 2.4s ease-in-out infinite;
  cursor: pointer;
}

.start-hint {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: rgba(180, 180, 180, 0.7);
  text-shadow: none;
  white-space: nowrap;
}

.start-hint-accent {
  color: rgba(120, 220, 240, 0.85);
  text-shadow: 0 0 6px rgba(0, 217, 255, 0.35);
}

.screen-area {
  position: absolute;
  left: 26.17%;
  top: 18.75%;
  width: 46.94%;
  height: 38.09%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.hero-screen .start-button {
  transform: translate(0, 0);
}

.start-button:hover {
  color: #ff66a3;
  text-shadow:
    0 0 15px var(--neon-pink),
    0 0 30px var(--neon-pink);
}

.start-button:active {
  opacity: 0.8;
}

.screen-area .start-button {
  animation: pulse-scale 3s ease-in-out infinite, pulse-glow 2.4s ease-in-out infinite;
}

.screen-area .start-button:hover:not(.is-paused) {
  transform: scale(1.16);
  color: #ff9cd6;
  text-shadow:
    0 0 18px rgba(255, 0, 128, 1),
    0 0 36px rgba(255, 0, 128, 0.9),
    0 0 48px rgba(255, 0, 128, 0.7);
  animation: none;
}

.screen-area .start-button:active {
  transform: scale(1.05);
  color: #ff5fa8;
}

.screen-area .start-button.is-paused {
  transform: scale(1.05);
  animation-play-state: paused;
}

.progress-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.progress-overlay.is-active {
  opacity: 1;
}

.progress-track {
  width: 70%;
  max-width: 320px;
  height: 12px;
  border: 2px solid var(--neon-blue);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00c6ff 0%, #ff00b8 100%);
  box-shadow: 0 0 12px rgba(255, 0, 184, 0.8);
}

.progress-bar.animate {
  animation: fill-bar 0.5s linear forwards;
}

@keyframes pulse-glow {
  0% {
    color: var(--neon-pink);
    text-shadow:
      0 0 8px rgba(255, 0, 128, 0.8),
      0 0 18px rgba(255, 0, 128, 0.5);
  }
  50% {
    color: #ff7fb8;
    text-shadow:
      0 0 16px rgba(255, 0, 128, 1),
      0 0 35px rgba(255, 0, 128, 0.8);
  }
  100% {
    color: var(--neon-pink);
    text-shadow:
      0 0 8px rgba(255, 0, 128, 0.8),
      0 0 18px rgba(255, 0, 128, 0.5);
  }
}

@keyframes pulse-scale {
  0% {
    transform: scale(0.94);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(0.94);
  }
}

@keyframes fill-bar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

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

.bottom-nav {
  display: flex;
  gap: 32px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-note {
  margin-top: 4px;
  color: var(--neon-pink);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow:
    0 0 8px rgba(255, 0, 128, 0.8),
    0 0 16px rgba(255, 0, 128, 0.6);
}

.nav-link {
  font-size: 14px;
  color: var(--neon-blue);
  text-decoration: none;
  text-shadow: 0 0 5px var(--neon-blue);
  transition: all 0.3s ease;
  opacity: 0.8;
}

.nav-link:hover {
  opacity: 1;
  text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}

@media (max-width: 768px) {
  .console-lines {
    font-size: 12px;
    letter-spacing: 0.4px;
  }

  .start-button {
    padding: 20px 48px;
    font-size: 36px;
    letter-spacing: 6px;
  }

  .hero {
    width: 95vw;
  }

  .bottom-nav {
    gap: 12px 18px;
    flex-direction: row;
    align-items: center;
  }

  .nav-link {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .console-lines {
    font-size: 10px;
    letter-spacing: 0.3px;
  }

  .start-button {
    padding: 16px 32px;
    font-size: 28px;
    letter-spacing: 4px;
  }

}

.page-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
  padding: 40px 24px;
  overflow-y: auto;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(10, 10, 15, 0.9);
  border: 2px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
  padding: 40px;
}

.page-content h1 {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
  margin-bottom: 32px;
  font-size: 32px;
  text-align: center;
  letter-spacing: 2px;
}

.page-content h2 {
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--neon-blue);
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 24px;
}

.page-content p,
.page-content ul {
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-light);
}

.page-content ul {
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 12px;
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 24px;
  color: var(--neon-blue);
  text-decoration: none;
  border: 2px solid var(--neon-blue);
  text-shadow: 0 0 5px var(--neon-blue);
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: rgba(0, 217, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

@media (max-width: 768px) {
  .page-content {
    padding: 24px;
  }

  .page-content h1 {
    font-size: 24px;
  }

  .page-content h2 {
    font-size: 20px;
  }
}
