@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  color-scheme: dark;
  --charcoal: #242424;
  --text: #f2f0e9;
  --accent: #d9a441;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--charcoal);
  color: var(--text);
  font-family: system-ui, sans-serif;
  overflow: hidden;
}

.landing {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 50%, #333 0%, #292929 38%, var(--charcoal) 76%);
}

/* A soft, slow-moving band of light across the charcoal background. */
.light-sheen {
  position: absolute;
  z-index: -1;
  inset: -45%;
  pointer-events: none;
  opacity: 0.55;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgb(255 255 255 / 0%) 42%,
    rgb(255 255 255 / 5%) 48%,
    rgb(255 255 255 / 12%) 50%,
    rgb(217 164 65 / 7%) 52%,
    rgb(255 255 255 / 0%) 59%,
    transparent 66%
  );
  filter: blur(24px);
  transform: translateX(-55%) rotate(-8deg);
  animation: shimmer 9s ease-in-out infinite alternate;
}

.brand {
  width: min(92vw, 900px);
  padding: 2rem 1rem;
  text-align: center;
  animation: fade-in 1.1s ease-out both;
}

.chrome-title {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  position: relative;

  /* Reflective chrome surface */
  background: linear-gradient(180deg,
      #ffffff 0%,
      #a9d5f2 8%,
      #ffffff 15%,
      #526d80 23%,
      #f8ffff 32%,
      #8ba9bb 40%,
      #303d49 48%,
      #ffffff 55%,
      #a9c6d8 63%,
      #536675 72%,
      #eaf8ff 80%,
      #758b9a 90%,
      #ffffff 100%);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Deep 3D edges and metallic highlights */
  filter:
    drop-shadow(0 1px 0 #ffffff) drop-shadow(0 3px 0 #8c9ba5) drop-shadow(0 5px 0 #303840) drop-shadow(0 8px 3px #000000) drop-shadow(0 0 12px rgb(116 192 255 / 25%));

  line-height: 1.3;
  margin: 0;
}

.loading-line {
  min-height: 2rem;
  margin: 1.8rem 0 0;

  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(0.55rem, 1.5vw, 0.9rem);
  line-height: 1.8;
  letter-spacing: 0.04em;

  color: #c8e6f7;

  text-shadow:
    0 1px 0 #ffffff,
    0 0 5px rgba(150, 210, 255, 0.5),
    0 0 14px rgba(100, 180, 255, 0.2);
}

.cursor {
  display: inline-block;
  margin-left: 0.15em;
  color: #ffffff;
  animation: blink 0.8s steps(2, start) infinite;
}


.cursor {
  display: inline-block;
  margin-left: 0.15em;
  animation: blink 0.8s steps(2, start) infinite;
}


@keyframes shimmer {
  from { transform: translateX(-55%) rotate(-8deg); }
  to   { transform: translateX(55%) rotate(-8deg); }
}

@keyframes blink {
  to { visibility: hidden; }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
