:root {
  --bg: #080512;
  --bg-soft: #120b24;
  --panel: rgba(19, 13, 34, 0.86);
  --panel-strong: rgba(27, 18, 48, 0.94);
  --line: rgba(234, 192, 101, 0.24);
  --gold: #ffd56b;
  --gold-soft: #fff1bf;
  --ember: #ff9f56;
  --teal: #6ee7d8;
  --green: #9be47d;
  --bone: #f5ead0;
  --muted: #bcae91;
  --ink: #1a102b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --font-display: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --font-ui: "Cinzel", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(110, 231, 216, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 4%, rgba(255, 213, 107, 0.14), transparent 22rem),
    linear-gradient(180deg, #080512 0%, #130d24 42%, #090614 100%);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.68;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 5, 18, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 213, 107, 0.58);
  border-radius: 8px;
  background: linear-gradient(150deg, #41276c, #1a102b);
  box-shadow: inset 0 0 18px rgba(255, 213, 107, 0.18), 0 0 26px rgba(110, 231, 216, 0.13);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #efe3c6;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(255, 213, 107, 0.46);
  background: rgba(255, 213, 107, 0.09);
  color: #ffffff;
}

.discord-link {
  background: rgba(88, 101, 242, 0.18) !important;
  border: 1px solid rgba(88, 101, 242, 0.5) !important;
  border-radius: 999px !important;
  color: #c9cdfb !important;
}

.discord-link:hover {
  background: rgba(88, 101, 242, 0.32) !important;
  border-color: rgba(88, 101, 242, 0.7) !important;
  color: #ffffff !important;
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 12vh, 132px) clamp(18px, 5vw, 72px) 74px;
  background-image:
    linear-gradient(180deg, rgba(8, 5, 18, 0.28), rgba(8, 5, 18, 0.88)),
    radial-gradient(circle at 50% 42%, rgba(255, 213, 107, 0.16), transparent 26rem),
    url("images/bg-galaxy-purple.jpg");
  background-position: center;
  background-size: cover;
}

.hero--compact {
  min-height: 460px;
  padding-top: 92px;
  padding-bottom: 54px;
  background-image:
    linear-gradient(180deg, rgba(8, 5, 18, 0.2), rgba(8, 5, 18, 0.92)),
    url("images/bg-aurora-mountain.jpg");
}

.video-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.video-section-title {
  margin: 0 0 24px;
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: clamp(24px, 3.5vw, 36px);
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 18, 48, 0.92), rgba(13, 8, 26, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 107, 0.46);
}

.video-card h3 {
  margin: 0;
  padding: 14px 16px;
  color: var(--bone);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-card:hover .video-play {
  background: rgba(255, 213, 107, 0.88);
  color: var(--ink);
  transform: translate(-50%, -50%) scale(1.08);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.hero-title,
.title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(255, 213, 107, 0.34), 0 3px 0 rgba(67, 38, 8, 0.74);
}

.hero--compact .hero-title {
  font-size: clamp(36px, 7vw, 84px);
}

.title .ch,
.hero-title .ch {
  display: inline-block;
  color: transparent;
  background: linear-gradient(180deg, #fff8da 0%, #ffe69e 36%, #e8ad43 70%, #8d5a18 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.title .word,
.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 860px;
  margin: 24px auto 0;
  color: #f5ead0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.42;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 213, 107, 0.58);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 213, 107, 0.96), rgba(214, 151, 50, 0.96));
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(255, 174, 63, 0.22);
}

.button--ghost {
  background: rgba(14, 9, 27, 0.68);
  color: var(--gold-soft);
}

.embers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ember {
  position: absolute;
  border-radius: 999px;
  background: #fff4c8;
  box-shadow: 0 0 12px rgba(255, 213, 107, 0.85);
  opacity: 0.65;
  animation: ember-rise 10s linear infinite;
}

@keyframes ember-rise {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.05;
  }
  20% {
    opacity: 0.75;
  }
  to {
    transform: translate3d(30px, -78vh, 0);
    opacity: 0;
  }
}

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 74px;
}

.section {
  padding: 38px 0;
  border-top: 1px solid rgba(255, 213, 107, 0.14);
}

.section:first-child {
  border-top: 0;
}

.section h2,
.section h3 {
  font-family: var(--font-ui);
  line-height: 1.16;
}

.section h2 {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: clamp(30px, 4vw, 48px);
}

.section h3 {
  margin: 28px 0 10px;
  color: var(--teal);
  font-size: clamp(22px, 3vw, 30px);
}

.section p,
.section li {
  color: #eadfc6;
}

.toc,
.callout,
.card,
.faq-list details,
.stat-strip,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 18, 48, 0.92), rgba(13, 8, 26, 0.9));
  box-shadow: var(--shadow);
}

.toc {
  padding: 22px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 213, 107, 0.08);
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: 13px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
}

.stat {
  min-height: 112px;
  padding: 20px;
  background: rgba(8, 5, 18, 0.42);
}

.stat b {
  display: block;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.card {
  padding: 22px;
}

.card h3 {
  margin-top: 0;
}

.card .tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(110, 231, 216, 0.12);
  color: var(--teal);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 8, 26, 0.78);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 18px;
}

caption {
  padding: 14px 16px;
  color: var(--gold);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

th,
td {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 213, 107, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--teal);
}

.map-panel {
  min-height: 360px;
  margin: 28px 0;
  padding: 28px;
  background-image:
    linear-gradient(135deg, rgba(8, 5, 18, 0.72), rgba(8, 5, 18, 0.92)),
    url("images/bg-deep-space.jpg");
  background-position: center;
  background-size: cover;
}

.map-pins {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.pin {
  padding: 14px;
  border: 1px solid rgba(110, 231, 216, 0.28);
  border-radius: 8px;
  background: rgba(8, 5, 18, 0.58);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--gold-soft);
  font-family: var(--font-ui);
  font-weight: 700;
}

.footer {
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #07040f;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 13px;
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .stat-strip,
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body {
    font-size: 18px;
  }

  .site-header {
    position: relative;
    width: 100%;
    padding-inline: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-title,
  .title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-lede {
    font-size: 22px;
  }

  .stat-strip,
  .card-grid,
  .map-pins {
    grid-template-columns: 1fr;
  }

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

  .page-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 34px;
  }

  .nav-links a {
    font-size: 11px;
    text-align: center;
    width: 100%;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions,
  .inline-actions {
    align-items: center;
    flex-direction: column;
  }

  .button {
    width: min(100%, 320px);
  }
}
