:root {
  --bg: #070a0f;
  --bg-deep: #04070b;
  --panel: rgba(8, 12, 19, 0.76);
  --panel-strong: rgba(7, 10, 16, 0.92);
  --panel-soft: rgba(12, 18, 29, 0.68);
  --border: rgba(229, 194, 117, 0.18);
  --border-strong: rgba(229, 194, 117, 0.28);
  --text: #f4ead2;
  --muted: #c8baa1;
  --muted-strong: #e4d6bc;
  --gold: #e5c275;
  --gold-strong: #ffd68a;
  --blue: #7aa8d3;
  --blue-strong: #9ed4ff;
  --horde: #d26a4a;
  --alliance: #5aa6f8;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #05080d;
  font-family: "Outfit", "Segoe UI", sans-serif;
  overflow-x: hidden;
  cursor: url("/assets/media/cursor/Normal_Select/Normal_Select_00.cur"), auto;
}

body.has-modal-open {
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.68) 0%, rgba(5, 8, 13, 0.62) 100%),
    url("/assets/img/background.png") center bottom / cover no-repeat;
  z-index: 0;
}

body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: url("/assets/media/cursor/Link_select/Link_select_00.cur"), pointer;
}

button,
select,
summary,
input[type="submit"],
input[type="button"] {
  cursor: url("/assets/media/cursor/Link_select/Link_select_00.cur"), pointer;
}

input,
textarea {
  cursor: url("/assets/media/cursor/Handwriting/Handwriting_00.cur"), text;
}

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

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: rgba(7, 10, 16, 0.92);
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(229, 194, 117, 0.9), rgba(122, 168, 211, 0.7));
  border-radius: 999px;
  border: 2px solid rgba(7, 10, 16, 0.92);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 214, 138, 0.95), rgba(158, 212, 255, 0.82));
}

.page,
.topbar,
.footer {
  position: relative;
  z-index: 2;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.page::before {
  content: none;
}

.page > * {
  position: relative;
  z-index: 1;
}

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

.topbar {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 40;
}

.topbar__wrap {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar__inner {
  width: 100%;
  margin: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 138px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.9), rgba(5, 8, 13, 0.82));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.topbar.is-scrolled .topbar__inner {
  background: rgba(7, 10, 16, 0.94);
  border-color: rgba(229, 194, 117, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 340px;
  padding-right: 20px;
  border-right: 1px solid rgba(229, 194, 117, 0.08);
}

.brand__crest {
  width: 62px;
  height: 62px;
  padding: 6px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(16, 69, 90, 0.95), rgba(10, 17, 28, 0.95));
  border: 1px solid rgba(229, 194, 117, 0.28);
  color: var(--gold-strong);
  box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.08);
}

.brand__logo,
.brand__floating-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}

.brand__lockup {
  display: grid;
  gap: 2px;
}

.brand__title,
.brand__tagline {
  margin: 0;
}

.brand__title {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand__tagline {
  color: var(--muted);
  max-width: 34ch;
  font-size: 0.75rem;
  line-height: 1.35;
}

.brand--floating {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 132px;
  min-width: 0;
  padding: 0;
  border: 0;
}

.nav,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav {
  justify-self: start;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  position: relative;
  color: rgba(242, 230, 201, 0.84);
  font-size: 0.82rem;
  padding: 6px 2px;
}

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

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

.topbar__actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar__region {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.84rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--gold {
  color: #1b160f;
  background: linear-gradient(135deg, #ffe09b 0%, #d6a752 48%, #f4cf82 100%);
  box-shadow: 0 18px 34px rgba(214, 167, 82, 0.26);
}

.button--ghost {
  color: var(--text);
  background: rgba(9, 13, 21, 0.5);
  border-color: rgba(229, 194, 117, 0.18);
}

.button--dark {
  color: var(--text);
  background: rgba(18, 12, 10, 0.72);
  border-color: rgba(229, 194, 117, 0.12);
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
}

.button-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-strong);
  font: inherit;
  text-align: left;
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 118px 0 148px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 0 -96px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: brightness(0.62);
  transform: scale(1.01);
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 392px);
  gap: 24px;
  align-items: start;
  min-height: 460px;
  z-index: 2;
}

.manifesto,
.register,
.news-card,
.signal {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero__copy {
  max-width: 540px;
  padding-top: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(122, 168, 211, 0.22);
  background: rgba(10, 16, 25, 0.58);
  color: var(--blue-strong);
  text-transform: uppercase;
  font-size: 0.67rem;
  letter-spacing: 0.18em;
}

.eyebrow--subtle {
  color: var(--gold-strong);
  border-color: rgba(229, 194, 117, 0.18);
}

.hero h1,
.section-title,
.register__title {
  margin: 20px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.94;
}

.hero p,
.section-copy,
.manifesto-card p,
.register-point p,
.news-card__body p,
.footer p,
.hero__servers-note {
  color: var(--muted);
  line-height: 1.72;
}

.hero__copy > p {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero__actions,
.register__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.signal {
  min-width: 124px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 15, 23, 0.7), rgba(7, 10, 16, 0.44));
  box-shadow: none;
}

.signal__label,
.metric span,
.realm-card__mode,
.news-card__meta,
.footer__label {
  display: block;
  color: rgba(244, 234, 210, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.66rem;
}

.signal__value {
  display: block;
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 0.84rem;
}

.hero__servers {
  width: 100%;
  max-width: 392px;
  padding-top: 18px;
  justify-self: end;
}

.realm-stack {
  display: grid;
  gap: 12px;
}

.realm-card {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  overflow: hidden;
  min-height: 102px;
  border-radius: 16px;
  border: 1px solid rgba(229, 194, 117, 0.12);
  background: rgba(7, 10, 16, 0.8);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.realm-card:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 194, 117, 0.22);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
}

.realm-card__visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.realm-card__visual::after,
.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.realm-card__visual::after {
  background: linear-gradient(90deg, transparent 0%, rgba(7, 10, 16, 0.08) 36%, rgba(7, 10, 16, 0.88) 100%);
}

.realm-card__crest {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 16, 0.48);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  z-index: 1;
}

.realm-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding: 10px 12px;
}

.realm-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.realm-card__head h2 {
  margin: 4px 0 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
}

.status-pill {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(110, 188, 109, 0.12);
  border: 1px solid rgba(110, 188, 109, 0.22);
  color: #bfe7bf;
  font-size: 0.62rem;
}

.status-pill--offline {
  background: rgba(203, 110, 110, 0.12);
  border-color: rgba(203, 110, 110, 0.22);
  color: #ffd5d5;
}

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

.metric {
  padding: 6px 7px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}

.realm-card__factions {
  display: grid;
  gap: 8px;
}

.realm-card__labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-strong);
  font-size: 0.68rem;
}

.realm-card__bar {
  display: grid;
  grid-template-columns: var(--alliance) var(--horde);
  gap: 6px;
}

.realm-card__bar-segment {
  height: 6px;
  border-radius: 999px;
}

.realm-card__bar-segment--alliance {
  background: linear-gradient(90deg, rgba(90, 166, 248, 0.54), rgba(146, 206, 255, 0.92));
}

.realm-card__bar-segment--horde {
  background: linear-gradient(90deg, rgba(210, 106, 74, 0.72), rgba(242, 144, 92, 0.96));
}

.section--news {
  margin-top: 0;
  padding-top: 22px;
  padding-bottom: 8px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.section-heading--visible {
  display: grid;
}

.section-title {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
}

.section-copy {
  max-width: 46ch;
  font-size: 0.92rem;
  line-height: 1.62;
}

.news-grid,
.manifesto__grid,
.register__points {
  display: grid;
  gap: 14px;
}

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

.news-card {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 16, 24, 0.86), rgba(7, 10, 16, 0.92));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.36);
}

.news-card__media {
  position: relative;
  min-height: 132px;
  display: flex;
  align-items: flex-start;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%),
    linear-gradient(180deg, rgba(11, 16, 24, 0.08), rgba(11, 16, 24, 0.82)),
    url("/assets/img/background.png") center center / cover no-repeat;
}

.news-card__media::after {
  background: linear-gradient(180deg, transparent 0%, rgba(11, 16, 24, 0.64) 100%);
}

.news-card__media span,
.community-card__content,
.news-card__body,
.realm-card__body {
  position: relative;
  z-index: 1;
}

.news-card__media span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 10, 16, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.news-card__body {
  display: grid;
  gap: 6px;
  padding: 12px;
  font-size: 0.88rem;
}

.news-card__body h3,
.manifesto-card h3,
.register-point h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
}

.news-card__body h3 {
  font-size: 0.96rem;
  line-height: 1.28;
}

.manifesto {
  display: grid;
  gap: 22px;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.62), rgba(6, 9, 14, 0.88));
}

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

.manifesto-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(229, 194, 117, 0.08);
}

.manifesto-card__index {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-strong);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.form-panel {
  padding: 24px;
  border-radius: 26px;
  background: rgba(7, 10, 16, 0.74);
  border: 1px solid rgba(229, 194, 117, 0.12);
}

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

.form-grid .field--full,
.modal__actions,
.field.field--full {
  grid-column: 1 / -1;
}

.form-grid--single {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.checkbox {
  font-size: 0.95rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(229, 194, 117, 0.14);
  background: rgba(9, 13, 20, 0.92);
  color: var(--text);
  font: inherit;
  outline: none;
}

.field textarea {
  padding: 16px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 214, 138, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 214, 138, 0.08);
  background: rgba(11, 16, 24, 0.98);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.checkbox input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  padding: 0;
  border-radius: 5px;
  flex: 0 0 auto;
  accent-color: #d6a752;
}

.checkbox span {
  flex: 1;
}

.alert {
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.alert--error {
  border: 1px solid rgba(203, 110, 110, 0.28);
  background: rgba(85, 19, 19, 0.48);
  color: #ffd5d5;
}

.error-list {
  margin: 0;
  padding-left: 18px;
}

.field__error {
  color: #ffb4b4;
  font-size: 0.86rem;
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: grid;
  gap: 12px;
  width: min(100%, 380px);
}

.toast {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 12px;
  border-radius: 20px;
  border: 1px solid rgba(229, 194, 117, 0.16);
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.96), rgba(6, 9, 14, 0.98));
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.toast--success {
  border-color: rgba(116, 193, 131, 0.24);
}

.toast--error {
  border-color: rgba(203, 110, 110, 0.3);
}

.toast__crest {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 31, 48, 0.95), rgba(7, 10, 16, 0.92));
  border: 1px solid rgba(229, 194, 117, 0.14);
}

.toast__crest img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.toast__content {
  display: grid;
  gap: 3px;
}

.toast__content strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
  color: var(--text);
}

.toast__content span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.88rem;
}

.toast__close,
.modal__close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(229, 194, 117, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 1.1rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 112px 20px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 10, 0.72);
}

.modal__panel {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(229, 194, 117, 0.14);
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.95), rgba(6, 9, 14, 0.98));
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__panel--compact {
  width: min(100%, 560px);
}

.modal__glow {
  position: absolute;
  border-radius: 999px;
  opacity: 0.32;
  pointer-events: none;
}

.modal__glow--blue {
  top: 24px;
  left: 22px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(106, 156, 224, 0.52), transparent 70%);
}

.modal__glow--gold {
  right: 18px;
  top: 10px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(227, 176, 84, 0.32), transparent 70%);
}

.modal__header {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.modal__title {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.modal__form-panel {
  margin-top: 22px;
}

.modal__actions {
  margin-top: 20px;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.community {
  position: relative;
  padding: 26px 0 56px;
}

.community__intro {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.community__grid {
  display: grid;
  grid-template-columns: 1.08fr 1.08fr 0.72fr;
  gap: 14px;
}

.community-card {
  position: relative;
  min-height: 258px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(229, 194, 117, 0.1);
  background: rgba(8, 12, 19, 0.62);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.community-card::before,
.community-card__overlay {
  content: "";
  position: absolute;
  inset: 0;
}

.community-card::before {
  background: url("/assets/img/background.png") center center / cover no-repeat;
  opacity: 0.5;
}

.community-card__overlay {
  background: linear-gradient(180deg, rgba(7, 10, 16, 0.16) 0%, rgba(7, 10, 16, 0.72) 64%, rgba(7, 10, 16, 0.96) 100%);
  z-index: 1;
}

.community-card__content {
  display: grid;
  align-content: end;
  height: 100%;
  padding: 18px;
  gap: 10px;
}

.community-card h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.32rem;
}

.community-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.footer {
  padding: 0 0 36px;
  background: transparent;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(229, 194, 117, 0.08);
}

.footer__cluster {
  display: grid;
  align-content: start;
  gap: 10px;
}

@media (max-width: 1180px) {
  .topbar__inner {
    grid-template-columns: 1fr;
    padding-left: 16px;
  }

  .brand--floating {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    width: 124px;
    margin: 0 0 10px;
  }

  .hero__layout,
  .section-heading,
  .community__grid,
  .footer__grid,
  .manifesto__grid,
  .news-grid--featured {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 96px;
  }
}

@media (max-width: 780px) {
  .topbar__wrap,
  .section {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 138px 0 88px;
  }

  .hero__layout,
  .community__grid,
  .form-grid,
  .manifesto__grid,
  .news-grid--featured {
    grid-template-columns: 1fr;
  }

  .topbar__actions {
    width: 100%;
  }

  .modal {
    padding-top: 104px;
  }

  .modal__panel,
  .register,
  .manifesto {
    padding: 18px;
  }

  .realm-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .toast-stack {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
  }

  .toast {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .toast__crest {
    width: 44px;
    height: 44px;
  }

  .toast__crest img {
    width: 28px;
    height: 28px;
  }

  .brand__tagline,
  .topbar__region {
    display: none;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px 16px;
  }

  .hero__servers,
  .news-card__body,
  .form-panel,
  .register-point {
    padding-left: 18px;
    padding-right: 18px;
  }

  .realm-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .realm-card__metrics,
  .community__grid,
  .manifesto__grid,
  .news-grid--featured,
  .form-grid {
    grid-template-columns: 1fr;
  }
}
