:root {
  --accent-gold: #ffd96a;
  --accent-blue: #6fd9ff;
  --accent-blue-d: #7966ff;
  --deep-glass: #0b0b18;
  --light-glass: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(ellipse at center, #010104 0%, #000007 100%);
  font-family: "Inter", "Space Grotesk", system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.9);
}

#universe {
  position: fixed;
  inset: 0;
  z-index: 0;
}

#universe canvas {
  filter: saturate(136%) brightness(128%) contrast(118%);
}

.ascii-orbit-layer {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.ascii-sprite {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  white-space: pre;
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: "Space Mono", monospace;
  font-size: clamp(9px, 0.9vw, 13px);
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  user-select: none;
}

.ascii-earth {
  color: rgba(158, 230, 255, 0.95);
  text-shadow:
    0 0 6px rgba(120, 210, 255, 0.7),
    0 0 14px rgba(110, 174, 255, 0.45);
}

.ascii-black-hole {
  color: rgba(255, 217, 132, 0.95);
  text-shadow:
    0 0 6px rgba(255, 197, 102, 0.7),
    0 0 16px rgba(255, 140, 80, 0.4);
}

.overlay {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding: clamp(96px, 14vh, 140px) 18px 72px;
}

.overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 65% at 55% 48%, rgba(195, 127, 255, 0.13) 0%, transparent 80%),
    radial-gradient(ellipse 80% 60% at 40% 30%, rgba(218, 106, 255, 0.1) 0%, transparent 85%),
    radial-gradient(ellipse 60% 40% at 70% 72%, rgba(120, 102, 255, 0.08) 0%, transparent 90%),
    linear-gradient(120deg, rgba(255, 217, 106, 0.1) 0%, rgba(127, 211, 255, 0.08) 100%),
    linear-gradient(60deg, rgba(255, 255, 255, 0.07) 0%, rgba(120, 102, 255, 0.05) 100%);
  background-blend-mode: screen, lighten, lighten, screen, screen;
  filter: blur(60px);
  mix-blend-mode: screen;
  opacity: 0.44;
  animation: plasmaDrift 40s ease-in-out infinite alternate;
  -webkit-mask-image:
    radial-gradient(ellipse 60% 38% at 50% 50%, white 80%, transparent 100%),
    radial-gradient(ellipse 120% 40% at 50% 0%, white 92%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 60% 38% at 50% 50%, white 80%, transparent 100%),
    radial-gradient(ellipse 120% 40% at 50% 0%, white 92%, transparent 100%);
  -webkit-mask-composite: lighten;
  mask-composite: add;
}

@keyframes plasmaDrift {
  0% {
    background-position:
      55% 48%,
      40% 30%,
      70% 72%,
      0% 0%,
      100% 100%;
  }
  50% {
    background-position:
      50% 52%,
      44% 36%,
      74% 67%,
      100% 0%,
      0% 100%;
  }
  100% {
    background-position:
      60% 56%,
      38% 34%,
      66% 74%,
      0% 100%,
      100% 0%;
  }
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 26px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  z-index: 20;
  border: 1px solid rgba(255, 217, 106, 0.4);
  border-radius: 999px;
  background: rgba(8, 12, 22, 0.26);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  text-decoration: none;
  color: #fff4ca;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-family: "Orbitron", "Space Mono", monospace;
  font-size: 0.84rem;
}

.nav {
  display: flex;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  font-family: "Space Mono", monospace;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-grid {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.glass-panel {
  background:
    linear-gradient(135deg, rgba(255, 175, 75, 0.06), rgba(255, 100, 180, 0.045) 40%, rgba(20, 20, 40, 0.05)),
    radial-gradient(circle at 20% 30%, rgba(255, 210, 150, 0.08), transparent 70%),
    linear-gradient(145deg, rgba(11, 15, 34, 0.26) 0%, rgba(5, 7, 18, 0.24) 100%);
  background-blend-mode: screen, overlay, normal;
  position: relative;
  backdrop-filter: blur(22px) saturate(160%) brightness(1.02);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(127, 211, 255, 0.1),
    0 10px 34px rgba(6, 10, 24, 0.34);
  padding: clamp(20px, 3vw, 34px);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  z-index: 6;
  border-right: 1px solid rgba(255, 217, 106, 0.42);
  border-bottom: 1px solid rgba(255, 217, 106, 0.42);
  border-bottom-right-radius: 40px;
  border-left: 1px solid rgba(127, 211, 255, 0.22);
  border-top: 1px solid rgba(127, 211, 255, 0.2);
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    url("https://www.transparenttextures.com/patterns/dark-mosaic.png"),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.1) 70%);
  background-blend-mode: multiply;
  opacity: 0.12;
  filter: contrast(125%) brightness(0.92);
  pointer-events: none;
  z-index: 1;
}

.glass-panel > * {
  position: relative;
  z-index: 2;
}

.glass-panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 20px rgba(127, 211, 255, 0.2),
    0 0 50px rgba(255, 217, 106, 0.15);
}

.hero-panel {
  grid-column: 1 / -1;
}

.money-hero-panel {
  overflow: hidden;
}

.box-ascii-earth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.86;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(127, 211, 255, 0.16), rgba(0, 0, 0, 0) 70%),
    linear-gradient(140deg, rgba(255, 217, 106, 0.08), rgba(127, 211, 255, 0.04));
}

.box-ascii-earth-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  white-space: pre;
  line-height: 1.02;
  letter-spacing: 0.035em;
  font-family: "Space Mono", monospace;
  font-size: clamp(8px, 0.78vw, 12px);
  transform: translate(-50%, -50%);
  color: rgba(190, 231, 255, 0.9);
  text-shadow:
    0 0 8px rgba(127, 211, 255, 0.64),
    0 0 16px rgba(255, 217, 106, 0.24);
  will-change: transform, opacity, text-shadow;
}

.money-earth-controls {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(127, 211, 255, 0.24);
  background: rgba(6, 10, 22, 0.42);
}

.money-control {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 8px;
}

.money-control label {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(225, 238, 255, 0.74);
}

.money-control input[type="range"] {
  width: 100%;
}

.money-control output {
  min-width: 4ch;
  text-align: right;
  font-size: 0.72rem;
  color: rgba(255, 233, 179, 0.92);
}

h1,
h2 {
  background: linear-gradient(90deg, #ffe08a, #7fd3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 12px;
  font-family: "Playfair Display SC", serif;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

p,
li,
label,
input,
textarea,
small,
button,
a {
  font-family: "Space Mono", monospace;
}

p,
li,
small {
  color: rgba(205, 225, 255, 0.92);
  line-height: 1.58;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 10px;
  color: rgba(255, 234, 182, 0.95);
}

.lead {
  max-width: 70ch;
}

.price-banner {
  margin-top: 10px;
  border: 1px solid rgba(255, 217, 106, 0.34);
  border-radius: 16px;
  padding: 10px 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 217, 106, 0.07);
}

.price-banner strong {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: #ffd96a;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.retro-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.84rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(32, 34, 54, 0.95), rgba(21, 19, 34, 0.95));
  color: #ffe9b3;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.retro-btn:hover,
.retro-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
}

.retro-btn .btn-label {
  position: relative;
  z-index: 2;
  color: inherit;
}

.retro-btn .stripes {
  position: absolute;
  inset: 0;
  width: 220%;
  height: 100%;
  pointer-events: none;
  transform: translateX(-55%);
  transition: transform 1.9s linear;
}

.retro-btn .stripe {
  fill: #7fd3ff;
  opacity: 0.35;
}

.retro-btn:hover .stripes,
.retro-btn:focus-visible .stripes {
  transform: translateX(48%);
}

ul,
ol {
  margin: 6px 0 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  border: 1px solid rgba(127, 211, 255, 0.35);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #d7f3ff;
  background: rgba(127, 211, 255, 0.08);
}

.reserve-form {
  display: grid;
  gap: 10px;
}

.reserve-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reserve-form input,
.reserve-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 20, 0.66);
  color: #fff;
  padding: 10px 12px;
}

.reserve-form input:focus,
.reserve-form textarea:focus {
  outline: none;
  border-color: rgba(255, 217, 106, 0.7);
  box-shadow: 0 0 0 2px rgba(255, 217, 106, 0.2);
}

.hidden-field {
  display: none;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
}

.inline-link {
  color: #b6efff;
}

.feedback {
  margin: 0;
  min-height: 1.2em;
  color: #ffe2a7;
  font-size: 0.82rem;
}

.site-footer {
  width: min(1180px, 100%);
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(205, 225, 255, 0.8);
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    transform: none;
    width: calc(100% - 24px);
    margin: 12px auto 0;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .overlay {
    padding-top: 24px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .money-earth-controls {
    grid-template-columns: 1fr;
  }
}
