:root {
  --bg: #050d14;
  --ink: #eef6fa;
  --muted: rgba(190, 214, 228, 0.72);
  --ice: #8fd4e8;
  --teal: #3fa9a0;
  --steel: #6a8796;
  --line: rgba(143, 212, 232, 0.28);
  --glow: rgba(63, 169, 160, 0.35);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Sora", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg);
  overflow-x: hidden;
}

/* —— atmosphere —— */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 110%, #0c2433 0%, transparent 55%),
    radial-gradient(80% 50% at 15% 20%, rgba(63, 169, 160, 0.18), transparent 50%),
    radial-gradient(70% 45% at 85% 15%, rgba(143, 212, 232, 0.14), transparent 48%),
    linear-gradient(180deg, #06121c 0%, #050d14 55%, #081820 100%);
}

.aurora {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}

.a1 {
  top: -18%;
  left: -8%;
  background: radial-gradient(circle, rgba(63, 169, 160, 0.7) 0%, transparent 68%);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.a2 {
  top: -10%;
  right: -12%;
  width: 48vmax;
  height: 48vmax;
  background: radial-gradient(circle, rgba(120, 190, 220, 0.55) 0%, transparent 70%);
  animation: drift-b 28s ease-in-out infinite alternate;
}

.a3 {
  bottom: 5%;
  left: 30%;
  width: 42vmax;
  height: 42vmax;
  background: radial-gradient(circle, rgba(40, 110, 130, 0.45) 0%, transparent 72%);
  animation: drift-c 26s ease-in-out infinite alternate;
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 13, 20, 0.55) 40%, rgba(5, 13, 20, 0.92) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0 48px,
      rgba(143, 212, 232, 0.03) 48px 49px
    );
  mask-image: linear-gradient(180deg, transparent, #000 35%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 8%, 0) scale(1.08);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  to {
    transform: translate3d(-7%, 5%, 0) scale(1);
  }
}

@keyframes drift-c {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(4%, -6%, 0) scale(1.1);
  }
}

/* —— gate / hero —— */
.gate {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) clamp(1.25rem, 4vw, 2.5rem)
    clamp(2.5rem, 8vh, 4.5rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0;
  animation: rise 0.9s ease 0.1s forwards;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.brand-line {
  display: block;
  opacity: 0;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.brand-line:first-child {
  animation-delay: 0.2s;
}

.brand-line.accent {
  color: var(--ice);
  text-shadow: 0 0 40px rgba(143, 212, 232, 0.25);
  animation-delay: 0.35s;
}

.lede {
  margin: 1.35rem 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  animation: rise 0.9s ease 0.5s forwards;
}

/* —— emergency voice strip (above destinations; ice/teal, not purple) —— */
.voice-alert {
  width: min(100%, 1100px);
  margin-top: clamp(1.5rem, 4vh, 2.25rem);
  opacity: 0;
  animation: rise 0.7s ease 0.55s forwards;
}

.voice-alert[hidden] {
  display: none !important;
}

.voice-alert-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.15rem 1.4rem 1.2rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(143, 212, 232, 0.55);
  border-left: 3px solid var(--ice);
  background: linear-gradient(
    145deg,
    rgba(18, 52, 62, 0.78) 0%,
    rgba(8, 28, 36, 0.55) 55%,
    rgba(10, 36, 42, 0.45) 100%
  );
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(63, 169, 160, 0.12),
    0 0 28px -8px rgba(143, 212, 232, 0.35),
    0 20px 48px -28px var(--glow);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.voice-alert-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(143, 212, 232, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.voice-alert-link:hover,
.voice-alert-link:focus-visible {
  border-color: rgba(143, 212, 232, 0.85);
  box-shadow:
    0 0 0 1px rgba(143, 212, 232, 0.2),
    0 0 36px -6px rgba(143, 212, 232, 0.45),
    0 22px 44px -22px var(--glow);
  transform: translateY(-2px);
  outline: none;
}

.voice-alert-link:hover::before,
.voice-alert-link:focus-visible::before {
  opacity: 1;
}

.voice-alert-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
}

.voice-alert-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.voice-alert-hint {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(143, 212, 232, 0.92);
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.voice-alert-link:hover .voice-alert-hint,
.voice-alert-link:focus-visible .voice-alert-hint {
  transform: translateX(4px);
  opacity: 1;
}

.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  width: min(100%, 1100px);
  margin-top: clamp(2rem, 5vh, 3rem);
  opacity: 0;
  animation: rise 0.9s ease 0.7s forwards;
}

.dest {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem 1.2rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: linear-gradient(
    145deg,
    rgba(14, 36, 48, 0.55) 0%,
    rgba(8, 20, 28, 0.35) 100%
  );
  backdrop-filter: blur(10px);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.dest::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(143, 212, 232, 0.08) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dest:hover,
.dest:focus-visible {
  border-color: rgba(143, 212, 232, 0.55);
  box-shadow: 0 0 0 1px rgba(143, 212, 232, 0.12), 0 18px 40px -24px var(--glow);
  transform: translateY(-3px);
  outline: none;
}

.dest:hover::before,
.dest:focus-visible::before {
  opacity: 1;
}

.dest-armory:hover,
.dest-armory:focus-visible {
  background: linear-gradient(
    145deg,
    rgba(20, 52, 58, 0.7) 0%,
    rgba(10, 28, 36, 0.45) 100%
  );
}

.dest-bot:hover,
.dest-bot:focus-visible {
  background: linear-gradient(
    145deg,
    rgba(18, 40, 58, 0.7) 0%,
    rgba(8, 22, 34, 0.45) 100%
  );
}

.dest-voice:hover,
.dest-voice:focus-visible {
  background: linear-gradient(
    145deg,
    rgba(22, 48, 62, 0.75) 0%,
    rgba(10, 30, 40, 0.5) 100%
  );
}

.dest-stripe:hover,
.dest-stripe:focus-visible {
  background: linear-gradient(
    145deg,
    rgba(48, 28, 58, 0.7) 0%,
    rgba(22, 12, 34, 0.45) 100%
  );
}

.dest-keeper:hover,
.dest-keeper:focus-visible {
  background: linear-gradient(
    145deg,
    rgba(28, 48, 38, 0.7) 0%,
    rgba(12, 28, 22, 0.45) 100%
  );
}

.dest-stat:hover,
.dest-stat:focus-visible {
  background: linear-gradient(
    145deg,
    rgba(24, 40, 68, 0.75) 0%,
    rgba(12, 22, 40, 0.5) 100%
  );
}

.dest-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.dest-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dest-hint {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ice);
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.dest:hover .dest-hint,
.dest:focus-visible .dest-hint {
  transform: translateX(4px);
  opacity: 1;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .destinations {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .brand {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora,
  .eyebrow,
  .brand-line,
  .lede,
  .voice-alert,
  .destinations {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .dest,
  .dest-hint,
  .voice-alert-link,
  .voice-alert-hint {
    transition: none;
  }
}
