:root {
  color-scheme: dark;
  --ink: #f2edf8;
  --muted: #bab0c9;
  --dim: #847894;
  --void: #050511;
  --panel: rgba(9, 7, 22, 0.78);
  --panel-strong: rgba(12, 8, 28, 0.9);
  --line: rgba(212, 175, 55, 0.48);
  --line-soft: rgba(157, 100, 255, 0.26);
  --gold: #D4AF37;
  --gold-bright: #D4AF37;
  --gold-shine: #f5d789;
  --gold-deep: #6f4210;
  --violet: #9c5cff;
  --violet-soft: #c7a7ff;
  --blue: #42a5ff;
  --cyan: #59d2ff;
  --green: #85df58;
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 28%, rgba(108, 56, 205, 0.28), transparent 34rem),
    linear-gradient(rgba(3, 3, 12, 0.34), rgba(3, 3, 12, 0.9)),
    url("assets/runeveil-background.png") center top / cover fixed,
    url("assets/runeveil-banner.png") center top / cover fixed,
    url("assets/runeveil-hero.png") center top / cover fixed,
    #050511;
  font-family: var(--sans);
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), #050511 92%);
}

body::after {
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  width: min(100%, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px clamp(16px, 3vw, 34px) 34px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  padding: 6px 0 10px;
  background: linear-gradient(180deg, rgba(5, 5, 17, 0.92), rgba(5, 5, 17, 0.44), transparent);
  backdrop-filter: blur(10px);
}

.brand-mark {
  grid-column: 2;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: var(--violet-soft);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  text-shadow: 0 0 24px rgba(156, 92, 255, 0.86);
}

.brand-icon {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
  filter: drop-shadow(0 0 20px rgba(156, 92, 255, 0.72));
  transition: opacity 180ms ease;
}

.brand-mark::before {
  position: absolute;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  transform: rotate(45deg);
  content: "";
  box-shadow: 0 0 30px rgba(156, 92, 255, 0.28) inset;
}

.brand-glyph {
  position: relative;
  z-index: 1;
}

.brand-mark.asset-loaded .brand-icon {
  opacity: 1;
}

.brand-mark.asset-loaded .brand-glyph {
  opacity: 0;
}

.site-nav {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: space-between;
  align-items: center;
  gap: clamp(10px, 3vw, 44px);
  width: 100%;
  padding: 0 clamp(10px, 3vw, 56px);
  font-family: var(--serif);
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  text-transform: uppercase;
  color: #c9badc;
}

.site-nav a {
  position: relative;
  padding: 14px 2px;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .is-active {
  color: var(--gold-bright);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.52);
}

.site-nav a::after {
  position: absolute;
  right: 12%;
  bottom: 6px;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .is-active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(760px, 92vh, 980px);
  align-content: center;
  justify-items: center;
  padding: clamp(92px, 12vh, 124px) clamp(16px, 4vw, 48px) clamp(42px, 6vh, 72px);
  text-align: center;
  overflow: hidden;
}

.hero-banner {
  position: relative;
  z-index: 4;
  display: none;
  width: min(100%, 1120px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.66);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.18) inset,
    0 0 44px rgba(0, 0, 0, 0.52),
    0 0 76px rgba(156, 92, 255, 0.22);
}

.hero.asset-loaded {
  min-height: 0;
  align-content: start;
  padding: clamp(18px, 3vw, 28px) 0 clamp(34px, 5vw, 56px);
  overflow: visible;
}

.hero.asset-loaded .hero-banner {
  display: block;
}

.hero.asset-loaded::before,
.hero.asset-loaded::after,
.hero.asset-loaded .ornate-border,
.hero.asset-loaded .hero-sigil,
.hero.asset-loaded .hero-crest,
.hero.asset-loaded .brand-band,
.hero.asset-loaded .wordmark,
.hero.asset-loaded .network-label,
.hero.asset-loaded .hero-points {
  display: none;
}

.hero.asset-loaded .play-panel {
  margin-top: clamp(18px, 3vw, 30px);
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  inset: 28px 8px 34px;
  width: auto;
  height: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(186, 83, 255, 0.26), transparent 24%),
    radial-gradient(circle at 10% 50%, rgba(148, 39, 255, 0.34), transparent 18%),
    radial-gradient(circle at 90% 47%, rgba(148, 39, 255, 0.32), transparent 19%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.36));
  filter: blur(2px);
  opacity: 0.98;
}

.hero::after {
  top: 30px;
  width: min(96vw, 900px);
  height: min(62vw, 600px);
  background:
    radial-gradient(ellipse at center, transparent 31%, rgba(156, 92, 255, 0.2) 32%, transparent 33%),
    radial-gradient(ellipse at center, transparent 46%, rgba(156, 92, 255, 0.16) 47%, transparent 48%),
    radial-gradient(ellipse at center, transparent 58%, rgba(212, 175, 55, 0.1) 59%, transparent 60%),
    linear-gradient(112deg, transparent 49.6%, rgba(156, 92, 255, 0.18) 50%, transparent 50.4%),
    linear-gradient(68deg, transparent 49.6%, rgba(156, 92, 255, 0.16) 50%, transparent 50.4%);
  opacity: 0.82;
}

.ornate-border {
  position: absolute;
  inset: 14px 2px 18px;
  pointer-events: none;
  border: 1px solid rgba(212, 175, 55, 0.64);
  opacity: 0.94;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.18) inset,
    0 0 36px rgba(0, 0, 0, 0.42) inset;
}

.ornate-border::before,
.ornate-border::after {
  position: absolute;
  width: 78px;
  height: 78px;
  border-color: rgba(212, 175, 55, 0.62);
  content: "";
}

.ornate-border::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
  box-shadow:
    16px 16px 0 -15px rgba(212, 175, 55, 0.8),
    calc(min(100vw, 1180px) - 128px) 0 0 -1px transparent;
}

.ornate-border::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  box-shadow: -16px -16px 0 -15px rgba(212, 175, 55, 0.8);
}

.hero-sigil {
  position: absolute;
  top: 30px;
  display: grid;
  width: min(62vw, 620px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(186, 117, 255, 0.3);
  border-radius: 50%;
  opacity: 0.46;
  box-shadow:
    0 0 94px rgba(122, 42, 255, 0.28) inset,
    0 0 96px rgba(122, 42, 255, 0.24);
}

.hero-sigil::before,
.hero-sigil::after,
.hero-sigil span {
  position: absolute;
  border: 1px solid rgba(156, 92, 255, 0.48);
  content: "";
}

.hero-sigil::before {
  inset: 10%;
  border-radius: 50%;
}

.hero-sigil::after {
  width: 62%;
  aspect-ratio: 1;
  transform: rotate(45deg);
}

.hero-sigil span {
  width: 70%;
  height: 1px;
  transform: rotate(-18deg);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.12),
    0 44px 0 rgba(156, 92, 255, 0.42),
    0 -44px 0 rgba(156, 92, 255, 0.42);
}

.hero-crest {
  z-index: 2;
  position: relative;
  display: grid;
  width: clamp(116px, 12vw, 164px);
  height: clamp(116px, 12vw, 164px);
  place-items: center;
  margin-bottom: clamp(8px, 1.6vw, 18px);
  color: #f0dcff;
  border: 1px solid rgba(212, 175, 55, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(156, 92, 255, 0.28), rgba(7, 5, 18, 0.92) 65%),
    rgba(8, 5, 17, 0.86);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.22) inset,
    0 0 34px rgba(156, 92, 255, 0.46),
    0 0 78px rgba(156, 92, 255, 0.28);
  text-shadow: none;
}

.hero-crest::before,
.hero-crest::after {
  position: absolute;
  content: "";
}

.hero-crest::before {
  top: -82px;
  left: 50%;
  width: 2px;
  height: 106px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, #d486ff 45%, #8d32ff);
  transform: translateX(-50%);
  box-shadow:
    0 0 18px rgba(178, 83, 255, 0.94),
    0 0 42px rgba(178, 83, 255, 0.66);
}

.hero-crest::after {
  top: -9px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(219, 139, 255, 0.92);
  background: rgba(52, 16, 88, 0.54);
  transform: rotate(45deg);
  box-shadow:
    0 0 20px rgba(178, 83, 255, 0.86),
    0 0 46px rgba(178, 83, 255, 0.46);
}

.crest-rv,
.crest-v {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  line-height: 1;
}

.crest-rv {
  align-self: center;
  margin-top: 0;
  color: var(--gold-bright);
  font-size: clamp(2.9rem, 5vw, 4.5rem);
  letter-spacing: 0.06em;
  text-shadow:
    0 0 12px rgba(212, 175, 55, 0.58),
    0 0 22px rgba(0, 0, 0, 0.9);
}

.crest-v {
  position: absolute;
  right: 18%;
  bottom: 9%;
  align-self: auto;
  margin-bottom: 0;
  color: #a94cff;
  font-size: clamp(3rem, 5.4vw, 4.9rem);
  transform: scaleX(0.82);
  text-shadow:
    0 1px 0 #f3ddff,
    0 0 18px rgba(210, 154, 255, 0.98),
    0 0 48px rgba(156, 92, 255, 0.92),
    0 0 84px rgba(156, 92, 255, 0.76);
}

.realm-label,
.brand-band,
.network-label,
.section-heading h2,
.rune-card h2,
.server-row h3,
.discord-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
}

.realm-label {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 2px 0 14px;
  color: var(--gold-bright);
  font-size: clamp(1.12rem, 2.7vw, 1.85rem);
  letter-spacing: 0.34em;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.46);
}

.realm-label::before,
.realm-label::after {
  width: clamp(54px, 12vw, 156px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.brand-band {
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  width: min(100%, 620px);
  margin: 0 0 clamp(12px, 2vw, 20px);
  color: var(--gold-bright);
  font-size: clamp(1rem, 2.1vw, 1.55rem);
  letter-spacing: 0.34em;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.42);
}

.brand-band span {
  position: relative;
}

.brand-band span:first-child {
  justify-self: start;
}

.brand-band span:last-child {
  justify-self: end;
}

.brand-band span::before,
.brand-band span::after {
  position: absolute;
  top: 50%;
  width: clamp(54px, 10vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.76), transparent);
  content: "";
}

.brand-band span:first-child::before {
  right: calc(100% + 18px);
}

.brand-band span:first-child::after {
  left: calc(100% + 18px);
}

.brand-band span:last-child::before {
  right: calc(100% + 18px);
}

.brand-band span:last-child::after {
  left: calc(100% + 18px);
}

.wordmark {
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  margin: 0 0 -4px;
  font-family: var(--serif);
  font-size: clamp(5.5rem, 16.5vw, 13.4rem);
  font-weight: 400;
  line-height: 0.82;
  color: #e8e2ef;
  -webkit-text-stroke: 1px rgba(76, 38, 122, 0.58);
  text-shadow:
    0 2px 0 #625175,
    0 -1px 0 #ffffff,
    0 0 10px rgba(255, 255, 255, 0.34),
    0 0 26px rgba(156, 92, 255, 0.74),
    0 0 74px rgba(38, 12, 83, 0.96);
}

.wordmark span:first-child::first-letter {
  color: #b45bff;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.54),
    0 0 32px rgba(171, 73, 255, 0.95),
    0 0 78px rgba(171, 73, 255, 0.72);
}

.wordmark strong {
  color: #b46bff;
  font-weight: 400;
  text-shadow:
    0 1px 0 #f6e8ff,
    0 0 18px rgba(210, 154, 255, 0.98),
    0 0 48px rgba(156, 92, 255, 0.92),
    0 0 84px rgba(156, 92, 255, 0.74);
}

.network-label {
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: clamp(18px, 3vw, 30px) 0 0;
  color: var(--gold-bright);
  font-size: clamp(1.35rem, 3.4vw, 2.65rem);
  letter-spacing: 0.34em;
  text-shadow:
    0 0 18px rgba(212, 175, 55, 0.46),
    0 0 34px rgba(156, 92, 255, 0.24);
}

.hero-points {
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 34px);
  width: min(100%, 820px);
  margin: clamp(30px, 4vw, 48px) auto 22px;
  color: #f1e8ff;
  font-family: var(--serif);
  font-size: clamp(0.76rem, 1.3vw, 0.94rem);
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-points span {
  position: relative;
  display: grid;
  min-height: 54px;
  align-content: end;
  padding-top: 42px;
}

.hero-points span::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(212, 175, 55, 0.72);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 18px rgba(156, 92, 255, 0.54);
  content: "";
}

.hero-points span::after {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(196, 123, 255, 0.86);
  background: rgba(130, 52, 255, 0.22);
  transform: translateX(-50%) rotate(45deg);
  content: "";
}

.network-label::before,
.network-label::after,
.section-heading > span {
  width: clamp(56px, 12vw, 160px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.hero-copy {
  z-index: 1;
  width: min(100%, 600px);
  margin: 20px auto 26px;
  color: #c9bed8;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.7vw, 1.14rem);
  line-height: 1.55;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.9);
}

.play-panel {
  z-index: 2;
  display: grid;
  width: min(100%, 520px);
  justify-items: center;
  gap: 8px;
}

.sigil-button,
.discord-cta,
.framed-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.74);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(21, 12, 38, 0.94), rgba(49, 17, 85, 0.84), rgba(21, 12, 38, 0.94));
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.25) inset,
    0 0 34px rgba(156, 92, 255, 0.38);
  font-family: var(--serif);
  text-transform: uppercase;
  cursor: pointer;
}

.sigil-button {
  gap: 22px;
  width: 100%;
  min-width: min(100vw - 48px, 438px);
  padding: 16px 28px;
}

.sigil-button::before,
.sigil-button::after,
.discord-cta::before,
.framed-link::before {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: currentColor;
  content: "";
}

.sigil-button::before,
.discord-cta::before,
.framed-link::before {
  top: -4px;
  left: -4px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.sigil-button::after {
  right: -4px;
  bottom: -4px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.sigil-button strong {
  display: block;
  font-size: clamp(1.45rem, 3.1vw, 2rem);
  font-weight: 400;
}

.sigil-button small {
  display: block;
  margin-top: 4px;
  color: #D4AF37;
  font-size: clamp(0.86rem, 1.8vw, 1.03rem);
  text-transform: none;
}

.sigil-button:hover,
.sigil-button:focus-visible,
.discord-cta:hover,
.discord-cta:focus-visible,
.framed-link:hover,
.framed-link:focus-visible {
  color: #D4AF37;
  outline: none;
  box-shadow:
    0 0 0 1px rgba(232, 188, 86, 0.34) inset,
    0 0 42px rgba(156, 92, 255, 0.6);
}

.sigil-icon,
.rune-symbol,
.server-emblem,
.discord-badge {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(156, 92, 255, 0.22), rgba(8, 6, 21, 0.88) 68%),
    #090715;
  box-shadow:
    0 0 28px rgba(156, 92, 255, 0.28),
    0 0 0 1px rgba(156, 92, 255, 0.24) inset;
}

.sigil-icon {
  width: 58px;
  height: 58px;
}

svg {
  width: 70%;
  height: 70%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.copy-status {
  min-height: 20px;
  margin: 0;
  color: var(--violet-soft);
  font-size: 0.92rem;
}

.feature-runes,
.server-section,
.banned-section,
.discord-panel,
.site-footer {
  position: relative;
  width: min(100%, 980px);
  margin-inline: auto;
}

.feature-runes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(156, 92, 255, 0.2);
  background: rgba(6, 5, 18, 0.74);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.modpack-feature .feature-runes {
  width: 100%;
  margin: 20px 0;
}

.rune-card {
  display: grid;
  min-height: 220px;
  justify-items: center;
  align-content: start;
  padding: 28px 18px 24px;
  text-align: center;
}

.rune-card + .rune-card {
  border-left: 1px solid rgba(156, 92, 255, 0.19);
}

.rune-symbol {
  width: 76px;
  height: 76px;
  color: var(--violet-soft);
}

.rune-card h2 {
  margin: 18px 0 10px;
  color: #eee7f8;
  font-size: 1rem;
}

.rune-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.96rem;
  line-height: 1.44;
}

.rune-purple {
  color: var(--violet);
}

.rune-blue {
  color: var(--blue);
}

.rune-violet {
  color: #d083ff;
}

.rune-cyan {
  color: var(--cyan);
}

.rune-gold {
  color: var(--gold-bright);
}

.server-section,
.banned-section {
  margin-top: 34px;
  padding: 34px clamp(20px, 4vw, 46px) 38px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 8, 25, 0.86), rgba(6, 5, 17, 0.9)),
    rgba(6, 5, 17, 0.9);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.15) inset,
    0 0 54px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--violet-soft);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  text-align: center;
}

.banned-heading {
  margin-bottom: 16px;
}

.banned-toggle-row {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.collapse-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  min-width: 158px;
  padding: 0 18px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--radius);
  color: var(--gold-bright);
  background:
    linear-gradient(90deg, rgba(21, 12, 38, 0.94), rgba(49, 17, 85, 0.84), rgba(21, 12, 38, 0.94));
  font: 700 0.78rem var(--sans);
  text-transform: uppercase;
  cursor: pointer;
}

.collapse-toggle:hover,
.collapse-toggle:focus-visible {
  outline: none;
  border-color: rgba(232, 188, 86, 0.78);
  color: #D4AF37;
  box-shadow: 0 0 18px rgba(156, 92, 255, 0.34);
}

.collapse-toggle span {
  width: auto;
  height: auto;
  background: none;
}

.toggle-mark {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 50%;
  line-height: 1;
}

.banned-content {
  display: grid;
  margin-top: 24px;
}

.banned-content[hidden] {
  display: none;
}

.banned-intro,
.empty-state {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.5;
  text-align: center;
}

.banned-intro {
  width: min(100%, 650px);
  margin: 0 auto;
}

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

.banned-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 260px;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(156, 92, 255, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(156, 92, 255, 0.2), transparent 16rem),
    rgba(10, 8, 25, 0.72);
}

.banned-card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.banned-card h3,
.banned-item h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
}

.banned-card h3 {
  color: #d3b7ff;
  font-size: clamp(1.1rem, 2.4vw, 1.34rem);
}

.banned-card-heading p,
.banned-item-meta,
.banned-item-reason,
.banned-item-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.45;
}

.banned-card-heading p,
.banned-item-meta {
  margin-top: 4px;
  color: #9d93ad;
  font-size: 0.92rem;
}

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

.banned-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(156, 92, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(6, 5, 18, 0.58);
}

.banned-item-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.banned-item h4 {
  color: #efe8fb;
  font-size: 1rem;
}

.restriction-badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(72, 39, 8, 0.24);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.banned-item-note {
  padding-top: 8px;
  border-top: 1px solid rgba(156, 92, 255, 0.16);
  color: #cdbff0;
}

.server-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.server-list-heading {
  margin-top: 34px;
}

.server-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 20px;
  min-height: 96px;
  padding: 14px 20px;
  border: 1px solid rgba(156, 92, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(12, 10, 30, 0.74);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.server-row:hover {
  border-color: rgba(212, 175, 55, 0.48);
  background: rgba(19, 12, 41, 0.82);
  transform: translateY(-1px);
}

.server-emblem {
  width: 70px;
  height: 70px;
}

.server-row h3 {
  margin: 0 0 5px;
  color: #d3b7ff;
  font-size: clamp(1.1rem, 2.4vw, 1.36rem);
}

.server-row p,
.server-row small {
  display: block;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.34;
}

.server-row p {
  font-size: 1rem;
}

.server-row small {
  margin-top: 3px;
  color: #9d93ad;
}

.modpack-feature {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(156, 92, 255, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 10%, rgba(156, 92, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 86% 16%, rgba(212, 175, 55, 0.12), transparent 16rem),
    rgba(11, 8, 26, 0.76);
}

.modpack-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.modpack-header .server-emblem {
  width: 86px;
  height: 86px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.modpack-feature h3,
.modpack-feature h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
}

.modpack-feature h3 {
  color: #d3b7ff;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

.modpack-feature h4 {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size: 0.96rem;
}

.modpack-feature p,
.modpack-feature li {
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.5;
}

.modpack-feature p {
  margin: 8px 0 0;
}

.modpack-feature ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.notice-box {
  margin: 20px 0;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: var(--radius);
  color: #D4AF37;
  background: rgba(72, 39, 8, 0.24);
  font-family: var(--serif);
  text-align: center;
}

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

.modpack-grid > div {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(156, 92, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 6, 20, 0.56);
}

.gameplay-copy {
  padding-top: 18px;
  border-top: 1px solid rgba(156, 92, 255, 0.18);
}

.status-pill {
  display: inline-grid;
  min-width: 74px;
  min-height: 30px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(133, 223, 88, 0.24);
  border-radius: 999px;
  color: var(--green);
  background: rgba(23, 65, 19, 0.2);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.mini-action {
  display: inline-grid;
  min-width: 84px;
  min-height: 34px;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(31, 17, 54, 0.72);
  font: 700 0.78rem var(--sans);
  text-transform: uppercase;
  cursor: pointer;
}

.mini-action:hover,
.mini-action:focus-visible {
  outline: none;
  border-color: rgba(232, 188, 86, 0.78);
  color: #D4AF37;
  box-shadow: 0 0 18px rgba(156, 92, 255, 0.34);
}

.player-count {
  min-width: 92px;
  color: #ded7ea;
  text-align: right;
  white-space: nowrap;
}

.row-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--violet-soft);
  font-size: 1.7rem;
  transition: color 180ms ease, transform 180ms ease;
}

.row-link:hover,
.row-link:focus-visible {
  color: var(--gold-bright);
  outline: none;
  transform: translateX(3px);
}

.framed-link {
  gap: 12px;
  min-height: 44px;
  margin: 26px auto 0;
  padding: 0 28px;
  font-size: 0.96rem;
}

.discord-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: center;
  gap: clamp(24px, 4vw, 46px);
  margin-top: 32px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(212, 175, 55, 0.38);
  background:
    radial-gradient(circle at 65% 45%, rgba(156, 92, 255, 0.2), transparent 24rem),
    rgba(9, 6, 21, 0.84);
  backdrop-filter: blur(12px);
}

.discord-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px 24px;
}

.discord-badge {
  position: relative;
  width: 90px;
  height: 90px;
  color: #8f72ff;
  overflow: hidden;
}

.badge-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.discord-badge.asset-loaded {
  border: 1px solid rgba(156, 92, 255, 0.52);
}

.discord-badge.asset-loaded .badge-image {
  opacity: 1;
}

.discord-badge.asset-loaded svg {
  opacity: 0;
}

.discord-panel h2 {
  margin: 0 0 8px;
  color: var(--violet-soft);
  font-size: clamp(1.34rem, 3vw, 1.8rem);
}

.discord-panel p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.4;
}

.discord-cta {
  grid-column: 1 / -1;
  gap: 12px;
  justify-self: start;
  min-width: 220px;
  padding: 0 28px;
  font-size: 1.05rem;
}

.discord-widget-shell {
  position: relative;
  width: min(100%, 390px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.48);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 7%, rgba(156, 92, 255, 0.34), transparent 11rem),
    linear-gradient(180deg, rgba(14, 10, 28, 0.98), rgba(4, 10, 19, 0.98) 48%, rgba(8, 5, 16, 0.98)),
    #080713;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 0 2px rgba(156, 92, 255, 0.1) inset,
    0 22px 58px rgba(0, 0, 0, 0.52),
    0 0 46px rgba(156, 92, 255, 0.23);
}

.discord-widget-shell::before,
.discord-widget-shell::after {
  position: absolute;
  z-index: 2;
  width: 36px;
  height: 36px;
  pointer-events: none;
  content: "";
}

.discord-widget-shell::before {
  top: 9px;
  left: 9px;
  border-top: 1px solid rgba(212, 175, 55, 0.72);
  border-left: 1px solid rgba(212, 175, 55, 0.72);
}

.discord-widget-shell::after {
  right: 9px;
  bottom: 9px;
  border-right: 1px solid rgba(212, 175, 55, 0.58);
  border-bottom: 1px solid rgba(212, 175, 55, 0.58);
}

.discord-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.2), transparent 34%, rgba(156, 92, 255, 0.18)),
    radial-gradient(circle at 22% 12%, rgba(212, 175, 55, 0.24), transparent 8rem),
    rgba(8, 13, 25, 0.94);
  color: #fff;
}

.discord-live-brand {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.discord-live-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.46);
  border-radius: 50%;
  object-fit: cover;
  background: #090715;
  box-shadow:
    0 0 0 3px rgba(156, 92, 255, 0.13),
    0 0 22px rgba(156, 92, 255, 0.28);
}

.discord-live-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.discord-live-kicker {
  color: #D4AF37;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.discord-live-title strong {
  overflow: hidden;
  color: #f6f0ff;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-live-count {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(64, 222, 126, 0.32);
  border-radius: 999px;
  background: rgba(29, 185, 84, 0.08);
  color: #b9ffd0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.discord-live-count::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #3ba55d;
  box-shadow: 0 0 10px rgba(59, 165, 93, 0.9);
  content: "";
}

.discord-live-body {
  min-height: 390px;
  max-height: 390px;
  margin: 10px;
  padding: 10px 8px;
  border: 1px solid rgba(156, 92, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(4, 11, 21, 0.52), rgba(5, 4, 13, 0.56)),
    rgba(4, 8, 15, 0.74);
  overflow: auto;
  scrollbar-color: rgba(212, 175, 55, 0.5) rgba(255, 255, 255, 0.04);
}

.discord-channel-list,
.discord-member-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.discord-channel-list {
  margin-bottom: 14px;
}

.discord-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent),
    rgba(4, 11, 21, 0.7);
  color: #e4ddf3;
  font-size: 0.82rem;
}

.discord-channel-mark {
  color: #D4AF37;
  font-weight: 700;
}

.discord-role-group-head {
  --role-color: #D4AF37;
  position: sticky;
  z-index: 1;
  top: -10px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 14px -2px 7px;
  padding: 8px 4px 6px;
  background:
    linear-gradient(90deg, rgba(5, 4, 13, 0.96), rgba(5, 4, 13, 0.82) 70%, transparent);
  color: color-mix(in srgb, var(--role-color) 72%, #d8d2e8);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
}

.discord-channel-list + .discord-role-group-head {
  margin-top: 4px;
}

.discord-role-mark {
  display: inline-grid;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  color: var(--role-color);
}

.discord-role-mark.dot {
  width: 9px;
  height: 9px;
  margin-inline: 3px;
  border-radius: 50%;
  background: var(--role-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--role-color) 65%, transparent);
}

.discord-role-mark.text {
  width: auto;
  min-width: 15px;
}

.discord-member {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 42px;
  padding: 5px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
}

.discord-member:hover {
  border-color: color-mix(in srgb, var(--member-color) 26%, transparent);
  background:
    radial-gradient(circle at 5% 50%, color-mix(in srgb, var(--member-color) 26%, transparent), transparent 6rem),
    rgba(255, 255, 255, 0.045);
}

.discord-avatar-wrap {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
}

.discord-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #181426;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 13px rgba(0, 0, 0, 0.34);
}

.discord-status {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  overflow: hidden;
  border: 2px solid #111018;
  border-radius: 50%;
  background: #747f8d;
  color: transparent;
}

.discord-status.online {
  background: #3ba55d;
}

.discord-status.idle {
  background: #faa61a;
}

.discord-status.dnd {
  background: #ed4245;
}

.discord-member-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.discord-member-line {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.discord-member-name {
  overflow: hidden;
  color: var(--member-color);
  font-size: 0.92rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-member-activity {
  overflow: hidden;
  color: #b9b2c8;
  font-size: 0.72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.discord-role {
  --role-color: #D4AF37;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: rgba(212, 175, 55, 0.1);
  color: var(--role-color);
  border: 1px solid color-mix(in srgb, var(--role-color) 58%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--role-color) 18%, rgba(12, 8, 25, 0.88));
  color: color-mix(in srgb, var(--role-color) 82%, white);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.discord-role.compact {
  flex: 0 1 auto;
  width: 22px;
  height: 18px;
  min-height: 18px;
  justify-content: center;
  padding: 0;
  border-color: color-mix(in srgb, var(--role-color) 36%, rgba(255, 255, 255, 0.13));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    color-mix(in srgb, var(--role-color) 16%, rgba(255, 255, 255, 0.08));
  color: #f0ecf8;
}

.discord-role span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discord-role-icon {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  object-fit: contain;
}

.discord-role-icon.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--role-color);
}

.discord-role-emoji {
  font-size: 0.78rem;
  line-height: 1;
}

.discord-widget-empty {
  margin: 0;
  padding: 24px 12px;
  color: #c5bed5;
  text-align: center;
}

.discord-live-footer {
  padding: 6px 10px 10px;
}

.discord-live-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.62);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(156, 92, 255, 0.1)),
    rgba(8, 6, 18, 0.78);
  color: #D4AF37;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discord-live-button:hover,
.discord-live-button:focus-visible {
  outline: none;
  box-shadow: 0 0 26px rgba(156, 92, 255, 0.42);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding: 36px 0 8px;
  color: #91859f;
  font-size: 0.92rem;
}

.site-footer span {
  color: var(--gold);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--violet-soft);
  outline: none;
}

.staff-corner-link {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 50;
  padding: 7px 10px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 999px;
  color: rgba(201, 186, 220, 0.42);
  background: rgba(5, 5, 17, 0.48);
  font-size: 0.72rem;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.staff-corner-link:hover,
.staff-corner-link:focus-visible {
  color: var(--gold-bright);
  border-color: rgba(212, 175, 55, 0.52);
  outline: none;
}

@media (max-width: 820px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    padding-inline: 14px;
  }

  .site-header {
    position: relative;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 128px;
  }

  .brand-mark,
  .site-nav {
    grid-column: 1;
    grid-row: auto;
  }

  .brand-mark {
    justify-self: center;
    width: 64px;
    height: 64px;
    font-size: 34px;
  }

  .brand-mark::before {
    width: 60px;
    height: 60px;
  }

  .site-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 10px;
    padding: 0;
    text-align: center;
  }

  .hero {
    min-height: 760px;
    padding-top: 44px;
  }

  .hero-sigil {
    top: 70px;
    width: min(82vw, 430px);
  }

  .hero-crest {
    width: clamp(96px, 20vw, 132px);
    height: clamp(142px, 28vw, 190px);
  }

  .crest-rv {
    margin-top: 40px;
  }

  .crest-v {
    font-size: clamp(5.2rem, 18vw, 8rem);
  }

  .realm-label {
    gap: 12px;
    letter-spacing: 0.2em;
  }

  .realm-label::before,
  .realm-label::after {
    width: clamp(28px, 10vw, 70px);
  }

  .network-label {
    gap: 12px;
    letter-spacing: 0.18em;
  }

  .brand-band {
    width: min(100%, 520px);
    font-size: clamp(0.84rem, 2.6vw, 1.08rem);
    letter-spacing: 0.2em;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 620px);
  }

  .network-label::before,
  .network-label::after,
  .section-heading > span {
    width: clamp(34px, 14vw, 86px);
  }

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

  .rune-card + .rune-card {
    border-left: 0;
  }

  .rune-card {
    min-height: 190px;
    border-top: 1px solid rgba(156, 92, 255, 0.18);
  }

  .rune-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .rune-card:nth-child(odd) {
    border-right: 1px solid rgba(156, 92, 255, 0.18);
  }

  .server-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
  }

  .status-pill,
  .player-count,
  .mini-action {
    grid-column: 2;
    justify-self: start;
  }

  .player-count {
    text-align: left;
  }

  .row-link {
    grid-column: 3;
    grid-row: 1 / span 3;
  }

  .discord-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .discord-copy {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .discord-cta {
    justify-self: center;
  }

  .discord-widget-shell {
    justify-self: center;
  }

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

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

@media (max-width: 520px) {
  .site-nav {
    font-size: 0.78rem;
  }

  .wordmark {
    font-size: clamp(4rem, 21vw, 6.4rem);
  }

  .realm-label {
    font-size: clamp(0.9rem, 4vw, 1.16rem);
  }

  .network-label {
    font-size: clamp(1rem, 5.6vw, 1.5rem);
    letter-spacing: 0.12em;
  }

  .brand-band {
    grid-template-columns: 1fr;
    gap: 4px;
    width: min(100%, 320px);
    letter-spacing: 0.18em;
  }

  .brand-band span:first-child,
  .brand-band span:last-child {
    justify-self: center;
  }

  .brand-band span::before,
  .brand-band span::after {
    display: none;
  }

  .network-label::before,
  .network-label::after {
    width: clamp(22px, 8vw, 42px);
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    font-size: 0.76rem;
  }

  .hero-points span {
    min-height: 46px;
    padding-top: 34px;
  }

  .hero-points span::before {
    width: 24px;
    height: 24px;
  }

  .hero-points span::after {
    top: 7px;
    width: 10px;
    height: 10px;
  }

  .sigil-button {
    gap: 14px;
    min-width: min(100%, 336px);
    padding-inline: 18px;
  }

  .sigil-icon {
    width: 50px;
    height: 50px;
  }

  .feature-runes {
    grid-template-columns: 1fr;
  }

  .rune-card,
  .rune-card:nth-child(-n + 2) {
    min-height: 0;
    border-top: 1px solid rgba(156, 92, 255, 0.18);
    border-right: 0;
  }

  .rune-card:first-child {
    border-top: 0;
  }

  .server-section {
    padding-inline: 14px;
  }

  .server-row {
    grid-template-columns: 1fr auto;
    padding: 16px;
  }

  .modpack-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .server-emblem {
    width: 58px;
    height: 58px;
  }

  .server-row > div {
    grid-column: 1 / -1;
  }

  .status-pill,
  .player-count,
  .mini-action {
    grid-column: 1;
  }

  .row-link {
    grid-column: 2;
    grid-row: 2 / span 2;
  }

  .banned-card-heading {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .banned-item-header {
    display: grid;
  }

  .discord-cta {
    width: 100%;
    min-width: 0;
  }

  .discord-live-body {
    min-height: 340px;
    max-height: 340px;
  }
}

/* Homepage UX refresh */
.conversion-hero {
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(760px, calc(100vh - 118px));
  align-content: end;
  justify-items: stretch;
  padding: clamp(120px, 18vh, 180px) clamp(18px, 5vw, 58px) clamp(28px, 5vw, 54px);
  overflow: hidden;
  text-align: left;
}

.conversion-hero::before {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 13, 0.94), rgba(4, 4, 13, 0.7) 47%, rgba(4, 4, 13, 0.32)),
    linear-gradient(180deg, rgba(5, 5, 17, 0.2), rgba(5, 5, 17, 0.92));
  filter: none;
  opacity: 1;
}

.conversion-hero::after {
  inset: 18px;
  width: auto;
  height: auto;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: none;
  opacity: 1;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-content {
  z-index: 1;
  width: min(100%, 820px);
}

.conversion-hero .eyebrow,
.discord-copy .eyebrow,
.banned-summary .eyebrow {
  margin-bottom: 10px;
  color: #D4AF37;
  letter-spacing: 0.18em;
}

.conversion-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #f4edf9;
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  text-shadow:
    0 0 24px rgba(156, 92, 255, 0.58),
    0 4px 26px rgba(0, 0, 0, 0.9);
}

.hero-tagline {
  max-width: 760px;
  margin: 20px 0 0;
  color: #efe8f7;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2.5vw, 1.62rem);
  line-height: 1.35;
}

.hero-support {
  max-width: 720px;
  margin: 14px 0 0;
  color: #c8bdd4;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.58;
}

.hero-worlds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 760px);
  margin-top: 24px;
}

.hero-world {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(8, 6, 18, 0.72);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero-world:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.hero-world span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.hero-world p {
  margin: 0;
  color: #c9c0d4;
  font-family: var(--serif);
  line-height: 1.45;
}

.magic-world {
  border-color: rgba(212, 175, 55, 0.34);
  background:
    radial-gradient(circle at 16% 12%, rgba(56, 178, 111, 0.22), transparent 11rem),
    linear-gradient(135deg, rgba(95, 58, 28, 0.22), transparent),
    rgba(9, 9, 17, 0.74);
}

.magic-world span {
  color: #9df0ad;
}

.mons-world {
  border-color: rgba(89, 210, 255, 0.36);
  background:
    radial-gradient(circle at 18% 8%, rgba(36, 160, 255, 0.24), transparent 11rem),
    linear-gradient(135deg, rgba(212, 175, 55, 0.16), transparent),
    rgba(6, 10, 21, 0.78);
}

.mons-world span {
  color: #59d2ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.world-button,
.info-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(156, 92, 255, 0.12)),
    rgba(10, 7, 22, 0.78);
  color: #D4AF37;
  font: 800 0.82rem var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary-action,
.world-button.primary {
  border-color: rgba(212, 175, 55, 0.74);
  background:
    linear-gradient(90deg, rgba(89, 42, 135, 0.92), rgba(32, 88, 94, 0.72)),
    rgba(10, 7, 22, 0.9);
  color: #fff3bf;
  box-shadow: 0 0 30px rgba(156, 92, 255, 0.24);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible,
.world-button:hover,
.world-button:focus-visible,
.info-grid a:hover,
.info-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 215, 137, 0.82);
  outline: none;
  box-shadow: 0 0 28px rgba(156, 92, 255, 0.34);
}

.trust-strip {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 900px);
  margin-top: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(6, 5, 17, 0.78);
  backdrop-filter: blur(12px);
}

.trust-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: #d9d1e5;
  font-family: var(--serif);
  font-size: 0.88rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

.page-section {
  width: min(100%, 1080px);
  margin: clamp(56px, 8vw, 88px) auto 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  background:
    radial-gradient(circle at 88% 6%, rgba(156, 92, 255, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(11, 8, 25, 0.88), rgba(6, 5, 17, 0.92));
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.12) inset,
    0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.section-intro {
  width: min(100%, 760px);
  margin: -6px auto 28px;
  color: #c6bbd2;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
}

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

.world-card {
  --world-a: #9c5cff;
  --world-b: #D4AF37;
  --world-c: #3f3949;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--world-a) 48%, transparent);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--world-a) 26%, transparent), transparent 15rem),
    linear-gradient(180deg, rgba(8, 7, 18, 0.86), rgba(6, 5, 14, 0.96));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.world-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--world-b) 68%, var(--world-a));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.38),
    0 0 34px color-mix(in srgb, var(--world-a) 28%, transparent);
}

.world-magic {
  --world-a: #4ecf86;
  --world-b: #D4AF37;
  --world-c: #5b371f;
}

.world-mons {
  --world-a: #22c7ff;
  --world-b: #ffc44d;
  --world-c: #1769ff;
}

.world-rpg {
  --world-a: #b73a48;
  --world-b: #a98cff;
  --world-c: #7b818e;
}

.world-art {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

.world-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.08) contrast(1.08);
  transition: transform 240ms ease;
}

.world-card:hover .world-art img {
  transform: scale(1.04);
}

.world-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(5, 5, 13, 0.9)),
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--world-a) 34%, transparent), transparent 12rem);
  content: "";
}

.world-status {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(133, 223, 88, 0.38);
  border-radius: 999px;
  background: rgba(7, 18, 11, 0.72);
  color: #9df0ad;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.world-status.soon {
  border-color: rgba(169, 140, 255, 0.38);
  color: #c7b8ff;
}

.world-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.world-kicker {
  margin: 0;
  color: var(--world-b);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-card h3,
.join-steps h3,
.feature-grid h3,
.info-grid h3,
.banned-summary h3 {
  margin: 0;
  color: #f0e8f8;
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
}

.world-card h3 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.world-card p,
.join-steps p,
.feature-grid p,
.info-grid p,
.banned-summary p {
  margin: 0;
  color: #c3b9cf;
  font-family: var(--serif);
  line-height: 1.5;
}

.world-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.world-tags li {
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--world-a) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--world-a) 12%, transparent);
  color: #eee8f7;
  font-size: 0.72rem;
}

.server-ip {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid rgba(156, 92, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 4, 13, 0.54);
}

.server-ip span {
  color: var(--world-b);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.server-ip code {
  overflow-wrap: anywhere;
  color: #f3eef8;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
}

.world-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.world-button {
  min-height: 38px;
  flex: 1 1 auto;
  padding-inline: 12px;
  font-size: 0.72rem;
  text-align: center;
}

.join-steps,
.feature-grid,
.info-grid {
  display: grid;
  gap: 16px;
}

.join-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.join-steps article,
.feature-grid article,
.info-grid article {
  position: relative;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(156, 92, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(7, 6, 18, 0.62);
}

.join-steps article {
  padding-top: 58px;
}

.join-steps article > span {
  position: absolute;
  top: 18px;
  left: 20px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.52);
  border-radius: 50%;
  color: #D4AF37;
  font-weight: 800;
}

.join-steps h3,
.feature-grid h3,
.info-grid h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.feature-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.info-grid article {
  display: grid;
  align-content: start;
}

.info-grid a {
  width: fit-content;
  min-height: 36px;
  margin-top: 16px;
  padding-inline: 12px;
  font-size: 0.7rem;
}

.banned-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(156, 92, 255, 0.18), transparent 14rem),
    rgba(5, 4, 13, 0.66);
}

.banned-summary h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.info-section .banned-content {
  margin-top: 18px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9df0ad;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ba55d;
  box-shadow: 0 0 10px rgba(59, 165, 93, 0.9);
  content: "";
}

@media (max-width: 980px) {
  .conversion-hero {
    min-height: 0;
    padding-top: 80px;
  }

  .world-grid,
  .join-steps,
  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .world-grid {
    width: min(100%, 680px);
    margin-inline: auto;
  }

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

@media (max-width: 620px) {
  .conversion-hero {
    padding: 42px 16px 30px;
  }

  .conversion-hero::after {
    inset: 8px;
  }

  .hero-worlds,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .trust-strip span {
    flex: 1 1 calc(50% - 8px);
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 999px;
    background: rgba(7, 6, 18, 0.74);
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .page-section {
    margin-top: 42px;
    padding: 24px 14px;
  }

  .section-intro {
    font-size: 0.98rem;
  }

  .world-art,
  .world-art img {
    aspect-ratio: 16 / 9;
  }

  .world-body {
    padding: 18px;
  }

  .world-actions {
    display: grid;
  }

  .banned-summary {
    grid-template-columns: 1fr;
  }
}

/* Reference-style hero pass */
.page-shell {
  width: min(100%, 1510px);
  padding: 12px;
}

.site-header {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  z-index: 30;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) auto;
  min-height: 92px;
  padding: 0 42px;
  border: 1px solid rgba(156, 92, 255, 0.48);
  border-bottom-color: rgba(156, 92, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(4, 6, 20, 0.9), rgba(4, 6, 20, 0.58)),
    rgba(4, 6, 20, 0.62);
  backdrop-filter: blur(8px);
}

.brand-mark {
  grid-column: 1;
  justify-self: start;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: auto;
  height: 88px;
  text-shadow: none;
}

.brand-mark::before {
  width: 60px;
  height: 60px;
  border-color: rgba(212, 175, 55, 0.28);
}

.brand-icon {
  position: relative;
  width: 70px;
  height: 70px;
}

.brand-glyph {
  grid-column: 1;
  grid-row: 1;
}

.brand-word {
  grid-column: 2;
  display: grid;
  gap: 2px;
  min-width: 0;
  font-family: var(--serif);
  line-height: 1;
  text-transform: uppercase;
}

.brand-word strong {
  color: #f6f1fa;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow:
    0 1px 0 #fff,
    0 0 20px rgba(156, 92, 255, 0.7);
}

.brand-word em {
  color: #d9d0e6;
  font-size: 0.86rem;
  font-style: normal;
  letter-spacing: 0.42em;
  text-align: center;
}

.site-nav {
  grid-column: 2;
  grid-row: auto;
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3.4vw, 52px);
  padding: 0 20px;
  color: #f1edf7;
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav a {
  padding: 28px 0;
}

.nav-discord {
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 244px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid rgba(188, 76, 255, 0.96);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(132, 43, 211, 0.76), rgba(76, 28, 130, 0.86)),
    rgba(16, 8, 34, 0.92);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.14) inset,
    0 0 28px rgba(156, 92, 255, 0.34);
}

.nav-discord::before,
.secondary-action[href*="discord"]::before {
  margin-right: 10px;
  color: currentColor;
  content: "◆";
}

.conversion-hero {
  min-height: clamp(900px, calc(100vh - 24px), 1060px);
  align-content: start;
  padding: clamp(150px, 15vh, 172px) clamp(42px, 5vw, 80px) 22px;
  border: 1px solid rgba(156, 92, 255, 0.56);
  background: #050511;
}

.conversion-hero::before {
  background:
    linear-gradient(90deg, rgba(3, 5, 15, 0.94), rgba(3, 5, 15, 0.68) 38%, rgba(3, 5, 15, 0.12) 72%),
    linear-gradient(180deg, rgba(3, 5, 15, 0.12), rgba(3, 5, 15, 0.1) 52%, rgba(3, 5, 15, 0.9));
}

.conversion-hero::after {
  inset: 10px;
  border-color: rgba(156, 92, 255, 0.54);
}

.hero-backdrop {
  object-position: center 48%;
  opacity: 1;
  filter: saturate(1.12) contrast(1.06);
}

.hero-content {
  width: min(100%, 620px);
  margin-top: clamp(14px, 5vh, 56px);
}

.conversion-hero h1 {
  max-width: 760px;
  color: #f7f2fb;
  font-size: clamp(4.2rem, 8.8vw, 7.2rem);
  line-height: 0.84;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.conversion-hero h1 span {
  display: block;
  color: #a94cff;
  font-size: 0.74em;
  letter-spacing: 0.12em;
  text-shadow:
    0 0 18px rgba(156, 92, 255, 0.9),
    0 0 44px rgba(156, 92, 255, 0.54);
}

.hero-tagline {
  width: min(100%, 500px);
  margin-top: 28px;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.35;
}

.hero-support {
  width: min(100%, 620px);
  margin-top: 12px;
  color: #ded7e8;
  font-family: var(--serif);
}

.hero-worlds {
  display: none;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.hero-perks span {
  display: inline-grid;
  grid-template-columns: 34px minmax(0, auto);
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-perks span::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #bd4cff;
  font-size: 1.15rem;
  text-shadow: 0 0 16px rgba(156, 92, 255, 0.9);
  content: "✦";
}

.hero-actions {
  gap: 24px;
  margin-top: 32px;
}

.primary-action,
.secondary-action,
.nav-discord {
  position: relative;
}

.primary-action,
.secondary-action {
  min-width: 250px;
  min-height: 66px;
  padding: 0 34px;
  border-color: rgba(188, 76, 255, 0.92);
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.12) inset,
    0 0 32px rgba(156, 92, 255, 0.24);
}

.primary-action {
  background:
    linear-gradient(90deg, rgba(132, 43, 211, 0.84), rgba(87, 31, 149, 0.94)),
    rgba(18, 8, 36, 0.94);
}

.secondary-action {
  background: rgba(10, 8, 27, 0.74);
}

.primary-action::before {
  margin-right: 10px;
  content: "▶";
}

.quick-copy-actions,
.trust-strip {
  display: none;
}

.hero-server-grid {
  z-index: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: 100%;
  margin-top: clamp(34px, 5vw, 54px);
}

.hero-server-grid .world-card {
  min-height: 264px;
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 4px;
  background: #060815;
}

.hero-server-grid .world-art {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.hero-server-grid .world-art img {
  object-position: center center;
}

.hero-server-grid .world-art::after {
  background:
    linear-gradient(90deg, rgba(3, 5, 14, 0.86), rgba(3, 5, 14, 0.45), rgba(3, 5, 14, 0.92)),
    linear-gradient(180deg, rgba(3, 5, 14, 0.04), rgba(3, 5, 14, 0.92) 74%);
}

.hero-server-grid .world-body {
  z-index: 1;
  min-height: 264px;
  align-content: end;
  padding: 26px 32px 24px;
}

.hero-server-grid .world-kicker {
  display: none;
}

.hero-server-grid .world-card h3 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-shadow:
    0 0 14px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(156, 92, 255, 0.34);
}

.hero-server-grid .world-card p {
  width: min(100%, 330px);
  color: #e6deed;
  font-family: var(--sans);
  font-size: 0.96rem;
}

.hero-server-grid .world-tags {
  display: none;
}

.hero-server-grid .server-ip {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-server-grid .server-ip span {
  display: none;
}

.hero-server-grid .server-ip code {
  color: #d9d4df;
  font-size: 0.82rem;
}

.hero-server-grid .world-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.hero-server-grid .world-button {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 3px;
  font-size: 0.68rem;
}

.hero-server-grid .world-button.primary {
  color: #fff;
}

.hero-server-grid .world-status {
  top: 18px;
  right: 18px;
  bottom: auto;
  left: auto;
  transform: none;
  background: rgba(6, 18, 12, 0.82);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.16) inset,
    0 0 18px rgba(83, 224, 116, 0.28);
}

.join-section {
  margin-top: clamp(54px, 7vw, 82px);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
    gap: 12px;
    padding: 0 24px;
  }

  .site-nav {
    justify-content: end;
    gap: 22px;
  }

  .nav-discord {
    display: none;
  }

  .hero-server-grid {
    grid-template-columns: 1fr;
    width: min(100%, 720px);
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 8px;
  }

  .site-header {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 12px;
  }

  .brand-mark {
    justify-self: center;
    grid-template-columns: 54px minmax(0, auto);
    gap: 10px;
    width: fit-content;
    height: 62px;
    min-width: 0;
    font-size: 28px;
  }

  .brand-mark::before {
    width: 48px;
    height: 48px;
    opacity: 0.7;
  }

  .brand-icon {
    width: 54px;
    height: 54px;
  }

  .brand-word strong {
    font-size: 1.55rem;
  }

  .brand-word em {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
  }

  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 8px 0 0;
    font-size: 0.78rem;
  }

  .site-nav a {
    padding: 8px 0;
  }

  .conversion-hero {
    min-height: 0;
    padding: 34px 18px 20px;
  }

  .conversion-hero::after {
    inset: 8px;
  }

  .hero-content {
    margin-top: 18px;
  }

  .conversion-hero h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .hero-tagline {
    font-size: 1.02rem;
  }

  .hero-support {
    font-size: 0.94rem;
  }

  .hero-perks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 24px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .hero-server-grid {
    margin-top: 26px;
  }

  .hero-server-grid .world-card,
  .hero-server-grid .world-body {
    min-height: 276px;
  }

  .hero-server-grid .world-body {
    padding: 22px 18px 18px;
  }

  .hero-server-grid .world-actions {
    grid-template-columns: 1fr;
  }
}

/* Focused polish for the reference-style homepage pass. */
.discord-panel .discord-cta {
  display: inline-flex;
  width: min(100%, 260px);
  min-width: 0;
  min-height: 58px;
  gap: 12px;
  justify-self: start;
  border: 1px solid rgba(188, 76, 255, 0.96);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(132, 43, 211, 0.86), rgba(55, 113, 125, 0.66)),
    rgba(12, 8, 29, 0.94);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.16) inset,
    0 0 28px rgba(156, 92, 255, 0.34);
}

.discord-panel .discord-cta::before,
.discord-panel .discord-cta::after {
  display: none;
}

.discord-panel .discord-cta:hover,
.discord-panel .discord-cta:focus-visible {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(212, 175, 55, 0.9);
}

@media (max-width: 760px) {
  .discord-panel .discord-cta {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    grid-template-columns: 48px minmax(0, auto);
    height: 56px;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .brand-mark::before {
    width: 42px;
    height: 42px;
  }

  .brand-word strong {
    font-size: 1.28rem;
  }

  .brand-word em {
    font-size: 0.52rem;
    letter-spacing: 0.24em;
  }
}

/* Mobile overflow cleanup */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-shell {
    width: 100%;
    max-width: 100vw;
    padding: 8px;
    overflow: hidden;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 10px;
    overflow: hidden;
  }

  .brand-mark {
    grid-template-columns: 48px minmax(0, auto);
    gap: 9px;
    width: min(100%, 220px);
    height: 56px;
    justify-content: center;
    justify-self: center;
    place-items: center start;
  }

  .brand-mark::before {
    width: 42px;
    height: 42px;
    opacity: 0.45;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
  }

  .brand-word {
    width: min-content;
  }

  .brand-word strong {
    font-size: 1.28rem;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .brand-word em {
    font-size: 0.52rem;
    letter-spacing: 0.22em;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 4px 8px;
    padding: 4px 0 0;
    font-size: 0.78rem;
    text-align: center;
  }

  .site-nav a {
    min-width: 0;
    padding: 8px 4px;
    white-space: nowrap;
  }

  .conversion-hero {
    width: 100%;
    max-width: 100%;
    padding: 28px 22px 20px;
    overflow: hidden;
  }

  .conversion-hero::after {
    inset: 8px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
  }

  .conversion-hero h1 {
    max-width: 100%;
    font-size: clamp(2.9rem, 13vw, 4.15rem);
    line-height: 0.86;
    overflow-wrap: normal;
  }

  .conversion-hero h1 span {
    max-width: 100%;
    letter-spacing: 0.08em;
  }

  .hero-tagline,
  .hero-support {
    width: 100%;
    max-width: 100%;
  }

  .hero-perks span {
    grid-template-columns: 30px minmax(0, 1fr);
  }
}

@media (max-width: 390px) {
  .site-nav {
    font-size: 0.72rem;
  }

  .conversion-hero h1 {
    font-size: clamp(2.55rem, 12.4vw, 3.35rem);
  }

  .conversion-hero {
    padding-inline: 18px;
  }
}

/* Mobile layout polish */
@media (max-width: 760px) {
  .site-header {
    min-height: 0;
    padding: 16px 12px 18px;
    gap: 16px;
  }

  .brand-mark {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    height: auto;
    gap: 5px;
    text-align: center;
  }

  .brand-mark::before {
    display: none;
  }

  .brand-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
  }

  .brand-glyph {
    display: none;
  }

  .brand-word {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .brand-word strong {
    font-size: 1.55rem;
    line-height: 0.9;
    white-space: nowrap;
  }

  .brand-word em {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 0;
    padding: 0;
    font-size: 0.82rem;
  }

  .site-nav a:last-child {
    grid-column: 1 / -1;
    width: min(100%, 170px);
    justify-self: center;
  }

  .hero-server-grid .world-card {
    min-height: 0;
  }

  .hero-server-grid .world-body {
    min-height: 0;
    align-content: start;
    padding: 74px 22px 22px;
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(2.1rem, 8.8vw, 2.75rem);
    line-height: 0.95;
  }

  .hero-server-grid .world-card p {
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .hero-server-grid .world-status {
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .hero-server-grid .server-ip code {
    white-space: normal;
    overflow-wrap: anywhere;
    letter-spacing: 0.08em;
  }

  .discord-live-head {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .discord-live-brand {
    justify-items: center;
  }

  .discord-live-brand h3 {
    max-width: 100%;
    white-space: normal;
  }

  .discord-count {
    justify-self: center;
  }

  .staff-corner-link {
    position: static;
    display: block;
    width: min(100%, 220px);
    margin: 28px auto 0;
    padding: 10px 14px;
    text-align: center;
    opacity: 0.82;
  }
}

@media (max-width: 390px) {
  .brand-icon {
    width: 52px;
    height: 52px;
  }

  .brand-word strong {
    font-size: 1.36rem;
  }

  .site-nav {
    font-size: 0.76rem;
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(1.95rem, 8.4vw, 2.45rem);
  }
}

/* Final mobile stability pass */
[hidden] {
  display: none !important;
}

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

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    overflow-x: clip;
  }

  .site-header {
    border-color: rgba(156, 92, 255, 0.42);
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: clamp(0.68rem, 3.2vw, 0.8rem);
  }

  .site-nav a,
  .site-nav a:last-child {
    display: inline-flex;
    grid-column: auto;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 34px;
    padding: 7px 6px;
    line-height: 1.1;
    white-space: normal;
  }

  .site-nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 180px);
    justify-self: center;
  }

  .conversion-hero {
    padding: 26px 18px 20px;
    text-align: left;
  }

  .conversion-hero::before {
    background:
      linear-gradient(90deg, rgba(3, 5, 15, 0.96), rgba(3, 5, 15, 0.74) 54%, rgba(3, 5, 15, 0.46)),
      linear-gradient(180deg, rgba(3, 5, 15, 0.18), rgba(3, 5, 15, 0.92));
  }

  .hero-backdrop {
    object-position: 58% 50%;
  }

  .conversion-hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.35rem, 10.6vw, 3.1rem);
    line-height: 0.92;
    letter-spacing: 0;
    overflow-wrap: normal;
    -webkit-text-stroke-width: 0.5px;
  }

  .conversion-hero h1 span {
    font-size: 0.82em;
    letter-spacing: 0.04em;
  }

  .hero-tagline,
  .hero-support {
    width: 100%;
    max-width: 100%;
    line-height: 1.46;
    overflow-wrap: break-word;
  }

  .hero-perks {
    gap: 9px;
  }

  .hero-perks span {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .primary-action::before,
  .secondary-action[href*="discord"]::before,
  .nav-discord::before {
    display: none;
    content: "";
  }

  .hero-server-grid {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .hero-server-grid .world-card {
    display: grid;
    grid-template-rows: auto 1fr;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .hero-server-grid .world-art {
    position: relative;
    inset: auto;
    min-height: 150px;
    aspect-ratio: 16 / 10;
  }

  .hero-server-grid .world-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-server-grid .world-art::after {
    background:
      linear-gradient(180deg, rgba(3, 5, 14, 0.04), rgba(3, 5, 14, 0.88)),
      radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--world-a) 28%, transparent), transparent 11rem);
  }

  .hero-server-grid .world-body {
    min-height: 0;
    align-content: start;
    gap: 13px;
    padding: 18px;
    background:
      radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--world-a) 15%, transparent), transparent 12rem),
      rgba(5, 5, 15, 0.94);
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(1.75rem, 7.4vw, 2.3rem);
    line-height: 1;
  }

  .hero-server-grid .world-card p {
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.48;
  }

  .hero-server-grid .server-ip code {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .hero-server-grid .world-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-server-grid .world-button {
    width: 100%;
    min-height: 44px;
    padding-inline: 12px;
  }

  .hero-server-grid .world-status {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }

  .world-magic .world-art img {
    object-position: center 46%;
  }

  .world-mons .world-art img {
    object-position: center 50%;
  }

  .world-rpg .world-art img {
    object-position: center 42%;
  }

  .page-section,
  .discord-panel {
    width: 100%;
    max-width: 100%;
    margin-top: 38px;
    padding: 22px 16px;
    overflow: hidden;
  }

  .section-heading {
    display: grid;
    grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
    gap: 12px;
  }

  .section-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    line-height: 1;
  }

  .section-intro {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .join-steps article,
  .feature-grid article,
  .info-grid article,
  .banned-card {
    padding: 18px;
  }

  .discord-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .discord-copy {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    text-align: center;
  }

  .discord-badge {
    width: 78px;
    height: 78px;
  }

  .discord-widget-shell {
    width: 100%;
    justify-self: stretch;
  }

  .discord-live-head,
  .discord-live-brand {
    justify-items: center;
    text-align: center;
  }

  .discord-member {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .discord-member-name,
  .discord-member-activity {
    overflow-wrap: anywhere;
  }

  .banned-card-heading {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .banned-item-header {
    align-items: start;
    gap: 8px;
  }

  .site-footer {
    gap: 10px 14px;
    padding: 28px 12px 4px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .conversion-hero {
    padding-inline: 16px;
  }

  .conversion-hero h1 {
    font-size: clamp(2.08rem, 10vw, 2.62rem);
  }

  .hero-tagline {
    font-size: 0.98rem;
  }

  .hero-support {
    font-size: 0.92rem;
  }

  .hero-server-grid .world-art {
    min-height: 138px;
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(1.65rem, 7.1vw, 2.05rem);
  }

  .hero-server-grid .world-body {
    padding: 16px;
  }
}

/* Narrow phone tuning */
@media (max-width: 760px) {
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav a,
  .site-nav a:last-child {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .site-nav a:last-child:nth-child(odd) {
    flex-basis: 180px;
    max-width: 180px;
  }

  .hero-content {
    max-width: calc(100vw - 64px);
  }

  .conversion-hero h1,
  .hero-tagline,
  .hero-support {
    max-width: calc(100vw - 64px);
  }

  .conversion-hero h1 {
    font-size: clamp(2rem, 8.6vw, 2.75rem);
  }

  .conversion-hero h1 span {
    font-size: 0.78em;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 420px) {
  .hero-content,
  .conversion-hero h1,
  .hero-tagline,
  .hero-support {
    max-width: calc(100vw - 56px);
  }

  .conversion-hero h1 {
    font-size: clamp(1.82rem, 8.9vw, 2.28rem);
  }

  .conversion-hero h1 span {
    letter-spacing: 0;
  }
}

/* Guard against right-edge clipping on narrow mobile screenshots. */
@media (max-width: 760px) {
  .site-header {
    width: calc(100vw - 16px);
    margin-inline: auto;
  }

  .site-nav a,
  .site-nav a:last-child {
    flex-basis: calc(50% - 14px);
    max-width: 168px;
  }

  .hero-content,
  .conversion-hero h1,
  .hero-tagline,
  .hero-support {
    width: min(100%, calc(100vw - 84px));
    max-width: calc(100vw - 84px);
  }

  .hero-tagline,
  .hero-support,
  .world-card p,
  .join-steps p,
  .feature-grid p,
  .info-grid p,
  .banned-summary p,
  .section-intro {
    overflow-wrap: anywhere;
  }

  .hero-server-grid {
    width: min(100%, calc(100vw - 54px));
    justify-self: center;
  }

  .page-section,
  .discord-panel {
    width: calc(100vw - 24px);
    margin-inline: auto;
  }
}

@media (max-width: 420px) {
  .hero-content,
  .conversion-hero h1,
  .hero-tagline,
  .hero-support {
    width: min(100%, calc(100vw - 76px));
    max-width: calc(100vw - 76px);
  }

  .hero-server-grid {
    width: min(100%, calc(100vw - 44px));
  }
}

@media (max-width: 520px) {
  .hero-content,
  .conversion-hero h1,
  .hero-tagline,
  .hero-support {
    width: min(100%, 332px);
    max-width: min(100%, 332px);
  }

  .hero-server-grid {
    width: min(100%, 336px);
  }

  .page-section,
  .discord-panel {
    width: min(100%, 360px);
  }

  .site-header {
    width: min(100%, 374px);
  }
}

/* RuneVeil drama restore: richer visuals while keeping the mobile overflow guard. */
.site-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 18px 54px rgba(4, 2, 14, 0.34);
}

.brand-mark::before {
  border-color: rgba(245, 215, 137, 0.58);
  box-shadow:
    0 0 24px rgba(156, 92, 255, 0.34),
    0 0 18px rgba(212, 175, 55, 0.18) inset;
}

.site-nav a,
.nav-discord {
  text-shadow: 0 0 16px rgba(156, 92, 255, 0.42);
}

.conversion-hero {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.16) inset,
    0 0 80px rgba(98, 34, 176, 0.36),
    0 30px 90px rgba(0, 0, 0, 0.54);
}

.conversion-hero::before {
  background:
    radial-gradient(circle at 20% 22%, rgba(156, 92, 255, 0.34), transparent 16rem),
    radial-gradient(circle at 78% 18%, rgba(188, 76, 255, 0.3), transparent 20rem),
    linear-gradient(90deg, rgba(2, 3, 12, 0.9), rgba(2, 3, 12, 0.62) 42%, rgba(2, 3, 12, 0.2) 72%),
    linear-gradient(180deg, rgba(2, 3, 12, 0.08), rgba(2, 3, 12, 0.08) 48%, rgba(2, 3, 12, 0.93));
}

.conversion-hero::after {
  border-color: rgba(245, 215, 137, 0.34);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.26),
    0 0 36px rgba(156, 92, 255, 0.22) inset;
}

.hero-backdrop {
  filter: saturate(1.28) contrast(1.12) brightness(1.05);
}

.conversion-hero .eyebrow {
  color: #f5d789;
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.48);
}

.conversion-hero h1 {
  text-shadow:
    0 0 20px rgba(156, 92, 255, 0.72),
    0 0 46px rgba(156, 92, 255, 0.38),
    0 7px 30px rgba(0, 0, 0, 0.92);
}

.conversion-hero h1 span {
  color: #bd4cff;
  text-shadow:
    0 0 14px rgba(245, 215, 137, 0.24),
    0 0 22px rgba(156, 92, 255, 0.96),
    0 0 58px rgba(156, 92, 255, 0.62);
}

.hero-tagline {
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.hero-support {
  color: #e6ddef;
}

.hero-perks span::before {
  color: #f5d789;
  text-shadow:
    0 0 14px rgba(212, 175, 55, 0.64),
    0 0 22px rgba(156, 92, 255, 0.64);
}

.primary-action,
.secondary-action,
.world-button,
.info-grid a,
.nav-discord {
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.12) inset,
    0 0 28px rgba(156, 92, 255, 0.22);
}

.primary-action {
  background:
    linear-gradient(90deg, rgba(188, 76, 255, 0.95), rgba(70, 24, 130, 0.96)),
    rgba(18, 8, 36, 0.96);
}

.secondary-action,
.nav-discord {
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(156, 92, 255, 0.16)),
    rgba(8, 6, 22, 0.8);
}

.primary-action::before {
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}

.nav-discord::before,
.secondary-action[href*="discord"]::before {
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.hero-server-grid .world-card {
  border-color: color-mix(in srgb, var(--world-a) 62%, rgba(245, 215, 137, 0.42));
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 0 34px color-mix(in srgb, var(--world-a) 22%, transparent);
}

.hero-server-grid .world-card:hover {
  box-shadow:
    0 24px 62px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(245, 215, 137, 0.16) inset,
    0 0 44px color-mix(in srgb, var(--world-a) 36%, transparent);
}

.hero-server-grid .world-art img {
  filter: saturate(1.25) contrast(1.14) brightness(1.04);
}

.hero-server-grid .world-art::after {
  background:
    radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--world-a) 42%, transparent), transparent 12rem),
    linear-gradient(90deg, rgba(2, 3, 12, 0.88), rgba(2, 3, 12, 0.38), rgba(2, 3, 12, 0.88)),
    linear-gradient(180deg, rgba(2, 3, 12, 0.02), rgba(2, 3, 12, 0.9) 74%);
}

.hero-server-grid .world-card h3 {
  text-shadow:
    0 0 16px color-mix(in srgb, var(--world-a) 44%, transparent),
    0 0 20px rgba(0, 0, 0, 0.9);
}

.hero-server-grid .server-ip code {
  color: #f3edf9;
}

.page-section,
.discord-panel,
.banned-card {
  background:
    radial-gradient(circle at 84% 6%, rgba(188, 76, 255, 0.26), transparent 22rem),
    radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(12, 8, 29, 0.93), rgba(5, 4, 15, 0.97));
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.18) inset,
    0 22px 66px rgba(0, 0, 0, 0.42),
    0 0 38px rgba(156, 92, 255, 0.12);
}

@media (max-width: 760px) {
  .page-shell {
    padding: 10px;
  }

  .site-header {
    width: min(100%, 470px);
    padding: 14px 12px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    background:
      radial-gradient(circle at 50% 0%, rgba(156, 92, 255, 0.22), transparent 14rem),
      rgba(5, 5, 17, 0.86);
    box-shadow:
      0 0 0 1px rgba(156, 92, 255, 0.12) inset,
      0 18px 46px rgba(0, 0, 0, 0.38);
  }

  .site-nav {
    width: 100%;
    gap: 8px;
  }

  .site-nav a,
  .site-nav a:last-child {
    flex-basis: calc(50% - 6px);
    max-width: none;
    min-height: 38px;
    border: 1px solid rgba(156, 92, 255, 0.18);
    background: rgba(10, 7, 24, 0.5);
  }

  .site-nav a:last-child:nth-child(odd) {
    flex-basis: min(100%, 220px);
    max-width: 220px;
  }

  .conversion-hero {
    min-height: 0;
    padding: 36px 18px 26px;
    border-color: rgba(188, 76, 255, 0.72);
  }

  .conversion-hero::before {
    background:
      radial-gradient(circle at 18% 12%, rgba(156, 92, 255, 0.42), transparent 13rem),
      radial-gradient(circle at 78% 18%, rgba(188, 76, 255, 0.34), transparent 14rem),
      linear-gradient(90deg, rgba(2, 3, 12, 0.9), rgba(2, 3, 12, 0.62) 56%, rgba(2, 3, 12, 0.36)),
      linear-gradient(180deg, rgba(2, 3, 12, 0.08), rgba(2, 3, 12, 0.9));
  }

  .conversion-hero::after {
    inset: 7px;
  }

  .hero-backdrop {
    object-position: 63% 50%;
    opacity: 1;
    filter: saturate(1.35) contrast(1.15) brightness(1.08);
  }

  .hero-content,
  .conversion-hero h1,
  .hero-tagline,
  .hero-support {
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    margin-top: 8px;
  }

  .conversion-hero h1 {
    font-size: clamp(2.48rem, 12.8vw, 4rem);
    line-height: 0.86;
    -webkit-text-stroke-width: 0.75px;
  }

  .conversion-hero h1 span {
    font-size: 0.76em;
    letter-spacing: 0.05em;
  }

  .hero-tagline {
    margin-top: 20px;
    color: #fff;
    font-size: clamp(1.05rem, 4.1vw, 1.24rem);
  }

  .hero-support {
    font-size: clamp(0.94rem, 3.5vw, 1.02rem);
  }

  .hero-perks {
    gap: 12px;
  }

  .hero-perks span {
    min-height: 42px;
    padding: 7px 8px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(7, 5, 20, 0.54);
  }

  .primary-action::before,
  .secondary-action[href*="discord"]::before,
  .nav-discord::before {
    display: inline-block;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-action,
  .secondary-action {
    min-height: 56px;
  }

  .hero-server-grid {
    width: 100%;
    max-width: 100%;
    gap: 18px;
    margin-top: 30px;
  }

  .hero-server-grid .world-card {
    border-radius: 6px;
  }

  .hero-server-grid .world-art {
    min-height: 188px;
    aspect-ratio: 16 / 9;
  }

  .hero-server-grid .world-art::after {
    background:
      radial-gradient(circle at 18% 14%, color-mix(in srgb, var(--world-a) 48%, transparent), transparent 11rem),
      linear-gradient(180deg, rgba(2, 3, 12, 0), rgba(2, 3, 12, 0.86));
  }

  .hero-server-grid .world-body {
    padding: 20px;
    background:
      radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--world-a) 22%, transparent), transparent 12rem),
      rgba(4, 4, 14, 0.96);
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(1.95rem, 8.2vw, 2.58rem);
  }

  .hero-server-grid .world-card p {
    color: #eee7f6;
    font-size: 0.98rem;
  }

  .hero-server-grid .server-ip {
    padding: 10px 11px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(2, 3, 12, 0.42);
  }

  .hero-server-grid .server-ip code {
    font-size: 0.82rem;
  }

  .hero-server-grid .world-button {
    min-height: 46px;
  }

  .page-section,
  .discord-panel {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
    border-color: rgba(212, 175, 55, 0.28);
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
    gap: 10px;
    overflow: hidden;
  }

  .section-heading > span {
    width: 100%;
    min-width: 0;
  }

  .section-heading h2 {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: 100%;
  }

  .conversion-hero {
    padding: 32px 16px 24px;
  }

  .hero-backdrop {
    object-position: 66% 50%;
  }

  .conversion-hero h1 {
    font-size: clamp(2.22rem, 11.4vw, 2.88rem);
  }

  .conversion-hero h1 span {
    letter-spacing: 0.03em;
  }

  .hero-server-grid {
    width: 100%;
  }

  .hero-server-grid .world-art {
    min-height: 172px;
  }
}

@media (max-width: 360px) {
  body {
    min-width: 0;
  }

  .conversion-hero h1 {
    font-size: clamp(2.02rem, 11vw, 2.42rem);
  }

  .conversion-hero h1 span {
    letter-spacing: 0.01em;
  }

  .hero-server-grid .world-art {
    min-height: 158px;
  }

  .hero-server-grid .server-ip code {
    font-size: 0.76rem;
  }
}

/* Ancient veil direction: controlled atmosphere, readable first. */
.conversion-hero {
  min-height: clamp(720px, calc(100vh - 24px), 920px);
  align-content: center;
  padding-bottom: clamp(48px, 8vh, 92px);
  border-color: rgba(185, 148, 72, 0.42);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.12) inset,
    0 28px 90px rgba(0, 0, 0, 0.56);
}

.conversion-hero::before {
  background:
    radial-gradient(circle at 24% 22%, rgba(107, 64, 166, 0.24), transparent 18rem),
    radial-gradient(circle at 82% 20%, rgba(119, 78, 168, 0.2), transparent 22rem),
    linear-gradient(90deg, rgba(3, 4, 13, 0.92), rgba(3, 4, 13, 0.68) 42%, rgba(3, 4, 13, 0.34) 76%),
    linear-gradient(180deg, rgba(3, 4, 13, 0.14), rgba(3, 4, 13, 0.9));
}

.conversion-hero::after {
  border-color: rgba(185, 148, 72, 0.3);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.18),
    0 0 30px rgba(126, 76, 189, 0.12) inset;
}

.hero-backdrop {
  filter: saturate(1.08) contrast(1.08) brightness(0.95);
}

.hero-fog,
.hero-fog::before,
.hero-fog::after {
  position: absolute;
  inset: -15% -20%;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.hero-fog {
  opacity: 0.42;
  background:
    radial-gradient(ellipse at 20% 58%, rgba(197, 170, 224, 0.16), transparent 28rem),
    radial-gradient(ellipse at 72% 42%, rgba(105, 75, 152, 0.18), transparent 30rem);
  filter: blur(22px);
  animation: veilFogDrift 28s ease-in-out infinite alternate;
}

.hero-fog::before {
  background:
    linear-gradient(100deg, transparent 10%, rgba(216, 203, 228, 0.12) 35%, transparent 62%),
    linear-gradient(80deg, transparent 22%, rgba(103, 70, 147, 0.13) 48%, transparent 78%);
  animation: veilFogSlide 42s linear infinite;
}

.hero-fog::after {
  opacity: 0.66;
  background:
    radial-gradient(ellipse at 46% 62%, rgba(245, 215, 137, 0.08), transparent 18rem),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: veilFogSlide 56s linear infinite reverse;
}

.rune-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.rune-particles span {
  position: absolute;
  color: rgba(214, 193, 255, 0.3);
  font-family: var(--serif);
  font-size: clamp(0.82rem, 1.5vw, 1.3rem);
  letter-spacing: 0.16em;
  text-shadow: 0 0 16px rgba(156, 92, 255, 0.36);
  animation: runeDrift 18s ease-in-out infinite alternate;
}

.rune-particles span:nth-child(1) {
  top: 24%;
  left: 16%;
  animation-duration: 24s;
}

.rune-particles span:nth-child(2) {
  top: 34%;
  right: 20%;
  animation-duration: 21s;
  animation-delay: -7s;
}

.rune-particles span:nth-child(3) {
  bottom: 28%;
  left: 28%;
  animation-duration: 27s;
  animation-delay: -12s;
}

.rune-particles span:nth-child(4) {
  top: 58%;
  right: 28%;
  animation-duration: 25s;
  animation-delay: -4s;
}

.rune-particles span:nth-child(5) {
  bottom: 18%;
  right: 12%;
  animation-duration: 30s;
  animation-delay: -16s;
}

.rune-particles span:nth-child(6) {
  top: 18%;
  left: 48%;
  animation-duration: 22s;
  animation-delay: -10s;
}

.hero-content {
  width: min(100%, 760px);
  margin-top: clamp(24px, 8vh, 72px);
}

.conversion-hero .eyebrow {
  color: rgba(245, 215, 137, 0.86);
  letter-spacing: 0.22em;
  text-shadow: 0 0 14px rgba(185, 148, 72, 0.28);
}

.conversion-hero h1 {
  max-width: 760px;
  color: #f8f3fb;
  font-size: clamp(4.4rem, 10vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 22px rgba(156, 92, 255, 0.36),
    0 8px 32px rgba(0, 0, 0, 0.94);
  -webkit-text-stroke: 1px rgba(245, 215, 137, 0.14);
}

.hero-tagline {
  width: min(100%, 720px);
  margin-top: 30px;
  color: #f3edf8;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  line-height: 1.42;
}

.hero-support {
  width: min(100%, 760px);
  margin-top: 18px;
  color: #cfc6da;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.72;
}

.hero-perks {
  gap: 12px;
  margin-top: 30px;
}

.hero-perks span {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(185, 148, 72, 0.18);
  background: rgba(7, 6, 18, 0.38);
  color: #e8dfef;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.hero-perks span::before {
  width: 22px;
  height: 22px;
  color: rgba(245, 215, 137, 0.82);
  font-size: 0.82rem;
  text-shadow: 0 0 12px rgba(185, 148, 72, 0.42);
}

.primary-action,
.secondary-action,
.world-button,
.info-grid a,
.discord-panel .discord-cta,
.nav-discord {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.primary-action,
.secondary-action,
.discord-panel .discord-cta,
.nav-discord {
  border-color: rgba(185, 148, 72, 0.46);
  background:
    linear-gradient(90deg, rgba(84, 48, 121, 0.74), rgba(31, 46, 62, 0.68)),
    rgba(10, 8, 24, 0.86);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 0 18px rgba(126, 76, 189, 0.18);
}

.secondary-action,
.discord-panel .discord-cta,
.nav-discord {
  background:
    linear-gradient(90deg, rgba(185, 148, 72, 0.08), rgba(84, 48, 121, 0.12)),
    rgba(8, 6, 20, 0.78);
}

.primary-action::after,
.secondary-action::after,
.world-button::after,
.discord-panel .discord-cta::after,
.nav-discord::after {
  position: absolute;
  inset: -30%;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(245, 215, 137, 0.22), transparent 32%),
    radial-gradient(circle at 70% 45%, rgba(156, 92, 255, 0.18), transparent 36%);
  transition: opacity 260ms ease;
  content: "";
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible,
.world-button:hover,
.world-button:focus-visible,
.discord-panel .discord-cta:hover,
.discord-panel .discord-cta:focus-visible,
.nav-discord:hover,
.nav-discord:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 215, 137, 0.66);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.12) inset,
    0 0 26px rgba(126, 76, 189, 0.24);
}

.primary-action:hover::after,
.primary-action:focus-visible::after,
.secondary-action:hover::after,
.secondary-action:focus-visible::after,
.world-button:hover::after,
.world-button:focus-visible::after,
.discord-panel .discord-cta:hover::after,
.discord-panel .discord-cta:focus-visible::after,
.nav-discord:hover::after,
.nav-discord:focus-visible::after {
  opacity: 1;
}

.cinematic-break {
  position: relative;
  width: min(100%, 1180px);
  margin: clamp(50px, 7vw, 86px) auto 0;
  overflow: hidden;
  border-top: 1px solid rgba(185, 148, 72, 0.24);
  border-bottom: 1px solid rgba(126, 76, 189, 0.28);
  aspect-ratio: 21 / 7;
  background: #050511;
}

.cinematic-break::before,
.cinematic-break::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.cinematic-break::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 17, 0.92), transparent 20%, transparent 80%, rgba(5, 5, 17, 0.92)),
    linear-gradient(180deg, rgba(5, 5, 17, 0.02), rgba(5, 5, 17, 0.64));
}

.cinematic-break::after {
  z-index: 2;
  opacity: 0.7;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 215, 137, 0.14), transparent 18rem),
    radial-gradient(circle at 80% 60%, rgba(126, 76, 189, 0.18), transparent 18rem);
}

.cinematic-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.08) brightness(0.88);
}

.cinematic-banner img {
  object-position: center 46%;
}

.cinematic-relic img {
  object-position: center 42%;
}

.page-section,
.discord-panel {
  margin-top: clamp(58px, 7vw, 92px);
}

.page-section::before,
.discord-panel::before,
.site-footer::before {
  position: absolute;
  top: -34px;
  left: 50%;
  color: rgba(245, 215, 137, 0.46);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.32em;
  transform: translateX(-50%);
  content: "";
  text-shadow: 0 0 18px rgba(126, 76, 189, 0.28);
}

.realms-section {
  overflow: visible;
}

.realms-section .section-heading {
  margin-bottom: 28px;
}

.realms-section .hero-server-grid {
  margin-top: 0;
}

.realms-section .world-card {
  background:
    radial-gradient(circle at 50% -8%, color-mix(in srgb, var(--world-a) 24%, transparent), transparent 18rem),
    linear-gradient(180deg, rgba(8, 7, 18, 0.88), rgba(5, 4, 14, 0.98));
}

.realms-section .world-card::before {
  position: absolute;
  inset: -18% -12%;
  z-index: 0;
  opacity: 0.44;
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--world-a) 30%, transparent), transparent 16rem),
    radial-gradient(circle at 80% 88%, rgba(245, 215, 137, 0.08), transparent 12rem);
  pointer-events: none;
  content: "";
}

.hero-server-grid .world-body,
.hero-server-grid .world-art {
  position: relative;
  z-index: 1;
}

.hero-server-grid .world-card {
  transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.hero-server-grid .world-card:hover {
  transform: translateY(-5px);
}

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

.feature-grid article {
  display: grid;
  gap: 10px;
  padding: 24px 22px;
}

.feature-glyph {
  color: rgba(245, 215, 137, 0.82);
  font-size: 1.05rem;
  line-height: 1;
  text-shadow: 0 0 16px rgba(185, 148, 72, 0.34);
}

.feature-grid h3 {
  margin-bottom: 0;
  color: #f3edf8;
}

.feature-grid p {
  color: #cfc6da;
}

.threshold-section {
  width: min(100%, 980px);
  text-align: center;
}

.threshold-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.threshold-panel p {
  width: min(100%, 720px);
  margin: 0;
  color: #d4cadf;
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.72;
}

.threshold-ip {
  display: grid;
  gap: 7px;
  width: min(100%, 360px);
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(185, 148, 72, 0.28);
  background: rgba(5, 4, 14, 0.52);
}

.threshold-ip span {
  color: rgba(245, 215, 137, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.threshold-ip code {
  color: #f5eff9;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.threshold-section .primary-action {
  width: min(100%, 280px);
  margin-top: 4px;
}

.copy-status {
  min-height: 20px;
  color: rgba(245, 215, 137, 0.86);
  font-size: 0.88rem;
}

@keyframes veilFogDrift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -1%, 0) scale(1.05);
  }
}

@keyframes veilFogSlide {
  from {
    transform: translate3d(-8%, 0, 0);
  }
  to {
    transform: translate3d(8%, 0, 0);
  }
}

@keyframes runeDrift {
  from {
    opacity: 0.12;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  45% {
    opacity: 0.36;
  }
  to {
    opacity: 0.18;
    transform: translate3d(12px, -18px, 0) rotate(6deg);
  }
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 9px 10px 11px;
    gap: 8px;
  }

  .brand-icon {
    width: 44px;
    height: 44px;
  }

  .brand-word strong {
    font-size: 1.34rem;
  }

  .brand-word em {
    font-size: 0.52rem;
  }

  .site-nav a,
  .site-nav a:last-child {
    min-height: 32px;
    padding: 6px 4px;
  }

  .conversion-hero {
    padding: 28px 18px 28px;
  }

  .hero-content {
    margin-top: 12px;
  }

  .conversion-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
    letter-spacing: 0.02em;
  }

  .hero-tagline {
    margin-top: 18px;
    font-size: clamp(1.02rem, 4.4vw, 1.24rem);
  }

  .hero-support {
    font-size: 0.91rem;
    line-height: 1.43;
  }

  .hero-perks {
    display: none;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 6px;
  }

  .primary-action,
  .secondary-action {
    min-height: 44px;
  }

  .rune-particles span:nth-child(n+4) {
    display: none;
  }

  .cinematic-break {
    width: calc(100vw - 20px);
    margin-top: 44px;
    aspect-ratio: 16 / 8;
  }

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

  .page-section::before,
  .discord-panel::before,
  .site-footer::before {
    top: -28px;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
  }

  .threshold-section {
    text-align: left;
  }

  .threshold-panel {
    justify-items: stretch;
  }

  .threshold-section .section-heading {
    justify-self: stretch;
  }

  .threshold-ip,
  .threshold-section .primary-action {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .conversion-hero h1 {
    font-size: clamp(2.32rem, 13.5vw, 3.1rem);
  }

  .hero-tagline {
    font-size: 1.04rem;
  }

  .cinematic-break {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fog,
  .hero-fog::before,
  .hero-fog::after,
  .rune-particles span {
    animation: none;
  }
}

/* Final presentation polish: calmer, more composed, less empty space. */
.page-shell {
  background:
    linear-gradient(90deg, rgba(245, 215, 137, 0.08), transparent 6%, transparent 94%, rgba(126, 76, 189, 0.1)),
    transparent;
}

.site-header {
  border-color: rgba(185, 148, 72, 0.24);
  background:
    radial-gradient(circle at 16% 0%, rgba(126, 76, 189, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(5, 6, 18, 0.91), rgba(5, 6, 18, 0.58)),
    rgba(5, 6, 18, 0.68);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.12) inset,
    0 18px 54px rgba(0, 0, 0, 0.34);
}

.brand-mark::before {
  opacity: 0.58;
  border-color: rgba(185, 148, 72, 0.38);
  box-shadow:
    0 0 22px rgba(126, 76, 189, 0.24),
    0 0 16px rgba(185, 148, 72, 0.12) inset;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.72), transparent);
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.conversion-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(185, 148, 72, 0.34);
  background:
    linear-gradient(180deg, rgba(5, 5, 17, 0.2), rgba(5, 5, 17, 0.72)),
    #050511;
}

.conversion-hero::after {
  border-color: rgba(185, 148, 72, 0.26);
  background:
    linear-gradient(90deg, rgba(245, 215, 137, 0.18), transparent 14%, transparent 86%, rgba(126, 76, 189, 0.18)),
    linear-gradient(180deg, rgba(245, 215, 137, 0.12), transparent 18%, transparent 82%, rgba(126, 76, 189, 0.14));
  background-size: 100% 1px, 1px 100%;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
}

.hero-content::before {
  position: absolute;
  top: 0.2rem;
  bottom: 0.4rem;
  left: -22px;
  width: 1px;
  opacity: 0.58;
  background: linear-gradient(180deg, transparent, rgba(245, 215, 137, 0.68), rgba(126, 76, 189, 0.38), transparent);
  content: "";
}

.hero-content::after {
  position: absolute;
  top: -26px;
  left: -42px;
  width: 140px;
  height: 140px;
  opacity: 0.28;
  border: 1px solid rgba(185, 148, 72, 0.34);
  transform: rotate(45deg);
  pointer-events: none;
  content: "";
}

.conversion-hero .eyebrow {
  color: rgba(245, 215, 137, 0.82);
  font-size: 0.78rem;
}

.conversion-hero h1 {
  letter-spacing: 0.035em;
}

.hero-tagline {
  max-width: 760px;
}

.hero-support {
  max-width: 720px;
}

.cinematic-break {
  border: 1px solid rgba(185, 148, 72, 0.18);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(126, 76, 189, 0.12) inset;
}

.cinematic-break img {
  transition: transform 700ms ease, filter 700ms ease;
}

.cinematic-break:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.1) brightness(0.92);
}

.page-section,
.discord-panel {
  border-color: rgba(185, 148, 72, 0.28);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  color: #e8dafa;
  text-shadow:
    0 0 18px rgba(126, 76, 189, 0.36),
    0 3px 20px rgba(0, 0, 0, 0.68);
}

.hero-server-grid .world-card {
  border-radius: 6px;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 0 34px color-mix(in srgb, var(--world-a) 16%, transparent);
}

.hero-server-grid .world-card::after,
.feature-grid article::after,
.threshold-panel::after {
  position: absolute;
  inset: 0;
  opacity: 0;
  border: 1px solid rgba(245, 215, 137, 0.22);
  pointer-events: none;
  transition: opacity 260ms ease;
  content: "";
}

.hero-server-grid .world-card:hover::after,
.feature-grid article:hover::after {
  opacity: 1;
}

.hero-server-grid .world-art {
  overflow: hidden;
}

.hero-server-grid .world-body {
  background:
    linear-gradient(180deg, rgba(4, 4, 14, 0.12), rgba(4, 4, 14, 0.84)),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--world-a) 16%, transparent), transparent 12rem);
}

.feature-grid article,
.info-grid article {
  border-color: rgba(185, 148, 72, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(126, 76, 189, 0.14), transparent 12rem),
    linear-gradient(180deg, rgba(9, 7, 22, 0.74), rgba(5, 4, 14, 0.86));
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.feature-grid article:hover,
.info-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 148, 72, 0.34);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.threshold-section {
  overflow: hidden;
}

.threshold-panel {
  position: relative;
  padding: clamp(8px, 2vw, 18px) 0;
}

.threshold-panel::before {
  position: absolute;
  inset: -20% 8% auto;
  height: 180px;
  opacity: 0.34;
  background:
    radial-gradient(ellipse at center, rgba(126, 76, 189, 0.26), transparent 68%),
    radial-gradient(ellipse at center, rgba(245, 215, 137, 0.1), transparent 42%);
  filter: blur(14px);
  pointer-events: none;
  content: "";
}

.threshold-panel::after {
  opacity: 0.42;
}

.threshold-ip {
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.08) inset,
    0 14px 32px rgba(0, 0, 0, 0.22);
}

@media (min-width: 761px) {
  .conversion-hero {
    padding-left: clamp(58px, 6vw, 96px);
  }

  .hero-actions {
    margin-top: 34px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 8px;
  }

  .site-header {
    width: 100%;
    border-color: rgba(185, 148, 72, 0.22);
  }

  .site-nav a::after {
    bottom: 5px;
  }

  .conversion-hero {
    min-height: 0;
    align-content: start;
    padding: 58px 18px 24px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .hero-content::before {
    top: -14px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 92px;
    height: 1px;
  }

  .hero-content::after {
    top: -42px;
    left: auto;
    right: 10px;
    width: 72px;
    height: 72px;
    opacity: 0.16;
  }

  .conversion-hero .eyebrow {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .conversion-hero h1 {
    font-size: clamp(2.64rem, 14.5vw, 3.6rem);
    line-height: 0.9;
  }

  .hero-tagline {
    margin-top: 18px;
    font-size: clamp(1rem, 4.2vw, 1.16rem);
    line-height: 1.43;
  }

  .hero-support {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .primary-action,
  .secondary-action {
    min-height: 48px;
  }

  .cinematic-break {
    margin-top: 34px;
    border-inline-color: rgba(126, 76, 189, 0.2);
  }

  .page-section,
  .discord-panel {
    margin-top: 58px;
  }

  .hero-server-grid .world-body {
    padding: 18px;
  }

  .feature-grid article,
  .info-grid article {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .conversion-hero {
    padding-top: 52px;
  }

  .conversion-hero h1 {
    font-size: clamp(2.42rem, 13.8vw, 3.18rem);
  }
}

/* Correction pass: decorated, but not gimmicky; realm cards are normal cards again. */
.rune-particles,
.cinematic-break {
  display: none !important;
}

.page-section::before,
.discord-panel::before,
.site-footer::before {
  display: none !important;
  content: none !important;
}

.page-section,
.discord-panel {
  position: relative;
  margin-top: clamp(46px, 6vw, 74px);
  border-color: rgba(185, 148, 72, 0.32);
  background:
    radial-gradient(circle at 8% 0%, rgba(126, 76, 189, 0.18), transparent 18rem),
    radial-gradient(circle at 94% 12%, rgba(245, 215, 137, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(11, 8, 25, 0.9), rgba(5, 4, 15, 0.96));
}

.page-section::after,
.discord-panel::after {
  position: absolute;
  inset: 10px;
  opacity: 0.5;
  border: 1px solid rgba(126, 76, 189, 0.18);
  pointer-events: none;
  content: "";
}

.section-heading {
  margin-bottom: clamp(24px, 3vw, 34px);
}

.section-heading > span {
  max-width: 180px;
  background:
    linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.62), transparent),
    radial-gradient(circle, rgba(126, 76, 189, 0.45), transparent 60%);
}

.section-heading h2 {
  color: #efe8fb;
  letter-spacing: 0.08em;
}

.realms-section {
  width: min(100%, 1220px);
  overflow: hidden;
}

.realms-section .hero-server-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 26px);
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.hero-server-grid .world-card {
  position: relative;
  display: grid !important;
  grid-template-rows: 220px minmax(0, 1fr) !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--world-a) 16%, transparent), transparent 15rem),
    linear-gradient(180deg, rgba(9, 8, 20, 0.94), rgba(5, 4, 14, 0.98));
}

.hero-server-grid .world-art {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  width: 100%;
  height: 220px;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}

.hero-server-grid .world-art img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.1) brightness(0.9);
}

.hero-server-grid .world-art::after {
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--world-a) 36%, transparent), transparent 9rem),
    linear-gradient(180deg, rgba(3, 4, 13, 0.04), rgba(3, 4, 13, 0.68));
}

.hero-server-grid .world-body {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 0 !important;
  align-content: start !important;
  gap: 14px;
  padding: 24px !important;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--world-a) 14%, transparent), transparent 13rem),
    linear-gradient(180deg, rgba(7, 6, 18, 0.96), rgba(4, 3, 12, 0.98));
}

.hero-server-grid .world-kicker {
  display: block;
  margin: 0;
  color: color-mix(in srgb, var(--world-a) 34%, #f5d789);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-server-grid .world-card h3 {
  color: #fbf6ff;
  font-size: clamp(1.8rem, 2.7vw, 2.35rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-server-grid .world-card p {
  width: 100%;
  color: #d8cedf;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.52;
}

.hero-server-grid .world-tags {
  display: flex;
}

.hero-server-grid .server-ip {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(185, 148, 72, 0.2);
  background: rgba(3, 4, 13, 0.46);
}

.hero-server-grid .server-ip span {
  display: block;
}

.hero-server-grid .server-ip code {
  color: #f4eef8;
  font-size: 0.84rem;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-server-grid .world-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
}

.hero-server-grid .world-button {
  min-width: 0;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 0.66rem;
  white-space: normal;
  line-height: 1.12;
}

.world-magic .world-art img {
  object-position: center 47%;
}

.world-mons .world-art img {
  object-position: center 48%;
}

.world-rpg .world-art img {
  object-position: center 45%;
}

.feature-grid article,
.info-grid article,
.threshold-panel {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .realms-section .hero-server-grid {
    grid-template-columns: 1fr;
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .hero-server-grid .world-card {
    grid-template-rows: minmax(190px, 240px) auto !important;
  }
}

@media (max-width: 760px) {
  .page-section,
  .discord-panel {
    margin-top: 44px;
  }

  .page-section::after,
  .discord-panel::after {
    inset: 7px;
  }

  .realms-section .hero-server-grid {
    width: 100%;
  }

  .hero-server-grid .world-card {
    grid-template-rows: 172px auto !important;
  }

  .hero-server-grid .world-art {
    height: 172px;
  }

  .hero-server-grid .world-body {
    padding: 18px !important;
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .hero-server-grid .world-actions {
    grid-template-columns: 1fr;
  }

  .hero-server-grid .world-button {
    min-height: 44px;
  }
}

/* Final realm-card polish: compact, decorated, and free of poster-layout overflow. */
.realms-section .world-card::before {
  inset: 0 !important;
  opacity: 0.26 !important;
}

.hero-server-grid .world-card {
  contain: paint;
  isolation: isolate;
  grid-template-rows: 188px auto !important;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--world-a) 48%, rgba(185, 148, 72, 0.28));
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 0 34px color-mix(in srgb, var(--world-a) 13%, transparent);
}

.hero-server-grid .world-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(245, 215, 137, 0.12) inset,
    0 0 44px color-mix(in srgb, var(--world-a) 19%, transparent);
}

.hero-server-grid .world-card::after {
  inset: 0 !important;
  border-radius: inherit;
}

.hero-server-grid .world-art {
  height: 188px !important;
  border-bottom: 1px solid rgba(185, 148, 72, 0.14);
}

.hero-server-grid .world-art::before {
  position: absolute;
  inset: 16px;
  z-index: 2;
  opacity: 0.22;
  border: 1px solid rgba(245, 215, 137, 0.3);
  pointer-events: none;
  content: "";
}

.hero-server-grid .world-art::after {
  z-index: 1;
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--world-a) 34%, transparent), transparent 8rem),
    radial-gradient(circle at 86% 0%, rgba(245, 215, 137, 0.1), transparent 9rem),
    linear-gradient(180deg, rgba(3, 4, 13, 0.02), rgba(3, 4, 13, 0.74));
}

.hero-server-grid .world-body {
  gap: 12px;
  padding: 20px !important;
}

.hero-server-grid .world-kicker {
  color: color-mix(in srgb, var(--world-a) 40%, #f2d489);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.hero-server-grid .world-card h3 {
  font-size: clamp(1.48rem, 2vw, 1.95rem);
  line-height: 1.02;
  text-shadow: 0 0 18px color-mix(in srgb, var(--world-a) 22%, transparent);
}

.hero-server-grid .world-card p {
  font-size: 0.94rem;
  line-height: 1.44;
}

.hero-server-grid .world-tags {
  display: none !important;
}

.hero-server-grid .server-ip {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
}

.hero-server-grid .server-ip span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
}

.hero-server-grid .server-ip code {
  font-size: 0.78rem;
}

.hero-server-grid .world-actions {
  gap: 8px;
  margin-top: 2px;
}

.hero-server-grid .world-button {
  min-height: 40px;
  padding: 0 6px;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.hero-server-grid .world-button::after {
  inset: 0 !important;
}

.primary-action::after,
.secondary-action::after,
.info-grid a::after,
.discord-panel .discord-cta::after,
.nav-discord::after {
  inset: 0 !important;
}

.primary-action,
.secondary-action,
.info-grid a,
.discord-panel .discord-cta,
.nav-discord {
  contain: paint;
}

.brand-mark {
  position: relative;
}

.brand-icon,
.brand-glyph {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

.brand-word {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.discord-avatar.avatar-fallback,
.discord-live-icon.avatar-fallback {
  display: inline-grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(245, 215, 137, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(42, 25, 64, 0.92), rgba(12, 35, 42, 0.9));
}

.discord-avatar.avatar-fallback::after,
.discord-live-icon.avatar-fallback::after {
  color: rgba(245, 239, 255, 0.82);
  font: 800 0.58rem var(--sans);
  letter-spacing: 0.04em;
  content: "RV";
}

.discord-role-icon.dot,
.discord-role-mark.dot {
  display: inline-block;
}

/* Discord section polish: wider landscape community panel. */
.discord-panel {
  width: min(100%, 1320px);
  max-width: 1320px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(590px, 1.38fr);
  align-items: stretch;
  gap: clamp(28px, 3.4vw, 56px);
  padding: clamp(30px, 3.8vw, 48px);
  border-color: rgba(185, 148, 72, 0.2);
  background:
    radial-gradient(circle at 22% 8%, rgba(126, 76, 189, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(87, 43, 132, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(7, 7, 18, 0.96), rgba(3, 5, 13, 0.985));
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.12) inset,
    0 22px 58px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(126, 76, 189, 0.08);
}

.discord-panel::after {
  opacity: 0.34;
  border-color: rgba(126, 76, 189, 0.14);
}

.discord-copy {
  grid-template-columns: 72px minmax(0, 1fr);
  align-content: center;
  align-items: start;
  gap: 18px 20px;
  min-width: 0;
  text-align: left;
}

.discord-copy > div:last-of-type {
  align-self: center;
  max-width: 520px;
}

.discord-badge {
  width: 72px;
  height: 72px;
}

.discord-panel .eyebrow {
  color: rgba(205, 184, 135, 0.82);
}

.discord-panel h2 {
  color: #eee8f7;
  font-size: clamp(1.72rem, 2.6vw, 2.55rem);
  line-height: 1;
}

.discord-panel p {
  max-width: 48ch;
  color: #cbc3d7;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  line-height: 1.55;
}

.discord-panel .discord-cta {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 190px;
  margin-top: 8px;
  border-color: rgba(185, 148, 72, 0.38);
  background:
    linear-gradient(90deg, rgba(93, 55, 132, 0.62), rgba(19, 41, 51, 0.62)),
    rgba(7, 6, 18, 0.88);
  color: #eee6fb;
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.05) inset,
    0 0 16px rgba(126, 76, 189, 0.12);
}

.discord-widget-shell {
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  align-self: stretch;
  border-color: rgba(126, 76, 189, 0.28);
  background:
    radial-gradient(circle at 84% 4%, rgba(126, 76, 189, 0.22), transparent 16rem),
    linear-gradient(180deg, rgba(8, 9, 22, 0.99), rgba(3, 7, 16, 0.99) 48%, rgba(5, 4, 13, 0.99)),
    #050611;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 18px 42px rgba(0, 0, 0, 0.44),
    0 0 24px rgba(126, 76, 189, 0.12);
}

.discord-widget-shell::before,
.discord-widget-shell::after {
  opacity: 0.62;
  border-color: rgba(185, 148, 72, 0.34);
}

.discord-live-head {
  min-height: 72px;
  padding: 14px 18px 12px;
  border-bottom-color: rgba(126, 76, 189, 0.18);
  background:
    linear-gradient(90deg, rgba(126, 76, 189, 0.16), transparent 34%, rgba(185, 148, 72, 0.06)),
    rgba(5, 9, 19, 0.96);
}

.discord-live-kicker,
.discord-channel-mark,
.discord-live-button {
  color: #c9a94d;
}

.discord-live-icon {
  width: 40px;
  height: 40px;
  border-color: rgba(185, 148, 72, 0.24);
  box-shadow:
    0 0 0 2px rgba(126, 76, 189, 0.1),
    0 0 16px rgba(126, 76, 189, 0.2);
}

.discord-live-body {
  min-height: 286px;
  max-height: 286px;
  margin: 10px;
  padding: 10px;
  border-color: rgba(126, 76, 189, 0.15);
  background:
    linear-gradient(180deg, rgba(3, 9, 18, 0.72), rgba(4, 4, 12, 0.68)),
    rgba(3, 6, 13, 0.86);
  scrollbar-color: rgba(126, 76, 189, 0.46) rgba(255, 255, 255, 0.04);
}

.discord-live-footer {
  display: none;
}

.discord-channel {
  border-color: rgba(185, 148, 72, 0.12);
  background:
    linear-gradient(90deg, rgba(185, 148, 72, 0.045), transparent),
    rgba(3, 9, 18, 0.72);
}

.discord-role-group-head {
  background:
    linear-gradient(90deg, rgba(4, 4, 12, 0.98), rgba(4, 4, 12, 0.86) 72%, transparent);
}

@media (max-width: 1120px) {
  .discord-panel {
    grid-template-columns: 1fr;
    width: min(100%, 820px);
  }

  .discord-copy {
    align-content: start;
  }

  .discord-widget-shell {
    min-height: 0;
  }

  .discord-live-body {
    min-height: 320px;
    max-height: 320px;
  }
}

@media (max-width: 760px) {
  .discord-panel {
    width: 100%;
    padding: 22px 16px;
    gap: 20px;
  }

  .discord-copy {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .discord-copy > div:last-of-type {
    max-width: 100%;
  }

  .discord-panel p {
    max-width: 100%;
  }

  .discord-panel .discord-cta {
    justify-self: center;
    width: min(100%, 260px);
  }

  .discord-widget-shell {
    width: 100%;
  }

  .discord-live-head {
    align-items: center;
    text-align: left;
  }

  .discord-live-brand {
    justify-items: start;
    text-align: left;
  }

  .discord-live-body {
    min-height: 300px;
    max-height: 300px;
  }
}

/* Final identity depth overrides. Keep these last. */
.page-shell {
  width: min(100%, 1240px);
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(185, 148, 72, 0.28) 18%, rgba(126, 76, 189, 0.18) 50%, rgba(185, 148, 72, 0.2) 82%, transparent);
  content: "";
  pointer-events: none;
}

.page-shell::before {
  left: max(18px, calc((100vw - 1240px) / 2));
}

.page-shell::after {
  right: max(18px, calc((100vw - 1240px) / 2));
}

.site-header {
  min-height: 92px;
  border-bottom: 1px solid rgba(185, 148, 72, 0.14);
  background:
    linear-gradient(180deg, rgba(5, 5, 17, 0.96), rgba(8, 6, 22, 0.72) 68%, rgba(8, 6, 22, 0));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.brand-mark::before {
  border-color: rgba(245, 215, 137, 0.48);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.22),
    0 0 26px rgba(126, 76, 189, 0.34) inset,
    0 0 34px rgba(126, 76, 189, 0.28);
}

.conversion-hero {
  min-height: clamp(780px, 94vh, 1020px);
  border-inline: 1px solid rgba(185, 148, 72, 0.12);
}

.conversion-hero::before {
  opacity: 0.88;
  background:
    linear-gradient(90deg, rgba(2, 2, 10, 0.9), rgba(2, 2, 10, 0.22) 28%, rgba(2, 2, 10, 0.1) 50%, rgba(2, 2, 10, 0.24) 72%, rgba(2, 2, 10, 0.92)),
    linear-gradient(180deg, rgba(2, 2, 10, 0.08), rgba(2, 2, 10, 0.18) 42%, rgba(2, 2, 10, 0.9));
}

.hero-backdrop {
  filter: saturate(1.16) contrast(1.08) brightness(0.98);
}

.hero-content {
  width: min(100%, 760px);
}

.hero-content::before,
.hero-content::after {
  display: block;
  width: min(280px, 62vw);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.58), rgba(126, 76, 189, 0.35), transparent);
  content: "";
}

.hero-content::before {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero-content::after {
  margin-top: clamp(28px, 3.4vw, 42px);
}

.conversion-hero .eyebrow,
.discord-panel .eyebrow,
.banned-summary .eyebrow {
  color: rgba(245, 215, 137, 0.86);
  letter-spacing: 0.26em;
}

.conversion-hero h1 {
  text-shadow:
    0 0 16px rgba(245, 215, 137, 0.18),
    0 0 34px rgba(126, 76, 189, 0.44),
    0 4px 24px rgba(0, 0, 0, 0.92);
}

.hero-statement {
  color: #fff9ff;
  text-shadow:
    0 0 18px rgba(126, 76, 189, 0.34),
    0 5px 22px rgba(0, 0, 0, 0.88);
}

.hero-perks {
  background: rgba(7, 6, 18, 0.34);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.06) inset,
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.primary-action,
.secondary-action,
.discord-panel .discord-cta,
.nav-discord,
.hero-server-grid .world-button,
.collapse-toggle {
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 12px 24px rgba(0, 0, 0, 0.26);
}

.page-section,
.discord-panel {
  border-color: rgba(185, 148, 72, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 9, 31, 0.86), rgba(5, 5, 16, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 54px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(126, 76, 189, 0.1) inset,
    0 0 44px rgba(126, 76, 189, 0.08);
}

.page-section::before,
.discord-panel::before {
  top: -28px;
  height: 13px;
  border: 0;
  opacity: 0.8;
  background:
    linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.44), transparent),
    linear-gradient(90deg, transparent 43%, rgba(126, 76, 189, 0.8) 43% 57%, transparent 57%);
  clip-path: polygon(0 46%, 43% 46%, 50% 0, 57% 46%, 100% 46%, 100% 54%, 57% 54%, 50% 100%, 43% 54%, 0 54%);
}

.section-heading h2 {
  color: #faf4ff;
  text-shadow:
    0 0 16px rgba(126, 76, 189, 0.3),
    0 3px 18px rgba(0, 0, 0, 0.82);
}

.section-heading > span {
  opacity: 0.86;
  background:
    linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.54), rgba(126, 76, 189, 0.28), transparent);
}

.realms-section {
  background:
    linear-gradient(180deg, rgba(18, 11, 36, 0.86), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, color-mix(in srgb, #8d6a93 16%, transparent), transparent 28%, transparent 72%, color-mix(in srgb, #6f334f 18%, transparent));
}

.world-magic {
  --world-a: #ad78b8;
  --world-b: #d5ac63;
  --world-c: #453452;
}

.world-mons {
  --world-a: #5db4d6;
  --world-b: #c7b071;
  --world-c: #233d59;
}

.world-rpg {
  --world-a: #9b405a;
  --world-b: #9a7fbc;
  --world-c: #2c1728;
}

.hero-server-grid .world-card {
  grid-template-rows: 226px auto !important;
  border-color: color-mix(in srgb, var(--world-a) 54%, rgba(245, 215, 137, 0.36));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-c) 46%, #090817), #050510 76%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(245, 215, 137, 0.1) inset,
    0 0 34px color-mix(in srgb, var(--world-a) 16%, transparent);
}

.hero-server-grid .world-card::before {
  opacity: 0.38 !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--world-a) 18%, transparent), transparent 34%),
    linear-gradient(315deg, color-mix(in srgb, var(--world-b) 10%, transparent), transparent 38%) !important;
}

.hero-server-grid .world-card::after {
  border: 1px solid color-mix(in srgb, var(--world-b) 15%, transparent);
  background:
    linear-gradient(135deg, rgba(245, 215, 137, 0.16), transparent 18%) top left / 86px 86px no-repeat,
    linear-gradient(315deg, rgba(245, 215, 137, 0.1), transparent 20%) bottom right / 90px 90px no-repeat;
  opacity: 0.7;
}

.hero-server-grid .world-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--world-b) 48%, var(--world-a));
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(245, 215, 137, 0.15) inset,
    0 0 44px color-mix(in srgb, var(--world-a) 24%, transparent);
}

.hero-server-grid .world-art {
  height: 226px !important;
  border-bottom-color: color-mix(in srgb, var(--world-b) 24%, transparent);
}

.hero-server-grid .world-art::before {
  inset: 12px;
  opacity: 0.24;
  border-color: color-mix(in srgb, var(--world-b) 32%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--world-a) 12%, transparent), transparent 28%),
    linear-gradient(315deg, rgba(245, 215, 137, 0.08), transparent 34%);
}

.hero-server-grid .world-art::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(3, 4, 12, 0.44)),
    linear-gradient(90deg, rgba(3, 4, 12, 0.14), transparent 24%, transparent 76%, rgba(3, 4, 12, 0.12));
  box-shadow:
    inset 0 -44px 42px rgba(3, 4, 12, 0.42),
    inset 0 0 42px color-mix(in srgb, var(--world-a) 10%, transparent);
}

.hero-server-grid .world-art img,
.world-magic .world-art img,
.world-mons .world-art img,
.world-rpg .world-art img {
  filter: saturate(1.12) contrast(1.06) brightness(1.06);
}

.hero-server-grid .world-body {
  padding: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-c) 28%, rgba(8, 7, 18, 0.88)), rgba(5, 5, 14, 0.98)),
    linear-gradient(90deg, color-mix(in srgb, var(--world-a) 8%, transparent), transparent);
}

.hero-server-grid .world-kicker {
  position: relative;
  padding-left: 14px;
  color: color-mix(in srgb, var(--world-b) 76%, #fff7ff);
  font-size: clamp(0.92rem, 1.1vw, 1.06rem);
}

.hero-server-grid .world-kicker::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--world-b), color-mix(in srgb, var(--world-a) 72%, transparent));
  content: "";
}

.hero-server-grid .world-card h3 {
  color: #fff8ff;
  text-shadow:
    0 0 16px color-mix(in srgb, var(--world-a) 26%, transparent),
    0 4px 18px rgba(0, 0, 0, 0.84);
}

.hero-server-grid .world-tags {
  gap: 7px;
}

.hero-server-grid .world-tags li {
  border: 1px solid color-mix(in srgb, var(--world-b) 28%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-a) 16%, rgba(255, 255, 255, 0.03)), rgba(5, 5, 14, 0.42));
  color: rgba(244, 237, 248, 0.9);
  box-shadow: 0 0 18px color-mix(in srgb, var(--world-a) 12%, transparent) inset;
}

.hero-server-grid .server-ip {
  border-color: color-mix(in srgb, var(--world-b) 24%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--world-a) 16%, transparent), rgba(5, 5, 14, 0.46));
}

.hero-server-grid .server-ip code {
  color: #fff4c9;
}

.join-section {
  background:
    linear-gradient(180deg, rgba(12, 8, 28, 0.88), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, rgba(185, 148, 72, 0.06), transparent, rgba(126, 76, 189, 0.08));
}

.join-steps {
  position: relative;
}

.join-steps::before {
  position: absolute;
  top: 32px;
  right: 13%;
  left: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.34), rgba(126, 76, 189, 0.26), transparent);
  content: "";
  pointer-events: none;
}

.join-steps article {
  position: relative;
  overflow: hidden;
  border-color: rgba(185, 148, 72, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 10, 28, 0.78), rgba(6, 6, 16, 0.78)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.08), transparent 46%);
}

.join-steps article > span {
  background: rgba(7, 6, 18, 0.9);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 0 22px rgba(126, 76, 189, 0.18);
}

.features-section {
  background:
    linear-gradient(180deg, rgba(10, 8, 24, 0.88), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, rgba(126, 76, 189, 0.08), transparent 48%, rgba(185, 148, 72, 0.05));
}

.features-section .feature-grid article {
  position: relative;
  min-height: 232px;
  padding: 22px 18px;
  border-color: rgba(185, 148, 72, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 11, 30, 0.82), rgba(6, 6, 17, 0.8)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.1), transparent 42%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.features-section .feature-grid article::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.4), transparent);
  content: "";
}

.features-section .feature-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 148, 72, 0.32);
  background-color: rgba(13, 10, 29, 0.88);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(126, 76, 189, 0.08);
}

.feature-glyph {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 148, 72, 0.32);
  background: rgba(126, 76, 189, 0.1);
  color: rgba(245, 215, 137, 0.86);
  box-shadow: 0 0 18px rgba(126, 76, 189, 0.12) inset;
}

.discord-panel {
  background:
    linear-gradient(90deg, rgba(12, 9, 29, 0.94), rgba(7, 7, 18, 0.9)),
    linear-gradient(135deg, rgba(88, 101, 242, 0.1), transparent 38%, rgba(185, 148, 72, 0.05));
}

.discord-badge {
  border-color: rgba(245, 215, 137, 0.28);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.22),
    0 0 28px rgba(126, 76, 189, 0.22);
}

.discord-widget-shell {
  border-color: rgba(126, 76, 189, 0.36);
  background:
    linear-gradient(180deg, rgba(11, 10, 23, 0.94), rgba(4, 5, 12, 0.98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(245, 215, 137, 0.04) inset,
    0 0 32px rgba(126, 76, 189, 0.1);
}

.info-grid article,
.banned-summary {
  border-color: rgba(185, 148, 72, 0.18);
  background:
    linear-gradient(180deg, rgba(13, 10, 28, 0.74), rgba(6, 6, 16, 0.72)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.08), transparent 45%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.threshold-section {
  background:
    linear-gradient(180deg, rgba(7, 6, 18, 0.86), rgba(3, 3, 11, 0.94)),
    url("assets/runeveil-banner.png") center 42% / cover;
  background-blend-mode: normal, soft-light;
}

.threshold-panel {
  overflow: hidden;
  border-color: rgba(245, 215, 137, 0.26);
  background:
    linear-gradient(180deg, rgba(10, 8, 24, 0.88), rgba(4, 4, 13, 0.94)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.12), transparent 46%, rgba(185, 148, 72, 0.06));
}

.threshold-panel::before {
  opacity: 0.8;
  background:
    linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.32), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px);
}

.threshold-ip {
  border-color: rgba(185, 148, 72, 0.3);
  background:
    linear-gradient(90deg, rgba(126, 76, 189, 0.12), rgba(5, 5, 14, 0.72));
}

@media (max-width: 1100px) {
  .hero-server-grid .world-card {
    grid-template-rows: 204px auto !important;
  }

  .hero-server-grid .world-art {
    height: 204px !important;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }
}

/* True final header lockup: keeps the logo, nav, and Discord CTA separated. */
.site-header {
  display: grid !important;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 84px;
  padding: 10px 0;
  overflow: visible;
}

.brand-mark {
  position: relative;
  grid-column: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: min(34vw, 330px);
  min-width: 0;
  height: auto;
  justify-self: start;
}

.brand-icon {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
}

.brand-mark::before {
  position: absolute;
  top: 50%;
  left: 31px;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand-glyph {
  position: absolute;
  top: 50%;
  left: 31px;
  transform: translate(-50%, -50%);
}

.brand-word strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(1.75rem, 2.65vw, 2.28rem);
  line-height: 0.92;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-word em {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.8vw, 28px);
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: clamp(0.74rem, 0.88vw, 0.86rem);
  line-height: 1;
}

.site-nav a {
  min-width: 0;
  padding: 22px 0;
  white-space: nowrap;
}

.nav-discord {
  grid-column: auto;
  min-width: 0;
  min-height: 50px;
  padding: 0 clamp(18px, 2vw, 24px);
  justify-self: end;
  border-color: rgba(212, 175, 55, 0.52);
  background:
    linear-gradient(90deg, rgba(76, 39, 118, 0.82), rgba(19, 14, 38, 0.9)),
    rgba(10, 8, 24, 0.95);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.16) inset,
    0 0 20px rgba(126, 76, 189, 0.18);
  font-size: 0.82rem;
  white-space: nowrap;
}

.nav-discord::before {
  margin-right: 10px;
  color: rgba(255, 247, 207, 0.96);
  content: "\25C6";
  font-size: 0.68em;
}

.site-header:not(:has(.nav-discord)) {
  grid-template-columns: auto minmax(0, 1fr);
}

.site-header:not(:has(.nav-discord)) .brand-mark {
  max-width: 76px;
}

.site-header:not(:has(.nav-discord)) .site-nav {
  justify-content: flex-end;
}

@media (max-width: 1240px) {
  .site-header:has(.nav-discord) {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    row-gap: 8px;
  }

  .site-header:has(.nav-discord) .nav-discord {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header:has(.nav-discord) .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header:not(:has(.nav-discord)) {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 8px;
  }

  .site-nav,
  .site-header:not(:has(.nav-discord)) .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding: 8px 2px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-discord {
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    padding-inline: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
  }

  .brand-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .brand-mark::before {
    left: 27px;
    width: 50px;
    height: 50px;
  }

  .brand-glyph {
    left: 27px;
  }

  .brand-word {
    display: none;
  }

  .nav-discord {
    font-size: 0.72rem;
  }
}

/* Final header correction: prevent logo/nav/CTA crowding on all pages. */
.site-header {
  display: flex;
  grid-template-columns: none;
  gap: clamp(18px, 2.2vw, 34px);
  justify-content: space-between;
  min-height: 90px;
  padding: 8px 0 12px;
}

.brand-mark {
  position: relative;
  grid-column: auto;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  width: auto;
  min-width: 0;
  height: auto;
  font-size: 34px;
}

.brand-icon {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

.brand-mark::before {
  position: absolute;
  top: 50%;
  left: 32px;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand-glyph {
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translate(-50%, -50%);
}

.brand-word {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1;
}

.brand-word strong {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 0.92;
  white-space: nowrap;
}

.brand-word em {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  white-space: nowrap;
}

.site-nav {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  width: auto;
  min-width: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(0.76rem, 0.98vw, 0.9rem);
  font-weight: 800;
}

.site-nav a {
  flex: 0 1 auto;
  min-width: 0;
  padding-inline: 0;
  white-space: nowrap;
}

.nav-discord {
  flex: 0 0 auto;
  min-width: 190px;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 14px;
  }

  .brand-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .brand-mark::before {
    left: 28px;
    width: 52px;
    height: 52px;
  }

  .brand-glyph {
    left: 28px;
  }

  .brand-word strong {
    font-size: clamp(1.45rem, 2.5vw, 1.92rem);
  }

  .brand-word em {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.76rem;
  }

  .nav-discord {
    min-width: 166px;
    padding-inline: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .brand-mark {
    grid-column: 1;
  }

  .nav-discord {
    grid-column: 2;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
    padding: 6px 2px 0;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-shell::before,
  .page-shell::after {
    display: none;
  }

  .site-header {
    min-height: 76px;
  }

  .hero-content::before,
  .hero-content::after {
    width: min(210px, 70vw);
  }

  .hero-server-grid .world-card {
    grid-template-rows: 178px auto !important;
  }

  .hero-server-grid .world-art {
    height: 178px !important;
  }

  .hero-server-grid .world-body {
    padding: 18px;
  }

  .hero-server-grid .world-kicker {
    font-size: 0.9rem;
  }

  .join-steps::before {
    display: none;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }
}

/* Final header lockup: keeps the logo, nav, and Discord CTA from crowding. */
.site-header {
  display: grid !important;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 84px;
  padding: 10px 0;
  overflow: visible;
}

.brand-mark {
  position: relative;
  grid-column: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: min(34vw, 330px);
  min-width: 0;
  height: auto;
  justify-self: start;
}

.brand-icon {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
}

.brand-mark::before {
  position: absolute;
  top: 50%;
  left: 31px;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand-glyph {
  position: absolute;
  top: 50%;
  left: 31px;
  transform: translate(-50%, -50%);
}

.brand-word {
  min-width: 0;
}

.brand-word strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(1.75rem, 2.65vw, 2.28rem);
  line-height: 0.92;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-word em {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  grid-column: auto;
  grid-row: auto;
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.8vw, 28px);
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: clamp(0.74rem, 0.88vw, 0.86rem);
  line-height: 1;
}

.site-nav a {
  min-width: 0;
  padding: 22px 0;
  white-space: nowrap;
}

.nav-discord {
  grid-column: auto;
  min-width: 0;
  min-height: 50px;
  padding: 0 clamp(18px, 2vw, 24px);
  justify-self: end;
  border-color: rgba(212, 175, 55, 0.52);
  background:
    linear-gradient(90deg, rgba(76, 39, 118, 0.82), rgba(19, 14, 38, 0.9)),
    rgba(10, 8, 24, 0.95);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.16) inset,
    0 0 20px rgba(126, 76, 189, 0.18);
  font-size: 0.82rem;
  white-space: nowrap;
}

.nav-discord::before {
  margin-right: 10px;
  color: rgba(255, 247, 207, 0.96);
  content: "\25C6";
  font-size: 0.68em;
}

.site-header:not(:has(.nav-discord)) {
  grid-template-columns: auto minmax(0, 1fr);
}

.site-header:not(:has(.nav-discord)) .brand-mark {
  max-width: 76px;
}

.site-header:not(:has(.nav-discord)) .site-nav {
  justify-content: flex-end;
}

@media (max-width: 1240px) {
  .site-header:has(.nav-discord) {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    row-gap: 8px;
  }

  .site-header:has(.nav-discord) .nav-discord {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header:has(.nav-discord) .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header:not(:has(.nav-discord)) {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 8px;
  }

  .site-nav,
  .site-header:not(:has(.nav-discord)) .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding: 8px 2px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-discord {
    grid-column: 2;
    grid-row: 1;
    min-height: 44px;
    padding-inline: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
  }

  .brand-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .brand-mark::before {
    left: 27px;
    width: 50px;
    height: 50px;
  }

  .brand-glyph {
    left: 27px;
  }

  .brand-word {
    display: none;
  }

  .nav-discord {
    font-size: 0.72rem;
  }
}

/* Identity depth pass: richer RuneVeil atmosphere without changing the page structure. */
.page-shell {
  width: min(100%, 1240px);
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 1px;
  background:
    linear-gradient(180deg, transparent, rgba(185, 148, 72, 0.28) 18%, rgba(126, 76, 189, 0.18) 50%, rgba(185, 148, 72, 0.2) 82%, transparent);
  content: "";
  pointer-events: none;
}

.page-shell::before {
  left: max(18px, calc((100vw - 1240px) / 2));
}

.page-shell::after {
  right: max(18px, calc((100vw - 1240px) / 2));
}

.site-header {
  min-height: 92px;
  border-bottom: 1px solid rgba(185, 148, 72, 0.14);
  background:
    linear-gradient(180deg, rgba(5, 5, 17, 0.96), rgba(8, 6, 22, 0.72) 68%, rgba(8, 6, 22, 0));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.brand-mark::before {
  border-color: rgba(245, 215, 137, 0.48);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.22),
    0 0 26px rgba(126, 76, 189, 0.34) inset,
    0 0 34px rgba(126, 76, 189, 0.28);
}

.conversion-hero {
  min-height: clamp(780px, 94vh, 1020px);
  border-inline: 1px solid rgba(185, 148, 72, 0.12);
}

.conversion-hero::before {
  opacity: 0.88;
  background:
    linear-gradient(90deg, rgba(2, 2, 10, 0.9), rgba(2, 2, 10, 0.22) 28%, rgba(2, 2, 10, 0.1) 50%, rgba(2, 2, 10, 0.24) 72%, rgba(2, 2, 10, 0.92)),
    linear-gradient(180deg, rgba(2, 2, 10, 0.08), rgba(2, 2, 10, 0.18) 42%, rgba(2, 2, 10, 0.9));
}

.hero-backdrop {
  filter: saturate(1.16) contrast(1.08) brightness(0.98);
}

.hero-content {
  width: min(100%, 760px);
}

.hero-content::before,
.hero-content::after {
  display: block;
  width: min(280px, 62vw);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.58), rgba(126, 76, 189, 0.35), transparent);
  content: "";
}

.hero-content::before {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero-content::after {
  margin-top: clamp(28px, 3.4vw, 42px);
}

.conversion-hero .eyebrow,
.discord-panel .eyebrow,
.banned-summary .eyebrow {
  color: rgba(245, 215, 137, 0.86);
  letter-spacing: 0.26em;
}

.conversion-hero h1 {
  text-shadow:
    0 0 16px rgba(245, 215, 137, 0.18),
    0 0 34px rgba(126, 76, 189, 0.44),
    0 4px 24px rgba(0, 0, 0, 0.92);
}

.hero-statement {
  color: #fff9ff;
  text-shadow:
    0 0 18px rgba(126, 76, 189, 0.34),
    0 5px 22px rgba(0, 0, 0, 0.88);
}

.hero-perks {
  background: rgba(7, 6, 18, 0.34);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.06) inset,
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.primary-action,
.secondary-action,
.discord-panel .discord-cta,
.nav-discord,
.hero-server-grid .world-button,
.collapse-toggle {
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 12px 24px rgba(0, 0, 0, 0.26);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible,
.discord-panel .discord-cta:hover,
.discord-panel .discord-cta:focus-visible,
.nav-discord:hover,
.nav-discord:focus-visible,
.hero-server-grid .world-button:hover,
.hero-server-grid .world-button:focus-visible {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.2) inset,
    0 16px 32px rgba(0, 0, 0, 0.34),
    0 0 28px color-mix(in srgb, var(--violet) 20%, transparent);
}

.page-section,
.discord-panel {
  border-color: rgba(185, 148, 72, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 9, 31, 0.86), rgba(5, 5, 16, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 54px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(126, 76, 189, 0.1) inset,
    0 0 44px rgba(126, 76, 189, 0.08);
}

.page-section::before,
.discord-panel::before {
  height: 13px;
  border: 0;
  opacity: 0.8;
  background:
    linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.44), transparent),
    linear-gradient(90deg, transparent 43%, rgba(126, 76, 189, 0.8) 43% 57%, transparent 57%);
  clip-path: polygon(0 46%, 43% 46%, 50% 0, 57% 46%, 100% 46%, 100% 54%, 57% 54%, 50% 100%, 43% 54%, 0 54%);
}

.section-heading h2 {
  color: #faf4ff;
  text-shadow:
    0 0 16px rgba(126, 76, 189, 0.3),
    0 3px 18px rgba(0, 0, 0, 0.82);
}

.section-heading > span {
  opacity: 0.86;
  background:
    linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.54), rgba(126, 76, 189, 0.28), transparent);
}

.realms-section {
  background:
    linear-gradient(180deg, rgba(18, 11, 36, 0.86), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, color-mix(in srgb, #8d6a93 16%, transparent), transparent 28%, transparent 72%, color-mix(in srgb, #6f334f 18%, transparent));
}

.hero-server-grid .world-card {
  grid-template-rows: 226px auto !important;
  border-color: color-mix(in srgb, var(--world-a) 54%, rgba(245, 215, 137, 0.36));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-c) 46%, #090817), #050510 76%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(245, 215, 137, 0.1) inset,
    0 0 34px color-mix(in srgb, var(--world-a) 16%, transparent);
}

.hero-server-grid .world-card::before {
  opacity: 0.38 !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--world-a) 18%, transparent), transparent 34%),
    linear-gradient(315deg, color-mix(in srgb, var(--world-b) 10%, transparent), transparent 38%) !important;
}

.hero-server-grid .world-card::after {
  border: 1px solid color-mix(in srgb, var(--world-b) 15%, transparent);
  background:
    linear-gradient(135deg, rgba(245, 215, 137, 0.16), transparent 18%) top left / 86px 86px no-repeat,
    linear-gradient(315deg, rgba(245, 215, 137, 0.1), transparent 20%) bottom right / 90px 90px no-repeat;
  opacity: 0.7;
}

.hero-server-grid .world-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--world-b) 48%, var(--world-a));
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(245, 215, 137, 0.15) inset,
    0 0 44px color-mix(in srgb, var(--world-a) 24%, transparent);
}

.hero-server-grid .world-art {
  height: 226px !important;
  border-bottom-color: color-mix(in srgb, var(--world-b) 24%, transparent);
}

.hero-server-grid .world-art::before {
  inset: 12px;
  opacity: 0.24;
  border-color: color-mix(in srgb, var(--world-b) 32%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--world-a) 12%, transparent), transparent 28%),
    linear-gradient(315deg, rgba(245, 215, 137, 0.08), transparent 34%);
}

.hero-server-grid .world-art::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(3, 4, 12, 0.44)),
    linear-gradient(90deg, rgba(3, 4, 12, 0.14), transparent 24%, transparent 76%, rgba(3, 4, 12, 0.12));
  box-shadow:
    inset 0 -44px 42px rgba(3, 4, 12, 0.42),
    inset 0 0 42px color-mix(in srgb, var(--world-a) 10%, transparent);
}

.hero-server-grid .world-art img {
  filter: saturate(1.12) contrast(1.06) brightness(1.06);
}

.hero-server-grid .world-body {
  padding: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-c) 28%, rgba(8, 7, 18, 0.88)), rgba(5, 5, 14, 0.98)),
    linear-gradient(90deg, color-mix(in srgb, var(--world-a) 8%, transparent), transparent);
}

.hero-server-grid .world-kicker {
  position: relative;
  padding-left: 14px;
  color: color-mix(in srgb, var(--world-b) 76%, #fff7ff);
  font-size: clamp(0.92rem, 1.1vw, 1.06rem);
}

.hero-server-grid .world-kicker::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--world-b), color-mix(in srgb, var(--world-a) 72%, transparent));
  content: "";
}

.hero-server-grid .world-card h3 {
  color: #fff8ff;
  text-shadow:
    0 0 16px color-mix(in srgb, var(--world-a) 26%, transparent),
    0 4px 18px rgba(0, 0, 0, 0.84);
}

.hero-server-grid .world-tags {
  gap: 7px;
}

.hero-server-grid .world-tags li {
  border: 1px solid color-mix(in srgb, var(--world-b) 28%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-a) 16%, rgba(255, 255, 255, 0.03)), rgba(5, 5, 14, 0.42));
  color: rgba(244, 237, 248, 0.9);
  box-shadow: 0 0 18px color-mix(in srgb, var(--world-a) 12%, transparent) inset;
}

.hero-server-grid .server-ip {
  border-color: color-mix(in srgb, var(--world-b) 24%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--world-a) 16%, transparent), rgba(5, 5, 14, 0.46));
}

.hero-server-grid .server-ip code {
  color: #fff4c9;
}

.world-magic {
  --world-a: #ad78b8;
  --world-b: #d5ac63;
  --world-c: #453452;
}

.world-mons {
  --world-a: #5db4d6;
  --world-b: #c7b071;
  --world-c: #233d59;
}

.world-rpg {
  --world-a: #9b405a;
  --world-b: #9a7fbc;
  --world-c: #2c1728;
}

.join-section {
  background:
    linear-gradient(180deg, rgba(12, 8, 28, 0.88), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, rgba(185, 148, 72, 0.06), transparent, rgba(126, 76, 189, 0.08));
}

.join-steps {
  position: relative;
}

.join-steps::before {
  position: absolute;
  top: 32px;
  right: 13%;
  left: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.34), rgba(126, 76, 189, 0.26), transparent);
  content: "";
  pointer-events: none;
}

.join-steps article {
  position: relative;
  overflow: hidden;
  border-color: rgba(185, 148, 72, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 10, 28, 0.78), rgba(6, 6, 16, 0.78)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.08), transparent 46%);
}

.join-steps article > span {
  background: rgba(7, 6, 18, 0.9);
  box-shadow:
    0 0 0 1px rgba(245, 215, 137, 0.08) inset,
    0 0 22px rgba(126, 76, 189, 0.18);
}

.features-section {
  background:
    linear-gradient(180deg, rgba(10, 8, 24, 0.88), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, rgba(126, 76, 189, 0.08), transparent 48%, rgba(185, 148, 72, 0.05));
}

.features-section .feature-grid article {
  position: relative;
  min-height: 232px;
  padding: 22px 18px;
  border-color: rgba(185, 148, 72, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 11, 30, 0.82), rgba(6, 6, 17, 0.8)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.1), transparent 42%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.features-section .feature-grid article::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.4), transparent);
  content: "";
}

.features-section .feature-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 148, 72, 0.32);
  background-color: rgba(13, 10, 29, 0.88);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(126, 76, 189, 0.08);
}

.feature-glyph {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 148, 72, 0.32);
  background: rgba(126, 76, 189, 0.1);
  color: rgba(245, 215, 137, 0.86);
  box-shadow: 0 0 18px rgba(126, 76, 189, 0.12) inset;
}

.discord-panel {
  background:
    linear-gradient(90deg, rgba(12, 9, 29, 0.94), rgba(7, 7, 18, 0.9)),
    linear-gradient(135deg, rgba(88, 101, 242, 0.1), transparent 38%, rgba(185, 148, 72, 0.05));
}

.discord-badge {
  border-color: rgba(245, 215, 137, 0.28);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.22),
    0 0 28px rgba(126, 76, 189, 0.22);
}

.discord-widget-shell {
  border-color: rgba(126, 76, 189, 0.36);
  background:
    linear-gradient(180deg, rgba(11, 10, 23, 0.94), rgba(4, 5, 12, 0.98));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(245, 215, 137, 0.04) inset,
    0 0 32px rgba(126, 76, 189, 0.1);
}

.info-grid article,
.banned-summary {
  border-color: rgba(185, 148, 72, 0.18);
  background:
    linear-gradient(180deg, rgba(13, 10, 28, 0.74), rgba(6, 6, 16, 0.72)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.08), transparent 45%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.threshold-section {
  background:
    linear-gradient(180deg, rgba(7, 6, 18, 0.86), rgba(3, 3, 11, 0.94)),
    url("assets/runeveil-banner.png") center 42% / cover;
  background-blend-mode: normal, soft-light;
}

.threshold-panel {
  overflow: hidden;
  border-color: rgba(245, 215, 137, 0.26);
  background:
    linear-gradient(180deg, rgba(10, 8, 24, 0.88), rgba(4, 4, 13, 0.94)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.12), transparent 46%, rgba(185, 148, 72, 0.06));
}

.threshold-panel::before {
  opacity: 0.8;
  background:
    linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.32), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 28px);
}

.threshold-ip {
  border-color: rgba(185, 148, 72, 0.3);
  background:
    linear-gradient(90deg, rgba(126, 76, 189, 0.12), rgba(5, 5, 14, 0.72));
}

@media (max-width: 1100px) {
  .hero-server-grid .world-card {
    grid-template-rows: 204px auto !important;
  }

  .hero-server-grid .world-art {
    height: 204px !important;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .page-shell::before,
  .page-shell::after {
    display: none;
  }

  .site-header {
    min-height: 76px;
  }

  .hero-content::before,
  .hero-content::after {
    width: min(210px, 70vw);
  }

  .hero-server-grid .world-card {
    grid-template-rows: 178px auto !important;
  }

  .hero-server-grid .world-art {
    height: 178px !important;
  }

  .hero-server-grid .world-body {
    padding: 18px;
  }

  .hero-server-grid .world-kicker {
    font-size: 0.9rem;
  }

  .join-steps::before {
    display: none;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }
}

@media (max-width: 360px) {
  .discord-member-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .discord-member-name,
  .discord-member-activity {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .discord-role.compact {
    width: 20px;
  }
}

/* Copy and pacing refinement: more breathing room without changing the layout. */
.hero-support {
  width: min(100%, 720px);
  line-height: 1.62;
}

.hero-perks {
  grid-template-columns: repeat(2, minmax(0, auto));
  justify-content: start;
  width: fit-content;
  max-width: 100%;
}

.page-section,
.discord-panel {
  margin-top: clamp(58px, 7vw, 92px);
}

.join-section .section-intro {
  margin-bottom: clamp(24px, 3vw, 34px);
}

@media (max-width: 760px) {
  .hero-perks {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .page-section,
  .discord-panel {
    margin-top: 52px;
  }
}

@media (max-width: 1100px) {
  .hero-server-grid .world-card {
    grid-template-rows: 176px auto !important;
  }

  .hero-server-grid .world-art {
    height: 176px !important;
  }

  .hero-server-grid .world-body {
    padding: 19px !important;
  }
}

@media (max-width: 760px) {
  .realms-section {
    padding-inline: 18px;
  }

  .hero-server-grid .world-card {
    grid-template-rows: 158px auto !important;
  }

  .hero-server-grid .world-art {
    height: 158px !important;
  }

  .hero-server-grid .world-art::before {
    inset: 12px;
  }

  .hero-server-grid .world-body {
    padding: 16px !important;
  }

  .hero-server-grid .world-card h3 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .hero-server-grid .world-actions {
    grid-template-columns: 1fr;
  }
}

/* Hierarchy and rhythm pass: restrained spacing, flatter cards, quieter transitions. */
.hero-content {
  width: min(100%, 720px);
}

.conversion-hero h1 {
  margin-bottom: clamp(28px, 4.8vw, 54px);
}

.hero-tagline {
  display: grid;
  gap: clamp(14px, 2.1vw, 22px);
  width: min(100%, 690px);
  margin-top: 0;
}

.hero-statement {
  display: block;
  max-width: 13ch;
  color: #fbf6ff;
  font-size: clamp(1.58rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78);
}

.hero-continuation {
  display: block;
  max-width: 36rem;
  color: rgba(232, 223, 239, 0.88);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.58;
}

.hero-support {
  width: min(100%, 620px);
  margin-top: clamp(24px, 3.4vw, 36px);
  color: rgba(207, 198, 218, 0.88);
  line-height: 1.66;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(28px, 3.6vw, 42px);
  border-top: 1px solid rgba(185, 148, 72, 0.16);
  border-bottom: 1px solid rgba(126, 76, 189, 0.14);
}

.hero-perks span {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: rgba(231, 224, 238, 0.62);
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  line-height: 1.35;
  opacity: 0.78;
  text-transform: none;
  white-space: nowrap;
}

.hero-perks span + span {
  border-left: 1px solid rgba(185, 148, 72, 0.18);
}

.hero-perks span::before {
  display: none;
  content: none;
}

.hero-actions {
  margin-top: clamp(30px, 4vw, 48px);
}

.page-section,
.discord-panel {
  margin-top: clamp(72px, 8.5vw, 116px);
  box-shadow:
    0 -22px 46px rgba(4, 4, 12, 0.34),
    0 18px 44px rgba(0, 0, 0, 0.28);
}

.page-section::before,
.discord-panel::before,
.site-footer::before {
  position: absolute;
  top: -38px;
  left: 50%;
  display: block !important;
  width: min(270px, 48vw);
  height: 1px;
  border-top: 1px solid rgba(185, 148, 72, 0.16);
  border-bottom: 1px solid rgba(126, 76, 189, 0.1);
  transform: translateX(-50%);
  content: "" !important;
  pointer-events: none;
}

.realms-section .hero-server-grid {
  gap: clamp(24px, 2.8vw, 34px);
}

.world-magic {
  --world-a: #8d6a93;
  --world-b: #b99a5b;
  --world-c: #423044;
}

.world-mons {
  --world-a: #5f7f96;
  --world-b: #9ba9b7;
  --world-c: #263746;
}

.world-rpg {
  --world-a: #6f334f;
  --world-b: #75659b;
  --world-c: #21182d;
}

.hero-server-grid .world-card {
  background: color-mix(in srgb, var(--world-c) 38%, #060611);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 0 1px color-mix(in srgb, var(--world-a) 10%, transparent) inset;
}

.hero-server-grid .world-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.38),
    0 0 0 1px color-mix(in srgb, var(--world-a) 14%, transparent) inset;
}

.hero-server-grid .world-art::before {
  opacity: 0.16;
  border-color: color-mix(in srgb, var(--world-b) 22%, transparent);
  background-color: color-mix(in srgb, var(--world-a) 16%, transparent);
}

.hero-server-grid .world-art::after {
  background:
    linear-gradient(180deg, transparent 52%, rgba(3, 4, 12, 0.34));
  box-shadow:
    inset 0 -34px 38px rgba(3, 4, 12, 0.38),
    inset 0 0 36px color-mix(in srgb, var(--world-a) 8%, transparent);
}

.hero-server-grid .world-art img {
  filter: saturate(1.08) contrast(1.04) brightness(1.04);
}

.world-magic .world-art img {
  filter: saturate(1.08) contrast(1.03) brightness(1.06);
}

.world-mons .world-art img {
  filter: saturate(1.1) contrast(1.04) brightness(1.06);
}

.world-rpg .world-art img {
  filter: saturate(1.06) contrast(1.06) brightness(1.07);
}

.hero-server-grid .world-kicker {
  color: color-mix(in srgb, var(--world-b) 58%, #eee8f7);
  font-family: var(--serif);
  font-size: clamp(0.86rem, 1.15vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.36;
  text-transform: none;
}

.join-section {
  border-color: rgba(185, 148, 72, 0.18);
  background: rgba(6, 6, 16, 0.82);
  box-shadow:
    0 -16px 38px rgba(4, 4, 12, 0.28),
    0 16px 36px rgba(0, 0, 0, 0.24);
}

.join-steps {
  gap: clamp(16px, 2vw, 22px);
}

.join-steps article {
  padding: 46px 20px 20px;
  border-color: rgba(126, 76, 189, 0.14);
  background: rgba(7, 7, 18, 0.54);
  box-shadow: none;
}

.join-steps article > span {
  top: 16px;
  left: 18px;
  width: 24px;
  height: 24px;
  border-color: rgba(185, 148, 72, 0.36);
  color: rgba(245, 215, 137, 0.78);
  font-size: 0.72rem;
}

.join-steps h3 {
  margin-bottom: 8px;
}

.feature-grid {
  gap: clamp(14px, 1.8vw, 20px);
}

.feature-grid article {
  padding: 20px;
  border-color: rgba(126, 76, 189, 0.14);
  background: rgba(7, 7, 18, 0.5);
  box-shadow: none;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.feature-grid article::after {
  display: none;
  content: none;
}

.feature-grid article:hover {
  transform: none;
  border-color: rgba(185, 148, 72, 0.2);
  background-color: rgba(9, 9, 21, 0.62);
  box-shadow: none;
}

.feature-glyph {
  color: rgba(185, 148, 72, 0.58);
  font-size: 0.86rem;
  text-shadow: none;
}

.feature-grid h3 {
  color: rgba(243, 237, 248, 0.94);
  letter-spacing: 0.04em;
}

.feature-grid p {
  color: rgba(207, 198, 218, 0.86);
  line-height: 1.58;
}

@media (max-width: 760px) {
  .conversion-hero h1 {
    margin-bottom: 28px;
  }

  .hero-statement {
    max-width: 12ch;
  }

  .hero-continuation,
  .hero-support {
    max-width: 100%;
  }

  .hero-perks {
    display: grid;
    width: 100%;
    justify-content: stretch;
  }

  .hero-perks span {
    padding: 10px 0;
  }

  .hero-perks span + span {
    border-top: 1px solid rgba(185, 148, 72, 0.14);
    border-left: 0;
  }

  .page-section,
  .discord-panel {
    margin-top: 62px;
  }
}

/* Balance pass: prevent orphaned cards and keep dividers attached to the rhythm. */
.page-section,
.discord-panel {
  margin-top: clamp(56px, 6.4vw, 84px);
}

.page-section::before,
.discord-panel::before {
  top: -24px;
  width: min(210px, 40vw);
  opacity: 0.5;
}

.site-footer::before {
  display: none !important;
  content: none !important;
}

.features-section {
  width: min(100%, 1180px);
}

.features-section .feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.features-section .feature-grid article {
  min-height: 214px;
  padding: 20px 18px;
  background: rgba(7, 7, 18, 0.46);
}

.features-section .feature-grid h3 {
  font-size: 0.94rem;
  line-height: 1.18;
}

.features-section .feature-grid p {
  font-size: 0.94rem;
  line-height: 1.54;
}

.discord-live-body {
  min-height: 310px;
  max-height: 310px;
}

.info-section + .threshold-section {
  margin-top: clamp(54px, 6vw, 78px);
}

@media (max-width: 1050px) {
  .features-section .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-section .feature-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-section,
  .discord-panel {
    margin-top: 54px;
  }

  .page-section::before,
  .discord-panel::before {
    top: -20px;
    width: min(170px, 46vw);
  }

  .features-section .feature-grid {
    grid-template-columns: 1fr;
  }

  .features-section .feature-grid article:last-child {
    grid-column: auto;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }

  .discord-live-body {
    min-height: 300px;
    max-height: 300px;
  }
}

/* True final identity layer. This sits after the balance pass on purpose. */
.page-shell {
  width: min(100%, 1240px);
}

.page-shell::before,
.page-shell::after {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(185, 148, 72, 0.28) 18%, rgba(126, 76, 189, 0.18) 50%, rgba(185, 148, 72, 0.2) 82%, transparent);
  content: "";
  pointer-events: none;
}

.page-shell::before {
  left: max(18px, calc((100vw - 1240px) / 2));
}

.page-shell::after {
  right: max(18px, calc((100vw - 1240px) / 2));
}

.site-header {
  min-height: 92px;
  border-bottom: 1px solid rgba(185, 148, 72, 0.14);
  background: linear-gradient(180deg, rgba(5, 5, 17, 0.96), rgba(8, 6, 22, 0.72) 68%, rgba(8, 6, 22, 0));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.brand-mark::before {
  border-color: rgba(245, 215, 137, 0.48);
  box-shadow:
    0 0 0 1px rgba(126, 76, 189, 0.22),
    0 0 26px rgba(126, 76, 189, 0.34) inset,
    0 0 34px rgba(126, 76, 189, 0.28);
}

.conversion-hero {
  min-height: clamp(780px, 94vh, 1020px);
  border-inline: 1px solid rgba(185, 148, 72, 0.12);
}

.conversion-hero::before {
  opacity: 0.88;
  background:
    linear-gradient(90deg, rgba(2, 2, 10, 0.9), rgba(2, 2, 10, 0.22) 28%, rgba(2, 2, 10, 0.1) 50%, rgba(2, 2, 10, 0.24) 72%, rgba(2, 2, 10, 0.92)),
    linear-gradient(180deg, rgba(2, 2, 10, 0.08), rgba(2, 2, 10, 0.18) 42%, rgba(2, 2, 10, 0.9));
}

.hero-backdrop {
  filter: saturate(1.16) contrast(1.08) brightness(0.98);
}

.hero-content {
  width: min(100%, 760px);
}

.hero-content::before,
.hero-content::after {
  display: block;
  width: min(280px, 62vw);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, rgba(245, 215, 137, 0.58), rgba(126, 76, 189, 0.35), transparent);
  content: "";
}

.hero-content::before {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero-content::after {
  margin-top: clamp(28px, 3.4vw, 42px);
}

.conversion-hero .eyebrow,
.discord-panel .eyebrow,
.banned-summary .eyebrow {
  color: rgba(245, 215, 137, 0.86);
  letter-spacing: 0.26em;
}

.conversion-hero h1 {
  text-shadow:
    0 0 16px rgba(245, 215, 137, 0.18),
    0 0 34px rgba(126, 76, 189, 0.44),
    0 4px 24px rgba(0, 0, 0, 0.92);
}

.hero-statement {
  color: #fff9ff;
  text-shadow:
    0 0 18px rgba(126, 76, 189, 0.34),
    0 5px 22px rgba(0, 0, 0, 0.88);
}

.page-section,
.discord-panel {
  border-color: rgba(185, 148, 72, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 9, 31, 0.86), rgba(5, 5, 16, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 54px);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(126, 76, 189, 0.1) inset,
    0 0 44px rgba(126, 76, 189, 0.08);
}

.page-section::before,
.discord-panel::before {
  top: -28px;
  height: 13px;
  border: 0;
  opacity: 0.8;
  background:
    linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.44), transparent),
    linear-gradient(90deg, transparent 43%, rgba(126, 76, 189, 0.8) 43% 57%, transparent 57%);
  clip-path: polygon(0 46%, 43% 46%, 50% 0, 57% 46%, 100% 46%, 100% 54%, 57% 54%, 50% 100%, 43% 54%, 0 54%);
}

.section-heading h2 {
  color: #faf4ff;
  text-shadow:
    0 0 16px rgba(126, 76, 189, 0.3),
    0 3px 18px rgba(0, 0, 0, 0.82);
}

.section-heading > span {
  opacity: 0.86;
  background: linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.54), rgba(126, 76, 189, 0.28), transparent);
}

.realms-section {
  background:
    linear-gradient(180deg, rgba(18, 11, 36, 0.86), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, color-mix(in srgb, #8d6a93 16%, transparent), transparent 28%, transparent 72%, color-mix(in srgb, #6f334f 18%, transparent));
}

.world-magic {
  --world-a: #ad78b8;
  --world-b: #d5ac63;
  --world-c: #453452;
}

.world-mons {
  --world-a: #5db4d6;
  --world-b: #c7b071;
  --world-c: #233d59;
}

.world-rpg {
  --world-a: #9b405a;
  --world-b: #9a7fbc;
  --world-c: #2c1728;
}

.hero-server-grid .world-card {
  grid-template-rows: 226px auto !important;
  border-color: color-mix(in srgb, var(--world-a) 54%, rgba(245, 215, 137, 0.36));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-c) 46%, #090817), #050510 76%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(245, 215, 137, 0.1) inset,
    0 0 34px color-mix(in srgb, var(--world-a) 16%, transparent);
}

.hero-server-grid .world-card::before {
  opacity: 0.38 !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--world-a) 18%, transparent), transparent 34%),
    linear-gradient(315deg, color-mix(in srgb, var(--world-b) 10%, transparent), transparent 38%) !important;
}

.hero-server-grid .world-card::after {
  border: 1px solid color-mix(in srgb, var(--world-b) 15%, transparent);
  background:
    linear-gradient(135deg, rgba(245, 215, 137, 0.16), transparent 18%) top left / 86px 86px no-repeat,
    linear-gradient(315deg, rgba(245, 215, 137, 0.1), transparent 20%) bottom right / 90px 90px no-repeat;
  opacity: 0.7;
}

.hero-server-grid .world-art {
  height: 226px !important;
  border-bottom-color: color-mix(in srgb, var(--world-b) 24%, transparent);
}

.hero-server-grid .world-art::before {
  inset: 12px;
  opacity: 0.24;
  border-color: color-mix(in srgb, var(--world-b) 32%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--world-a) 12%, transparent), transparent 28%),
    linear-gradient(315deg, rgba(245, 215, 137, 0.08), transparent 34%);
}

.hero-server-grid .world-art::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(3, 4, 12, 0.44)),
    linear-gradient(90deg, rgba(3, 4, 12, 0.14), transparent 24%, transparent 76%, rgba(3, 4, 12, 0.12));
  box-shadow:
    inset 0 -44px 42px rgba(3, 4, 12, 0.42),
    inset 0 0 42px color-mix(in srgb, var(--world-a) 10%, transparent);
}

.hero-server-grid .world-art img,
.world-magic .world-art img,
.world-mons .world-art img,
.world-rpg .world-art img {
  filter: saturate(1.12) contrast(1.06) brightness(1.06);
}

.hero-server-grid .world-body {
  padding: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--world-c) 28%, rgba(8, 7, 18, 0.88)), rgba(5, 5, 14, 0.98)),
    linear-gradient(90deg, color-mix(in srgb, var(--world-a) 8%, transparent), transparent);
}

.hero-server-grid .world-kicker {
  position: relative;
  padding-left: 14px;
  color: color-mix(in srgb, var(--world-b) 76%, #fff7ff);
  font-size: clamp(0.92rem, 1.1vw, 1.06rem);
}

.hero-server-grid .world-kicker::before {
  position: absolute;
  top: 0.18em;
  bottom: 0.18em;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--world-b), color-mix(in srgb, var(--world-a) 72%, transparent));
  content: "";
}

.hero-server-grid .world-tags li {
  border: 1px solid color-mix(in srgb, var(--world-b) 28%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--world-a) 16%, rgba(255, 255, 255, 0.03)), rgba(5, 5, 14, 0.42));
  color: rgba(244, 237, 248, 0.9);
  box-shadow: 0 0 18px color-mix(in srgb, var(--world-a) 12%, transparent) inset;
}

.hero-server-grid .server-ip {
  border-color: color-mix(in srgb, var(--world-b) 24%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--world-a) 16%, transparent), rgba(5, 5, 14, 0.46));
}

.hero-server-grid .server-ip code {
  color: #fff4c9;
}

.join-section,
.features-section {
  background:
    linear-gradient(180deg, rgba(12, 8, 28, 0.88), rgba(5, 5, 16, 0.94)),
    linear-gradient(90deg, rgba(185, 148, 72, 0.06), transparent, rgba(126, 76, 189, 0.08));
}

.join-steps {
  position: relative;
}

.join-steps::before {
  position: absolute;
  top: 32px;
  right: 13%;
  left: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 148, 72, 0.34), rgba(126, 76, 189, 0.26), transparent);
  content: "";
  pointer-events: none;
}

.join-steps article,
.features-section .feature-grid article,
.info-grid article,
.banned-summary {
  position: relative;
  overflow: hidden;
  border-color: rgba(185, 148, 72, 0.18);
  background:
    linear-gradient(180deg, rgba(14, 11, 30, 0.82), rgba(6, 6, 17, 0.8)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.1), transparent 42%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.features-section .feature-grid article {
  min-height: 232px;
  padding: 22px 18px;
}

.feature-glyph {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 148, 72, 0.32);
  background: rgba(126, 76, 189, 0.1);
  color: rgba(245, 215, 137, 0.86);
  box-shadow: 0 0 18px rgba(126, 76, 189, 0.12) inset;
}

.discord-panel {
  background:
    linear-gradient(90deg, rgba(12, 9, 29, 0.94), rgba(7, 7, 18, 0.9)),
    linear-gradient(135deg, rgba(88, 101, 242, 0.1), transparent 38%, rgba(185, 148, 72, 0.05));
}

.discord-badge,
.discord-widget-shell {
  border-color: rgba(126, 76, 189, 0.36);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(245, 215, 137, 0.04) inset,
    0 0 32px rgba(126, 76, 189, 0.1);
}

.threshold-section {
  background:
    linear-gradient(180deg, rgba(7, 6, 18, 0.86), rgba(3, 3, 11, 0.94)),
    url("assets/runeveil-banner.png") center 42% / cover;
  background-blend-mode: normal, soft-light;
}

.threshold-panel {
  overflow: hidden;
  border-color: rgba(245, 215, 137, 0.26);
  background:
    linear-gradient(180deg, rgba(10, 8, 24, 0.88), rgba(4, 4, 13, 0.94)),
    linear-gradient(135deg, rgba(126, 76, 189, 0.12), transparent 46%, rgba(185, 148, 72, 0.06));
}

@media (max-width: 1100px) {
  .hero-server-grid .world-card {
    grid-template-rows: 204px auto !important;
  }

  .hero-server-grid .world-art {
    height: 204px !important;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .page-shell::before,
  .page-shell::after {
    display: none;
  }

  .site-header {
    min-height: 76px;
  }

  .hero-content::before,
  .hero-content::after {
    width: min(210px, 70vw);
  }

  .hero-server-grid .world-card {
    grid-template-rows: 178px auto !important;
  }

  .hero-server-grid .world-art {
    height: 178px !important;
  }

  .hero-server-grid .world-body {
    padding: 18px;
  }

  .join-steps::before {
    display: none;
  }

  .features-section .feature-grid article {
    min-height: 0;
  }
}

/* EOF header guard: final authority for desktop and mobile nav spacing. */
.site-header {
  display: grid !important;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(14px, 2vw, 28px) !important;
  min-height: 84px;
  padding: 10px 0;
  overflow: visible;
}

.brand-mark {
  position: relative;
  grid-column: auto !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: min(34vw, 330px);
  min-width: 0;
  height: auto;
  justify-self: start;
}

.brand-icon {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
}

.brand-mark::before {
  position: absolute;
  top: 50%;
  left: 31px;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.brand-glyph {
  position: absolute;
  top: 50%;
  left: 31px;
  transform: translate(-50%, -50%);
}

.brand-word strong {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(1.75rem, 2.65vw, 2.28rem);
  line-height: 0.92;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-word em {
  display: block;
  overflow: hidden;
  max-width: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  grid-column: auto !important;
  grid-row: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 1.8vw, 28px);
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: clamp(0.74rem, 0.88vw, 0.86rem);
  line-height: 1;
}

.site-nav a {
  min-width: 0;
  padding: 22px 0;
  white-space: nowrap;
}

.nav-discord {
  grid-column: auto !important;
  min-width: 0;
  min-height: 50px;
  padding: 0 clamp(18px, 2vw, 24px);
  justify-self: end;
  border-color: rgba(212, 175, 55, 0.52);
  background:
    linear-gradient(90deg, rgba(76, 39, 118, 0.82), rgba(19, 14, 38, 0.9)),
    rgba(10, 8, 24, 0.95);
  box-shadow:
    0 0 0 1px rgba(156, 92, 255, 0.16) inset,
    0 0 20px rgba(126, 76, 189, 0.18);
  font-size: 0.82rem;
  white-space: nowrap;
}

.nav-discord::before {
  margin-right: 10px;
  color: rgba(255, 247, 207, 0.96);
  content: "\25C6";
  font-size: 0.68em;
}

.site-header:not(:has(.nav-discord)) {
  grid-template-columns: auto minmax(0, 1fr) !important;
}

.site-header:not(:has(.nav-discord)) .brand-mark {
  max-width: 76px;
}

.site-header:not(:has(.nav-discord)) .site-nav {
  justify-content: flex-end;
}

@media (max-width: 1240px) {
  .site-header:has(.nav-discord) {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
    row-gap: 8px !important;
  }

  .site-header:has(.nav-discord) .nav-discord {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .site-header:has(.nav-discord) .site-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header:not(:has(.nav-discord)) {
    grid-template-columns: auto minmax(0, 1fr) !important;
    row-gap: 8px !important;
  }

  .site-nav,
  .site-header:not(:has(.nav-discord)) .site-nav {
    grid-column: 1 / -1 !important;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding: 8px 2px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-discord {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 44px;
    padding-inline: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
  }

  .brand-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .brand-mark::before {
    left: 27px;
    width: 50px;
    height: 50px;
  }

  .brand-glyph {
    left: 27px;
  }

  .brand-word {
    display: none;
  }

  .nav-discord {
    font-size: 0.72rem;
  }
}

/* Viewport guard: final authority for device width and height containment. */
html,
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

.page-shell {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  padding-right: max(clamp(12px, 3vw, 34px), env(safe-area-inset-right));
  padding-left: max(clamp(12px, 3vw, 34px), env(safe-area-inset-left));
  overflow-x: clip;
}

.site-header,
main,
.page-section,
.discord-panel,
.site-footer,
.world-grid,
.world-card,
.world-art,
.world-body,
.join-steps,
.feature-grid,
.info-grid,
.banned-content,
.threshold-panel,
.appeal-shell,
.appeal-card,
.staff-panel {
  min-width: 0;
  max-width: 100%;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

.conversion-hero {
  min-height: calc(100svh - 84px);
  min-height: calc(100dvh - 84px);
}

.hero-server-grid {
  width: 100%;
}

.hero-server-grid .world-art {
  height: clamp(176px, 19vw, 226px) !important;
}

.hero-server-grid .world-body,
.discord-copy,
.discord-widget-shell,
.discord-live-head,
.discord-live-body,
.staff-actions,
.appeal-form {
  min-width: 0;
}

.discord-live-body {
  min-height: clamp(220px, 34dvh, 310px);
  max-height: min(310px, 42dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.world-body :where(h3, p, code),
.threshold-panel :where(p, code),
.appeal-shell :where(h1, h2, h3, p, dd, code),
.discord-panel :where(h2, h3, p, strong) {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .site-nav,
  .site-header:not(:has(.nav-discord)) .site-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
    overflow: visible !important;
    gap: 0 clamp(14px, 4vw, 24px);
  }

  .site-nav a {
    padding: 11px 0;
  }

  .conversion-hero {
    min-height: calc(100svh - 132px);
    min-height: calc(100dvh - 132px);
  }

  .discord-live-body {
    min-height: clamp(220px, 38dvh, 300px);
    max-height: min(300px, 44dvh);
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding-right: max(12px, env(safe-area-inset-right));
    padding-left: max(12px, env(safe-area-inset-left));
  }

  .site-nav,
  .site-header:not(:has(.nav-discord)) .site-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 8px;
    text-align: center;
  }

  .site-nav a {
    min-width: 0;
    padding: 10px 2px;
    font-size: 0.7rem;
    white-space: normal;
    overflow-wrap: normal;
  }

  .nav-discord {
    max-width: 100%;
    padding-inline: 12px;
  }

  .conversion-hero {
    min-height: auto;
    padding-top: clamp(84px, 14dvh, 118px);
  }

  .hero-server-grid .world-art {
    height: clamp(158px, 48vw, 190px) !important;
  }

  .hero-server-grid .world-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-server-grid .world-actions > :last-child {
    grid-column: 1 / -1;
  }

  .discord-live-body {
    min-height: 220px;
    max-height: min(280px, 46dvh);
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-height: 700px) and (min-width: 621px) {
  .conversion-hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 52px;
  }

  .discord-live-body {
    min-height: 210px;
    max-height: 250px;
  }
}

.clipboard-fallback {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Semantic color system: complementary violet/gold with restrained state colors. */
:root {
  --color-canvas: #06050c;
  --color-surface: #0f0c17;
  --color-surface-raised: #181320;
  --color-surface-hover: #211a2c;
  --color-border: #3a3047;
  --color-border-strong: #665278;
  --color-text: #f3eef7;
  --color-text-muted: #b9afc2;
  --color-brand: #70479a;
  --color-brand-hover: #8258aa;
  --color-brand-active: #5f3988;
  --color-complement: #c7a45d;
  --color-complement-soft: #e0c98f;
  --color-community: #4d57a7;
  --color-community-hover: #5d68bd;
  --color-success: #5fa875;
  --color-warning: #b9914f;
  --color-danger: #a94f5d;
  --color-danger-hover: #bb5d6b;
  --color-focus: #e0c98f;

  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --void: var(--color-canvas);
  --panel: rgba(15, 12, 23, 0.82);
  --panel-strong: rgba(24, 19, 32, 0.94);
  --gold: var(--color-complement);
  --gold-bright: var(--color-complement);
  --gold-shine: var(--color-complement-soft);
  --violet: var(--color-brand);
  --violet-soft: #b69bca;
  --green: var(--color-success);
}

:where(
  .primary-action,
  .form-button,
  .hero-server-grid .world-button.primary
) {
  border-color: #9272ad !important;
  background: var(--color-brand) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28) !important;
  filter: none !important;
}

:where(
  .secondary-action,
  .nav-discord,
  .discord-panel .discord-cta
) {
  border-color: #737cc6 !important;
  background: var(--color-community) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28) !important;
  filter: none !important;
}

:where(
  .hero-server-grid .world-button:not(.primary),
  .collapse-toggle,
  .mini-action
) {
  border-color: var(--color-border-strong) !important;
  background: var(--color-surface-raised) !important;
  background-image: none !important;
  color: var(--color-text) !important;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.24) !important;
  filter: none !important;
}

:where(
  .primary-action,
  .form-button,
  .hero-server-grid .world-button.primary,
  .secondary-action,
  .nav-discord,
  .discord-panel .discord-cta,
  .hero-server-grid .world-button:not(.primary),
  .collapse-toggle,
  .mini-action
) {
  text-shadow: none !important;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease !important;
}

:where(
  .primary-action,
  .form-button,
  .hero-server-grid .world-button.primary
):hover,
:where(
  .primary-action,
  .form-button,
  .hero-server-grid .world-button.primary
):focus-visible {
  border-color: #aa8ac2 !important;
  background: var(--color-brand-hover) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34) !important;
  transform: translateY(-2px);
}

:where(
  .secondary-action,
  .nav-discord,
  .discord-panel .discord-cta
):hover,
:where(
  .secondary-action,
  .nav-discord,
  .discord-panel .discord-cta
):focus-visible {
  border-color: #8992d6 !important;
  background: var(--color-community-hover) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34) !important;
  transform: translateY(-2px);
}

:where(
  .hero-server-grid .world-button:not(.primary),
  .collapse-toggle,
  .mini-action
):hover,
:where(
  .hero-server-grid .world-button:not(.primary),
  .collapse-toggle,
  .mini-action
):focus-visible {
  border-color: var(--color-complement) !important;
  background: var(--color-surface-hover) !important;
  color: var(--color-complement-soft) !important;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px);
}

:where(
  .primary-action,
  .form-button,
  .hero-server-grid .world-button.primary,
  .secondary-action,
  .nav-discord,
  .discord-panel .discord-cta,
  .hero-server-grid .world-button:not(.primary),
  .collapse-toggle,
  .mini-action
):focus-visible {
  outline: 2px solid var(--color-focus) !important;
  outline-offset: 3px;
}

:where(
  .primary-action,
  .form-button,
  .hero-server-grid .world-button.primary,
  .secondary-action,
  .nav-discord,
  .discord-panel .discord-cta,
  .hero-server-grid .world-button:not(.primary),
  .collapse-toggle,
  .mini-action
):active {
  transform: translateY(0);
}

.primary-action::after,
.secondary-action::after,
.world-button::after,
.discord-panel .discord-cta::after,
.nav-discord::after {
  display: none !important;
  content: none !important;
}

.footer-status::before,
.discord-status.online {
  background: var(--color-success);
}

.section-heading h2,
.world-card h3,
.discord-panel h2,
.threshold-panel h2 {
  color: var(--color-text);
}

.eyebrow,
.world-kicker,
.threshold-ip span,
.server-ip span {
  color: var(--color-complement-soft);
}

.discord-live-button {
  border-color: #737cc6 !important;
  background: var(--color-community) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.24) !important;
}

.discord-live-button:hover,
.discord-live-button:focus-visible {
  border-color: #8992d6 !important;
  background: var(--color-community-hover) !important;
  color: #fff !important;
}

.info-grid article a {
  border-color: var(--color-border-strong) !important;
  background: var(--color-surface-raised) !important;
  background-image: none !important;
  color: var(--color-complement-soft) !important;
  box-shadow: none !important;
}

.info-grid article a:hover,
.info-grid article a:focus-visible {
  border-color: var(--color-complement) !important;
  background: var(--color-surface-hover) !important;
  color: #fff !important;
}

.discord-live-button:focus-visible,
.info-grid article a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

/* Homepage composition correction: clearer hierarchy with fewer nested frames. */
@media (min-width: 901px) {
  .site-header {
    grid-template-columns: minmax(210px, 238px) minmax(0, 1fr) minmax(154px, 174px) !important;
    gap: clamp(24px, 2.2vw, 34px) !important;
  }

  .brand-mark {
    max-width: 238px;
    gap: 10px;
  }

  .brand-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .brand-mark::before {
    left: 29px;
    width: 54px;
    height: 54px;
  }

  .brand-glyph {
    left: 29px;
  }

  .brand-word strong {
    font-size: clamp(1.72rem, 2.25vw, 2.02rem);
  }

  .site-nav {
    gap: clamp(14px, 1.45vw, 22px);
    font-size: clamp(0.72rem, 0.78vw, 0.8rem);
  }

  .nav-discord {
    min-height: 48px;
    padding-inline: 16px;
  }
}

.conversion-hero {
  min-height: clamp(720px, 78dvh, 860px);
  padding-top: clamp(64px, 7dvh, 86px);
  padding-bottom: clamp(54px, 6dvh, 76px);
}

.conversion-hero::before {
  background:
    linear-gradient(90deg, rgba(2, 2, 10, 0.92), rgba(2, 2, 10, 0.54) 34%, rgba(2, 2, 10, 0.12) 64%, rgba(2, 2, 10, 0.48)),
    linear-gradient(180deg, rgba(2, 2, 10, 0.08), rgba(2, 2, 10, 0.12) 48%, rgba(2, 2, 10, 0.82));
}

.hero-content {
  width: min(100%, 680px);
}

.hero-content::before {
  display: none;
}

.hero-content::after {
  width: min(220px, 54vw);
  margin: clamp(26px, 3vw, 34px) 0 0;
  opacity: 0.72;
}

.conversion-hero h1 {
  max-width: 100%;
  margin-bottom: clamp(24px, 3vw, 34px);
  font-size: clamp(5rem, 7.8vw, 7rem);
  line-height: 0.88;
}

.hero-tagline {
  gap: 12px;
  width: min(100%, 600px);
}

.hero-statement {
  max-width: 15ch;
  font-size: clamp(1.72rem, 2.75vw, 2.35rem);
  line-height: 1.1;
}

.hero-continuation {
  max-width: 34rem;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.5;
}

.hero-support {
  width: min(100%, 560px);
  margin-top: clamp(18px, 2.3vw, 26px);
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.58;
}

.hero-perks {
  margin-top: clamp(22px, 2.7vw, 30px);
}

.hero-actions {
  margin-top: clamp(24px, 3vw, 34px);
}

.discord-panel {
  grid-template-columns: minmax(270px, 0.72fr) minmax(500px, 1.48fr);
  gap: clamp(28px, 3vw, 44px);
  padding: clamp(28px, 3.2vw, 42px);
  background: #080712;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(126, 76, 189, 0.08) inset;
}

.discord-widget-shell {
  border-color: rgba(126, 76, 189, 0.28);
  background: #050711;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.discord-widget-shell::before,
.discord-widget-shell::after {
  opacity: 0.32;
}

.discord-live-head {
  min-height: 68px;
  padding: 12px 16px;
  background: #090b16;
}

.discord-live-count {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #78bd8c;
  box-shadow: none;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.discord-live-count::before {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  box-shadow: none;
}

.discord-live-body {
  min-height: 260px;
  max-height: 260px;
  margin: 0;
  padding: 12px 16px 16px;
  border: 0;
  border-radius: 0;
  background: #040610;
}

.discord-channel {
  background: #060914;
}

.discord-role-group-head {
  background: #040610;
}

.threshold-section {
  width: min(100%, 980px);
  padding: clamp(40px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(5, 5, 15, 0.74), rgba(3, 3, 11, 0.92)),
    url("assets/runeveil-banner.png") center 42% / cover;
  background-blend-mode: normal, soft-light;
}

.threshold-panel {
  gap: clamp(12px, 1.4vw, 16px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.threshold-panel::before,
.threshold-panel::after {
  display: none;
  content: none;
}

.threshold-panel .section-heading {
  margin-bottom: clamp(8px, 1.2vw, 14px);
}

.threshold-panel p {
  max-width: 680px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.62;
}

.threshold-ip {
  width: min(100%, 340px);
  margin-top: 6px;
  background: rgba(5, 4, 14, 0.78);
}

.threshold-section .primary-action {
  width: min(100%, 260px);
  min-height: 56px;
}

.threshold-section .copy-status {
  min-height: 16px;
}

@media (max-width: 980px) {
  .discord-panel {
    grid-template-columns: 1fr;
    width: min(100%, 820px);
  }

  .discord-live-body {
    min-height: 280px;
    max-height: 280px;
  }
}

@media (max-width: 620px) {
  .site-header {
    row-gap: 4px !important;
    min-height: 0;
    padding-block: 6px;
  }

  .brand-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .brand-mark::before {
    left: 23px;
    width: 43px;
    height: 43px;
  }

  .brand-glyph {
    left: 23px;
  }

  .nav-discord {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.68rem;
  }

  .site-nav,
  .site-header:not(:has(.nav-discord)) .site-nav {
    gap: 0 6px;
    padding-top: 3px;
  }

  .site-nav a {
    padding: 7px 2px;
    font-size: 0.64rem;
  }

  .conversion-hero {
    min-height: auto;
    padding: 58px 18px 54px;
  }

  .conversion-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(3rem, 14vw, 3.65rem);
  }

  .hero-statement {
    max-width: 13ch;
    font-size: clamp(1.58rem, 8vw, 2rem);
  }

  .hero-continuation,
  .hero-support {
    font-size: 0.95rem;
  }

  .hero-perks {
    margin-top: 22px;
  }

  .hero-perks span {
    padding-block: 8px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .discord-panel {
    padding: 20px 14px;
  }

  .discord-live-body {
    min-height: 240px;
    max-height: min(260px, 42dvh);
    padding-inline: 10px;
  }

  .threshold-section {
    padding: 40px 20px;
  }

  .threshold-panel {
    justify-items: stretch;
    text-align: left;
  }

  .threshold-panel .section-heading {
    justify-self: stretch;
  }

  .threshold-ip,
  .threshold-section .primary-action {
    width: 100%;
  }
}
