:root {
  --black: #030405;
  --ink: #080d10;
  --panel: rgba(3, 8, 12, 0.78);
  --panel-strong: rgba(1, 5, 8, 0.94);
  --teal: #39d5dc;
  --teal-soft: #92fbff;
  --gold: #c39a57;
  --gold-bright: #e2c27b;
  --white: #fff8ed;
  --muted: #c9d0cf;
  --navy: #05152b;
  --border: rgba(206, 164, 88, 0.74);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: #000;
  color: var(--white);
  border: 1px solid var(--gold);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 18px;
  left: 24px;
  width: calc(100% - 48px);
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 8px #000);
  transition: filter 180ms ease, transform 180ms ease;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:hover {
  filter: drop-shadow(0 0 10px rgba(226, 194, 123, 0.32));
  transform: translateY(-1px);
}

.brand:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1px, 0.55vw, 8px);
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 clamp(7px, 0.8vw, 13px);
  color: rgba(255, 248, 237, 0.76);
  font-family: var(--sans);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.85);
  transition: color 180ms ease, text-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 8px rgba(226, 194, 123, 0.62);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.desktop-nav a[aria-current] {
  color: #fff;
  text-shadow: 0 0 13px rgba(226, 194, 123, 0.28), 0 2px 7px rgba(0, 0, 0, 0.9);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after,
.desktop-nav a[aria-current]::after {
  transform: scaleX(1);
}

.desktop-nav a:focus-visible {
  outline: 1px solid rgba(226, 194, 123, 0.82);
  outline-offset: 1px;
  border-radius: 7px;
}

.desktop-nav .nav-contact {
  min-height: 40px;
  margin-left: clamp(2px, 0.6vw, 9px);
  padding: 0 clamp(14px, 1.2vw, 18px);
  background: rgba(3, 8, 10, 0.08);
  border: 1px solid rgba(226, 194, 123, 0.6);
  border-radius: 999px;
  color: rgba(255, 248, 237, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.desktop-nav .nav-contact::after {
  display: none;
}

.desktop-nav .nav-contact:hover,
.desktop-nav .nav-contact[aria-current] {
  background: rgba(195, 154, 87, 0.09);
  border-color: var(--gold-bright);
  box-shadow: inset 0 0 16px rgba(195, 154, 87, 0.08), 0 0 16px rgba(226, 194, 123, 0.1);
  transform: translateY(-1px);
}

.subscribe-button {
  min-width: 216px;
  min-height: 62px;
  padding: 0 22px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(24, 13, 7, 0.2), rgba(0, 0, 0, 0.18)),
    rgba(11, 7, 8, 0.12);
  border: 1px solid rgba(198, 140, 64, 0.85);
  border-radius: 6px;
  box-shadow: inset 0 0 14px rgba(188, 100, 35, 0.1), 0 0 18px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.15;
  text-transform: none;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-header .subscribe-button {
  justify-self: end;
  min-width: 204px;
  min-height: 50px;
  padding: 0 20px;
  background:
    linear-gradient(135deg, rgba(143, 89, 31, 0.16), rgba(43, 25, 13, 0.1)),
    rgba(12, 9, 7, 0.12);
  border-color: rgba(226, 194, 123, 0.74);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 242, 210, 0.08), inset 0 0 20px rgba(195, 117, 45, 0.08), 0 7px 22px rgba(0, 0, 0, 0.3);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.subscribe-button:hover,
.subscribe-button:focus-visible {
  color: #fff;
  border-color: var(--gold-bright);
  outline: none;
  box-shadow: inset 0 0 24px rgba(210, 150, 70, 0.3), 0 0 18px rgba(53, 217, 226, 0.18);
}

.site-header .subscribe-button:hover,
.site-header .subscribe-button:focus-visible {
  background:
    linear-gradient(135deg, rgba(171, 105, 38, 0.26), rgba(52, 30, 14, 0.18)),
    rgba(12, 9, 7, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 242, 210, 0.14), inset 0 0 24px rgba(210, 150, 70, 0.18), 0 0 24px rgba(226, 194, 123, 0.13), 0 8px 24px rgba(0, 0, 0, 0.36);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 990;
  inset: 0;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 106px 16px 28px;
  background:
    linear-gradient(180deg, rgba(1, 4, 6, 0.93), rgba(4, 16, 19, 0.97)),
    url("assets/double%20background%20%281%29.png") center / cover no-repeat;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
  width: min(520px, 100%);
  padding: 16px;
  background: linear-gradient(145deg, rgba(7, 14, 17, 0.9), rgba(9, 8, 7, 0.76));
  border: 1px solid rgba(226, 194, 123, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: left;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 10px 16px;
  color: rgba(255, 248, 237, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--sans);
  font-size: clamp(21px, 5vw, 28px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a.is-active,
.mobile-menu a[aria-current] {
  color: #fff;
  background: rgba(195, 154, 87, 0.08);
  box-shadow: inset 2px 0 0 var(--gold-bright);
}

.mobile-menu a:focus-visible {
  outline: 1px solid rgba(226, 194, 123, 0.78);
  outline-offset: -1px;
}

.mobile-menu .nav-contact {
  margin-top: 10px;
  background: rgba(195, 154, 87, 0.07);
  border: 1px solid rgba(226, 194, 123, 0.56);
  border-radius: 12px;
}

#overview,
#play-your-way,
#classes,
#maps,
#stay-connected {
  scroll-margin-top: 108px;
}

@media (min-width: 981px) {
  #play-your-way {
    scroll-margin-top: 16px;
  }

  #classes {
    scroll-margin-top: 12px;
  }

  #maps {
    scroll-margin-top: -42px;
  }
}

.hero {
  min-height: 720px;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 118px 24px 58px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.05) 63%, rgba(0, 0, 0, 0.9) 100%),
    url("assets/Welcome%20%281%29.webp") center / cover no-repeat;
}

.hero__content {
  display: grid;
  justify-items: center;
  width: min(620px, 100%);
  margin-top: -155px;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.82);
}

.js-ready .hero__logo,
.js-ready .coming,
.js-ready .hero__tagline,
.js-ready .hero-discord {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-reveal 760ms ease forwards;
}

.js-ready .coming {
  animation-delay: 320ms;
}

.js-ready .hero__tagline {
  animation-delay: 180ms;
}

.js-ready .hero-discord {
  animation-delay: 460ms;
}

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__logo {
  width: min(405px, 84%);
  margin-bottom: 0;
}

.coming {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 17px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.coming img {
  width: 104px;
  height: auto;
}

.hero__tagline {
  margin: -14px 0 8px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-discord {
  display: block;
  width: min(306px, 82%);
  transition: transform 160ms ease, filter 160ms ease;
}

.hero-discord:hover,
.hero-discord:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.12) drop-shadow(0 0 18px rgba(70, 206, 255, 0.38));
  outline: none;
}

.title-image {
  height: auto;
  object-fit: contain;
}

.fantasy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 0 11px, var(--navy) 11px calc(100% - 11px), transparent calc(100% - 11px)),
    linear-gradient(180deg, #0b2b4f, #06152d);
  border: 2px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(124, 218, 234, 0.32), inset 0 0 20px rgba(36, 132, 199, 0.24), 0 0 22px rgba(0, 0, 0, 0.6);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.fantasy-button:hover,
.fantasy-button:focus-visible {
  outline: none;
  border-color: var(--gold-bright);
  filter: brightness(1.1);
}

.discord-glyph {
  width: 22px;
  height: 18px;
  border-radius: 9px 9px 6px 6px;
  background: currentColor;
  position: relative;
}

.discord-glyph::before,
.discord-glyph::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  top: 7px;
  border-radius: 50%;
  background: var(--navy);
}

.discord-glyph::before {
  left: 6px;
}

.discord-glyph::after {
  right: 6px;
}

.intro-section {
  position: relative;
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at 22% 30%, rgba(40, 186, 206, 0.18), transparent 28%),
    linear-gradient(180deg, #020304 0%, #061010 58%, #030303 100%);
}

.intro-section::before,
.realm-section::before,
.classes-section::before,
.maps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.74));
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 58px;
  align-items: start;
}

.video-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(196, 155, 90, 0.68);
  box-shadow: 0 0 38px rgba(0, 0, 0, 0.8), 0 0 22px rgba(41, 224, 230, 0.12);
  aspect-ratio: 16 / 9;
}

.video-panel iframe,
.video-panel img {
  width: 100%;
  height: 100%;
}

.video-panel iframe {
  position: absolute;
  inset: 0;
  border: 0;
}

.video-panel img {
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.video-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.video-panel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #f7f4ea;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}

.play-mark {
  width: 46px;
  height: 32px;
  border-radius: 8px;
  background: #d42620;
  position: relative;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.play-mark::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid white;
}

.intro-copy {
  position: relative;
  display: grid;
  gap: 24px;
}

.new-era-title {
  width: min(520px, 100%);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 28px;
}

.tab {
  padding: 0 0 8px;
  color: rgba(255, 248, 237, 0.72);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.tab.is-active {
  color: var(--white);
  border-color: var(--gold);
  text-shadow: 0 0 12px rgba(53, 218, 225, 0.5);
}

.intro-copy p,
.realm-lead,
.feature p,
.maps-copy p,
.map-card__copy p,
.class-description {
  color: #dde7e5;
  font-family: var(--serif);
}

.overview-panels {
  min-height: 188px;
}

.overview-panel {
  max-width: 530px;
  margin: 0;
  font-size: 18px;
}

.overview-panel[hidden] {
  display: none;
}

.realm-section {
  position: relative;
  padding: 98px 0 112px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(3, 14, 15, 0.9)),
    url("assets/double%20background%20%281%29.png") center / cover no-repeat;
}

.realm-section .section-inner {
  position: relative;
  width: min(1770px, calc(100% - 132px));
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.realm-title {
  width: min(620px, 100%);
  margin: 0 auto;
}

.realm-lead {
  max-width: 650px;
  margin: 20px auto clamp(70px, 8vh, 96px);
  font-size: 19px;
}

.feature-grid {
  display: flex;
  justify-content: space-between;
  gap: 0;
  text-align: center;
}

.feature {
  flex: 1 1 0;
  max-width: 330px;
  min-width: 0;
}

.feature__media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020606;
  border: 1px solid rgba(234, 244, 242, 0.72);
  box-shadow: none;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature h3 {
  margin: 36px 0 24px;
  color: var(--white);
  font-size: 25px;
  line-height: 1.14;
}

.feature p {
  max-width: 320px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.45;
}

.classes-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0 82px;
  background:
    radial-gradient(circle at 68% 45%, rgba(44, 202, 219, 0.17), transparent 31%),
    linear-gradient(180deg, #020303, #052322 55%, #020303);
}

.classes-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.classes-title {
  width: 260px;
}

.classes-copy {
  z-index: 1;
}

.class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 36px 0 28px;
}

.class-tab {
  width: 118px;
  min-height: 144px;
  padding: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  color: rgba(255, 248, 237, 0.76);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.class-tab img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: contain;
  filter: grayscale(0.18) brightness(0.75);
}

.class-tab span {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.class-tab.is-active {
  color: var(--white);
}

.class-tab.is-active img {
  filter: none drop-shadow(0 0 16px rgba(61, 222, 231, 0.5));
}

.class-description {
  max-width: 450px;
  margin: 0;
  font-size: 19px;
}

.class-description[hidden] {
  display: none;
}

.class-art-frame {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: 620px;
}

.class-art {
  width: min(520px, 100%);
  max-height: 700px;
  object-fit: contain;
  transform: translate3d(var(--class-shift-x, 0), var(--class-shift-y, 0), 0);
  transition: transform 180ms ease-out, opacity 180ms ease-out;
  will-change: transform;
  filter: drop-shadow(0 0 26px rgba(29, 210, 226, 0.26)) drop-shadow(0 24px 22px rgba(0, 0, 0, 0.75));
}

.maps-section {
  position: relative;
  min-height: 100svh;
  padding: 88px 0 112px;
  background:
    linear-gradient(180deg, rgba(2, 4, 5, 0.72), rgba(2, 9, 12, 0.52)),
    var(--maps-bg, url("assets/blurred%20lodge.jpg")) center / cover no-repeat;
}

.maps-section .section-inner {
  width: min(1770px, calc(100% - 72px));
}

.maps-layout {
  position: relative;
  display: block;
  text-align: center;
}

.maps-title {
  width: min(220px, 100%);
  margin: 0 auto;
}

.maps-copy p {
  max-width: none;
  margin: 34px auto 32px;
  font-size: 18px;
  line-height: 1.4;
}

.map-carousel {
  min-width: 0;
  position: relative;
  display: block;
}

.map-arrow {
  position: absolute;
  z-index: 2;
  top: 43%;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(2, 11, 18, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.map-arrow[data-map-dir="-1"] {
  left: clamp(8px, calc((100% - 1168px) / 4), 220px);
}

.map-arrow[data-map-dir="1"] {
  right: clamp(8px, calc((100% - 1168px) / 4), 220px);
}

.map-arrow:disabled {
  opacity: 1;
  cursor: default;
}

.map-card {
  width: min(1168px, calc(100% - 260px));
  min-width: 0;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-image {
  display: block;
  width: 100%;
  aspect-ratio: 2.06 / 1;
  object-fit: cover;
  object-position: center 48%;
}

.map-card__copy {
  padding: 16px 0 24px;
  text-align: center;
}

.map-card__copy h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  text-transform: uppercase;
}

.map-card__copy p {
  max-width: 960px;
  margin: 26px auto 0;
  color: var(--white);
  font-size: 20px;
  font-style: italic;
}

.cta-section {
  min-height: 64svh;
  padding: 118px 0 128px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    url("assets/CTA.webp") center / cover no-repeat;
}

.cta-inner {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.cta-inner h2 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-size: 44px;
  line-height: 1.12;
  white-space: nowrap;
  text-shadow: 0 3px 18px #000;
}

.site-footer {
  padding: 58px 0 44px;
  background: #010101;
  border-top: 1px solid rgba(205, 164, 91, 0.2);
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.footer-inner h2 {
  margin: 0;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin: 4px 0 8px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-links a img + svg {
  display: none;
}

.social-links svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

.footer-inner p {
  max-width: 620px;
  margin: 0;
  color: #b9c0bc;
  font-size: 13px;
  line-height: 1.4;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 12px;
}

.footer-row > a {
  color: var(--white);
  font-size: 14px;
  text-decoration: underline;
  text-transform: uppercase;
}

.rating-badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-badges img {
  width: auto;
  height: 48px;
  object-fit: contain;
}

.footer-subscribe {
  min-width: 190px;
  min-height: 52px;
  font-size: 14px;
}

.contact-page,
.privacy-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 20%, rgba(37, 207, 219, 0.17), transparent 32%),
    linear-gradient(180deg, #010101, #071012 58%, #020303);
}

.contact-hero {
  min-height: 100svh;
  padding: 142px 0 92px;
  display: grid;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 480px);
  gap: 62px;
  align-items: center;
}

.contact-intro h1 {
  margin: 0 0 24px;
  font-size: 58px;
  line-height: 1;
  text-transform: uppercase;
}

.contact-intro h1 span {
  color: var(--gold-bright);
}

.contact-intro p {
  max-width: 430px;
  margin: 0;
  color: #dfe8e6;
  font-size: 21px;
}

.contact-form,
.modal__panel {
  background:
    linear-gradient(180deg, rgba(9, 13, 14, 0.94), rgba(4, 5, 6, 0.97)),
    rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(206, 164, 88, 0.86);
  box-shadow: 0 0 34px rgba(197, 148, 68, 0.18), inset 0 0 22px rgba(54, 209, 225, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 36px;
}

.contact-form h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 25px;
  line-height: 1.2;
}

label {
  display: grid;
  gap: 7px;
  color: #e9e2d5;
  font-size: 15px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(207, 173, 112, 0.56);
  border-radius: 0;
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--teal);
  border-color: var(--teal);
}

select {
  appearance: auto;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.message-field[hidden] {
  display: none;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 14px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.checkbox-row a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section {
  padding: 140px 0 82px;
}

.legal-copy {
  max-width: 860px;
  color: #e1e8e5;
}

.legal-copy h1 {
  margin: 0 0 26px;
  color: var(--white);
  font-size: 46px;
  line-height: 1.1;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  color: var(--gold-bright);
  font-size: 24px;
  line-height: 1.25;
}

.legal-copy p,
.legal-copy li {
  font-size: 17px;
}

.legal-copy a {
  color: var(--gold-bright);
}

.legal-copy ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.legal-copy li {
  margin: 5px 0;
}

.modal {
  position: fixed;
  z-index: 1400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 32px;
}

.modal__close {
  margin: 0 0 22px;
  padding: 0;
  color: var(--gold-bright);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  text-transform: uppercase;
}

.modal__overline {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.modal__panel h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 36px;
  line-height: 1.1;
}

.modal__panel > p {
  margin: 0 0 22px;
  color: #dce5e2;
}

.subscribe-form {
  display: grid;
  gap: 16px;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 3px;
}

@media (max-width: 980px) {
  .section-inner {
    width: min(100% - 34px, 760px);
  }

  .site-header {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    transform: none;
    min-height: 64px;
    padding: 7px 8px;
    grid-template-columns: 48px 1fr 122px;
    gap: 0;
    background:
      linear-gradient(125deg, rgba(3, 8, 10, 0.94), rgba(12, 10, 7, 0.86)),
      rgba(3, 6, 8, 0.9);
    border: 1px solid rgba(226, 194, 123, 0.18);
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
  }

  .hamburger {
    display: inline-grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: rgba(195, 154, 87, 0.05);
    border: 1px solid rgba(214, 171, 92, 0.46);
    border-radius: 10px;
    cursor: pointer;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .hamburger:hover,
  .hamburger:focus-visible {
    background: rgba(195, 154, 87, 0.12);
    border-color: var(--gold-bright);
    outline: none;
  }

  .menu-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand {
    justify-self: center;
    width: 42px;
    height: 42px;
  }

  .desktop-nav {
    display: none;
  }

  .site-header .subscribe-button {
    justify-self: end;
    min-width: 112px;
    width: 112px;
    min-height: 42px;
    padding: 0 8px;
    font-size: 10px;
    line-height: 1.12;
    white-space: normal;
  }

  .mobile-menu {
    padding-top: 92px;
  }

  .hero {
    min-height: 680px;
    padding: 92px 16px 52px;
    background-position: 52% center;
  }

  .hero__content {
    margin-top: 38px;
  }

  .hero__logo {
    width: min(330px, 86%);
  }

  .coming {
    gap: 8px;
    font-size: 20px;
  }

  .coming img {
    width: 88px;
  }

  .hero__tagline {
    font-size: 16px;
  }

  .hero-discord {
    width: min(270px, 86%);
  }

  .intro-grid,
  .classes-layout,
  .maps-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 36px;
  }

  .intro-section,
  .realm-section,
  .classes-section,
  .maps-section {
    padding: 72px 0;
  }

  .realm-section .section-inner {
    width: min(1120px, calc(100% - 48px));
  }

  .realm-lead {
    margin-bottom: 54px;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 34px;
  }

  .feature {
    max-width: none;
  }

  .feature h3 {
    margin: 22px 0 12px;
  }

  .class-art-frame {
    min-height: 0;
  }

  .class-art {
    width: min(420px, 86%);
    max-height: 600px;
  }

  .maps-copy p {
    max-width: 560px;
  }

  .map-card {
    width: min(100%, calc(100% - 112px));
  }

  .map-arrow[data-map-dir="-1"] {
    left: 0;
  }

  .map-arrow[data-map-dir="1"] {
    right: 0;
  }

  .contact-hero {
    padding: 116px 0 72px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .section-inner {
    width: min(100% - 28px, 520px);
  }

  .mobile-menu {
    padding: 88px 10px 20px;
  }

  .mobile-menu nav {
    padding: 12px;
    border-radius: 16px;
  }

  .mobile-menu a {
    min-height: 53px;
    padding: 9px 13px;
    font-size: clamp(19px, 6vw, 24px);
  }

  .realm-section .section-inner {
    width: min(100% - 28px, 520px);
  }

  .hero {
    min-height: 650px;
    background-position: 50% center;
  }

  .hero__logo {
    width: min(286px, 88%);
  }

  .coming {
    flex-wrap: wrap;
    font-size: 18px;
  }

  .tabs {
    gap: 20px;
  }

  .new-era-title {
    width: min(390px, 100%);
  }

  .intro-copy p,
  .realm-lead,
  .class-description,
  .maps-copy p {
    font-size: 17px;
  }

  .overview-panels {
    min-height: 290px;
  }

  .maps-section {
    min-height: auto;
    padding: 72px 0 96px;
  }

  .maps-copy p {
    margin: 24px auto 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .feature__media {
    aspect-ratio: 16 / 9;
  }

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

  .class-tab {
    width: auto;
    min-height: 116px;
  }

  .class-tab img {
    width: 68px;
  }

  .class-tab span {
    font-size: 11px;
  }

  .map-carousel {
    display: block;
  }

  .map-arrow {
    top: 35%;
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .map-arrow[data-map-dir="-1"] {
    left: 8px;
  }

  .map-arrow[data-map-dir="1"] {
    right: 8px;
  }

  .map-card {
    width: 100%;
  }

  .map-image {
    aspect-ratio: 16 / 10;
  }

  .map-card__copy {
    padding: 18px 0 24px;
  }

  .map-card__copy h3 {
    font-size: 22px;
  }

  .map-card__copy p {
    margin: 16px auto 0;
    font-size: 17px;
  }

  .cta-section {
    padding: 86px 0 94px;
    background-position: center;
  }

  .cta-inner h2 {
    font-size: 34px;
    white-space: normal;
  }

  .contact-intro h1,
  .legal-copy h1 {
    font-size: 38px;
  }

  .contact-intro p {
    font-size: 18px;
  }

  .contact-form,
  .modal__panel {
    padding: 24px;
  }

  .footer-row {
    flex-direction: column;
  }

  .rating-badges img {
    height: 42px;
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: 44px 1fr 106px;
    padding-inline: 8px;
  }

  .site-header .subscribe-button {
    width: 104px;
    min-width: 104px;
    font-size: 9px;
  }

  .brand {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 620px;
    padding-top: 84px;
  }

  .hero__logo {
    width: min(250px, 88%);
  }

  .coming {
    font-size: 20px;
  }

  .coming img {
    width: 96px;
  }

  .fantasy-button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
  }

  .modal {
    padding: 10px;
  }

  .modal__panel {
    max-height: calc(100dvh - 20px);
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand,
  .desktop-nav a,
  .desktop-nav a::after,
  .subscribe-button,
  .hamburger span,
  .mobile-menu a {
    transition: none;
  }
}
