:root {
  --gold: #d8b96f;
  --gold-light: #f4de98;
  --night: #020611;
  --line: rgba(220, 190, 113, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--night);
  color: #f7f3ed;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

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

.splash {
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  background: var(--night);
}

.splash::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -24px;
  background: url("/holding.png") center / cover no-repeat;
  filter: blur(18px) saturate(0.82) brightness(0.48);
  transform: scale(1.04);
}

.splash-image,
.splash-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.splash-image {
  z-index: -2;
  display: block;
  object-fit: contain;
  object-position: center;
}

.splash-shade {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 5, 16, 0.72) 0%, transparent 18%, transparent 58%, rgba(2, 5, 16, 0.66) 78%, #020611 100%),
    linear-gradient(90deg, rgba(2, 5, 16, 0.18), transparent 24%, transparent 76%, rgba(2, 5, 16, 0.18));
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 68px) 30px;
  background: linear-gradient(180deg, rgba(2, 5, 16, 0.86), rgba(2, 5, 16, 0));
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0.16em;
}

.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  transform: rotate(45deg);
}

.wordmark-mark > span {
  display: block;
  transform: rotate(-45deg);
}

.wordmark-copy {
  display: flex;
  flex-direction: column;
}

.wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
}

.wordmark small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 7px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--gold-light);
  transition: right 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold-light);
}

nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}

.splash-content {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: flex-end;
  padding: 90px clamp(18px, 4vw, 68px) clamp(16px, 2.6vw, 34px);
}

.realm-panel {
  position: relative;
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(230px, 0.75fr) minmax(520px, 1.65fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 20%, rgba(99, 71, 172, 0.19), transparent 35%),
    linear-gradient(135deg, rgba(7, 11, 30, 0.9), rgba(5, 7, 21, 0.7));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px) saturate(1.16);
}

.realm-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: 0.72;
}

.realm-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.realm-heading p,
.world p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.realm-heading h2 {
  margin: 0;
  color: #f7f3ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
}

.status {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #c9bcf5;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ac8cff;
  box-shadow: 0 0 10px #ac8cff;
  animation: pulse 2s ease-in-out infinite;
}

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

.world {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 20px 24px;
}

.world + .world {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.world-number {
  align-self: start;
  padding-top: 3px;
  color: rgba(216, 185, 111, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.world h3 {
  margin: 0 0 5px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

.world div > span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.45;
}

.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;
}

@keyframes pulse {
  0%, 100% { opacity: 0.48; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 820px) {
  .realm-panel {
    grid-template-columns: 1fr;
  }

  .realm-heading {
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .realm-heading h2 {
    font-size: 19px;
  }

  .status {
    position: absolute;
    top: 18px;
    right: 20px;
    margin: 0;
  }

  .world {
    padding: 14px 18px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px 26px;
  }

  .wordmark-copy {
    display: none;
  }

  .wordmark-mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  nav {
    gap: 22px;
  }

  nav a {
    font-size: 9px;
  }

  .splash-content {
    padding: 72px 10px 10px;
  }

  .realm-heading {
    padding: 13px 15px;
  }

  .realm-heading p {
    display: none;
  }

  .realm-heading h2 {
    font-size: 16px;
  }

  .status {
    top: 16px;
    right: 15px;
  }

  .world {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 12px;
  }

  .world-number,
  .world div > span {
    display: none;
  }

  .world h3 {
    margin-bottom: 0;
    font-size: 18px;
  }
}

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

  .status i {
    animation: none;
  }

  nav a,
  nav a::after {
    transition: none;
  }
}
