:root {
  --ink: #12161c;
  --paper: #f6f3ed;
  --muted: #77736c;
  --gold: #e9b75c;
  --line: rgba(18, 22, 28, 0.12);
  --serif: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --scroll-track: #eee9df;
  --scroll-thumb: #c59a4d;
  --scroll-thumb-hover: #a97929;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 3px solid var(--scroll-track);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
}
::-webkit-scrollbar-corner {
  background: var(--scroll-track);
}
.container {
  width: min(1120px, calc(100% - 48px));
  margin: auto;
}
.hero {
  min-height: 720px;
  height: 100svh;
  position: relative;
  color: #fff;
  isolation: isolate;
}
.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 11, 15, 0.86),
      rgba(8, 11, 15, 0.4) 60%,
      rgba(8, 11, 15, 0.52)
    ),
    linear-gradient(0deg, rgba(8, 11, 15, 0.45), transparent 45%);
}
.nav {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.brand img {
  width: 47px;
  height: 47px;
  object-fit: cover;
  border-radius: 13px;
}
.brand span {
  font-size: 17px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.17em;
  opacity: 0.64;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links > a:not(.button) {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.83;
}
.nav__links > a:hover {
  opacity: 1;
}
.nav-toggle {
  display: none;
}
.hero__content {
  padding-top: clamp(100px, 17vh, 180px);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: bold;
  margin: 0 0 15px;
}
.eyebrow span {
  display: inline-block;
  width: 25px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 8px;
}
.hero h1 {
  font: normal clamp(50px, 7vw, 88px)/1.08 var(--serif);
  margin: 0;
  letter-spacing: -0.045em;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero__lead {
  font-size: 18px;
  max-width: 480px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.8);
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #17130c;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  background: #f2c978;
}
.button--small {
  padding: 9px 15px;
}
.button--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.text-link {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.text-link b {
  font-size: 20px;
  color: var(--gold);
  margin-left: 4px;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.75;
}
.scroll-hint i {
  display: block;
  height: 31px;
  width: 1px;
  background: var(--gold);
  margin: 8px auto 0;
}
.section {
  padding: 110px 0;
}
.section-heading {
  max-width: 590px;
}
.section-heading h2,
.safety-card h2 {
  font: normal clamp(36px, 4vw, 53px)/1.17 var(--serif);
  letter-spacing: -0.04em;
  margin: 0 0 15px;
}
.section-heading > p:last-child {
  color: var(--muted);
  margin: 0;
}
.status-section {
  background: #fff;
}
.status-card {
  margin-top: 48px;
  border: 1px solid var(--line);
  padding: 31px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  box-shadow: 0 20px 50px rgba(31, 25, 16, 0.06);
}
.status-card__main {
  display: flex;
  align-items: center;
  gap: 18px;
}
.status-card__main > div:not(.server-mark) {
  min-width: 0;
  flex: 1;
}
.server-mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  overflow: hidden;
  font: italic 33px var(--serif);
}
.server-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.status-label {
  font-size: 12px;
  color: #555;
  margin: 0;
}
.status-label i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #b6b4b1;
  border-radius: 50%;
  margin-right: 7px;
}
.status-label i.online {
  background: #56a970;
  box-shadow: 0 0 0 4px rgba(86, 169, 112, 0.14);
}
.status-label i.offline {
  background: #d76a5c;
}
.status-card h3 {
  font: normal 30px var(--serif);
  margin: 2px 0;
}
.motd {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.55;
}
.status-card__metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}
.status-card__metrics div {
  display: grid;
}
.status-card__metrics strong {
  font: normal 23px var(--serif);
  white-space: nowrap;
}
.status-card__metrics span {
  font-size: 11px;
  color: var(--muted);
}
.address-box {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.address-box span {
  font-size: 12px;
  color: var(--muted);
}
code {
  font-family: ui-monospace, Consolas, monospace;
}
.address-box code {
  font-size: 18px;
  flex: 1;
}
.copy-button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 17px;
  font-weight: bold;
  cursor: pointer;
}
.status-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 22px 0 0;
}
.inline-button {
  border: 0;
  background: transparent;
  color: #9a702d;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.features-section {
  background: #eae5dc;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  border-top: 1px solid var(--line);
}
.feature-card {
  padding: 31px 34px 15px 0;
  margin-right: 32px;
  border-right: 1px solid var(--line);
}
.feature-card:last-child {
  border: 0;
  margin: 0;
}
.feature-icon {
  color: #9c7534;
  font: 30px var(--serif);
}
.feature-card h3 {
  font: normal 25px var(--serif);
  margin: 16px 0 8px;
}
.feature-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.safety-section {
  padding: 75px 0;
  background: #c8943b;
}
.safety-card {
  display: flex;
  align-items: center;
  gap: 24px;
}
.safety-icon {
  border: 1px solid rgba(18, 22, 28, 0.5);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font: 24px var(--serif);
  flex: 0 0 auto;
}
.safety-card h2 {
  font-size: 28px;
  margin: 0;
}
.safety-card p {
  margin: 5px 0 0;
  font-size: 14px;
  max-width: 660px;
}
.button--dark {
  margin-left: auto;
  white-space: nowrap;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.button--dark:hover {
  background: #333;
}
.footer {
  background: #12161c;
  color: rgba(255, 255, 255, 0.6);
  padding: 36px 0;
  font-size: 12px;
}
.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand--footer img {
  width: 35px;
  height: 35px;
}
.brand--footer span {
  font-size: 13px;
  color: #fff;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-left: 19px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: #12161c;
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  transition: 0.25s;
  z-index: 2;
}
.toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-color-scheme: dark) {
  :root {
    --scroll-track: #151a21;
    --scroll-thumb: #a77c32;
    --scroll-thumb-hover: #d4a349;
  }
  html {
    color-scheme: dark;
  }
}
@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1120px);
  }
  .nav {
    height: 78px;
  }
  .nav__links > a:not(.button) {
    display: none;
  }
  .hero {
    min-height: 620px;
  }
  .hero__content {
    padding-top: 140px;
  }
  .hero__lead {
    font-size: 16px;
  }
  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .section {
    padding: 72px 0;
  }
  .status-card {
    padding: 22px;
    display: block;
  }
  .status-card__metrics {
    justify-content: flex-start;
    margin: 25px 0;
    gap: 30px;
  }
  .address-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .address-box span {
    grid-column: 1/-1;
  }
  .address-box code {
    font-size: 15px;
  }
  .features-grid {
    display: block;
  }
  .feature-card {
    padding: 25px 0;
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .safety-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .button--dark {
    margin: 0 0 0 66px;
  }
  .footer__content {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer a {
    margin: 0 16px 0 0;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  gap: 18px;
  background: #12161c;
  color: #f6f3ed;
  transition:
    opacity 0.38s ease,
    visibility 0.38s ease;
}
.page-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader__ring {
  width: 48px;
  height: 48px;
  margin: auto;
  border: 3px solid rgba(233, 183, 92, 0.18);
  border-top-color: #e9b75c;
  border-right-color: rgba(233, 183, 92, 0.62);
  border-radius: 50%;
  transform: rotate(0deg);
  transform-origin: center;
  will-change: transform;
  -webkit-animation: nivoria-spin 0.7s linear infinite;
  animation: nivoria-spin 0.7s linear infinite;
}
.page-loader span {
  font:
    700 11px/1 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
}
@keyframes nivoria-spin {
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes nivoria-spin {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.arrival-notices {
  position: fixed;
  z-index: 110;
  top: 20px;
  right: 20px;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  gap: 11px;
  pointer-events: none;
}
.arrival-notice {
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(18, 22, 28, 0.1);
  border-left: 3px solid #e9b75c;
  box-shadow: 0 16px 36px rgba(18, 22, 28, 0.16);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(-24px);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}
.arrival-notice--show {
  opacity: 1;
  transform: translateY(0);
}
.notice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #12161c;
  color: #e9b75c;
  font:
    italic 22px system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.arrival-notice--rest {
  border-left-color: #8194bf;
}
.arrival-notice--rest .notice-icon {
  background: #313c57;
  color: #d9e2ff;
}
.arrival-notice small {
  display: block;
  color: #99732f;
  font:
    700 9px/1 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.15em;
  margin: 2px 0 4px;
}
.arrival-notice--rest small {
  color: #667aa8;
}
.arrival-notice strong {
  display: block;
  color: #12161c;
  font:
    700 14px/1.35 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.arrival-notice p {
  margin: 3px 0 0;
  color: #77736c;
  font:
    12px/1.45 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.arrival-notice button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #85817b;
  font:
    24px/20px system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  cursor: pointer;
}
.arrival-notice button:hover {
  color: #12161c;
}
@media (prefers-reduced-motion: reduce) {
  .page-loader,
  .arrival-notice {
    transition: none;
  }
}
@media (max-width: 600px) {
  .arrival-notices {
    top: 12px;
    right: 16px;
  }
  .arrival-notice {
    padding: 12px;
  }
}

/* Centered, spring-like notifications that descend from above the viewport. */
.arrival-notices {
  top: 16px;
  right: auto;
  left: 50%;
  width: min(430px, calc(100vw - 32px));
  transform: translateX(-50%);
}
.arrival-notice {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(18, 22, 28, 0.22);
  transform: translateY(-135%) scale(0.94);
  transition:
    opacity 0.34s ease,
    transform 0.62s cubic-bezier(0.18, 1.42, 0.36, 1);
}
.arrival-notice--show {
  transform: translateY(0) scale(1);
}
.arrival-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: inherit;
  pointer-events: none;
}
.notice-icon {
  border-radius: 13px;
}
.arrival-notice button {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  transition:
    background 0.18s,
    color 0.18s;
}
.arrival-notice button:hover {
  background: rgba(18, 22, 28, 0.08);
}
@media (max-width: 600px) {
  .arrival-notices {
    top: 10px;
  }
  .arrival-notice {
    border-radius: 16px;
  }
}

.nav__links a[href="sponsors.html"] {
  position: relative;
}
.nav__links a[href="sponsors.html"]::after {
  content: "NEW";
  position: absolute;
  top: -12px;
  right: -18px;
  padding: 1px 4px;
  border-radius: 4px;
  background: #e9b75c;
  color: #17130c;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .nav__links a[href="sponsors.html"] { display: block; }
}

/* Tablet and phone layout: keep every primary action visible and easy to tap. */
@media (min-width: 701px) and (max-width: 1024px) {
  .container {
    width: min(100% - 56px, 900px);
  }
  .nav {
    height: 84px;
  }
  .nav__links {
    gap: 15px;
  }
  .nav__links > a:not(.button) {
    font-size: 12px;
  }
  .button--small {
    padding: 9px 12px;
  }
  .hero {
    min-height: 680px;
  }
  .hero__content {
    padding-top: 15vh;
  }
  .section {
    padding: 88px 0;
  }
  .status-card {
    grid-template-columns: 1fr;
  }
  .status-card__metrics {
    justify-content: flex-start;
    padding-left: 80px;
  }
  .feature-card {
    padding-right: 20px;
    margin-right: 20px;
  }
  .safety-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .safety-card .button--dark {
    margin-left: 66px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 620px);
  }
  .hero {
    min-height: 720px;
    height: auto;
  }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(8, 11, 15, 0.82), rgba(8, 11, 15, 0.48)),
      linear-gradient(0deg, rgba(8, 11, 15, 0.7), transparent 60%);
  }
  .nav {
    position: relative;
    height: 76px;
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .brand span {
    font-size: 14px;
  }
  .brand small {
    font-size: 7px;
  }
  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(10, 13, 17, 0.28);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
  }
  .nav-toggle span {
    display: block;
    width: 17px;
    height: 1.5px;
    background: currentColor;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: absolute;
    z-index: 2;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(10, 13, 17, 0.72);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.98);
    transform-origin: top right;
    transition: opacity .2s ease, transform .24s ease, visibility .24s;
    pointer-events: none;
  }
  .nav__links.nav__links--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav__links > a:not(.button),
  .nav__links > a[href="sponsors.html"] {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    padding: 9px 13px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    opacity: 1;
  }
  .nav__links > .button {
    min-height: 44px;
    margin-top: 6px;
    padding: 9px 13px;
    border-color: var(--gold);
    font-size: 13px;
  }
  .nav__links a[href="sponsors.html"]::after {
    display: none;
  }
  .hero__content {
    padding-top: 135px;
    padding-bottom: 105px;
  }
  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }
  .hero__lead {
    max-width: 34rem;
    margin: 17px 0 24px;
    font-size: 15px;
  }
  .hero__actions {
    width: 100%;
    align-items: stretch;
    gap: 12px;
  }
  .hero__actions .button {
    min-height: 46px;
  }
  .text-link {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
  }
  .scroll-hint {
    bottom: 22px;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading h2,
  .safety-card h2 {
    font-size: clamp(31px, 9vw, 41px);
  }
  .status-card {
    margin-top: 30px;
    padding: 18px;
    border-radius: 2px;
  }
  .status-card__main {
    align-items: flex-start;
    gap: 13px;
  }
  .server-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    font-size: 26px;
  }
  .status-card h3 {
    font-size: 25px;
  }
  .motd {
    max-width: calc(100vw - 126px);
    white-space: pre-wrap;
  }
  .status-card__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 21px 0;
  }
  .status-card__metrics div {
    padding: 10px 12px;
    border: 1px solid var(--line);
  }
  .address-box {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .address-box code {
    overflow-wrap: anywhere;
    font-size: 16px;
  }
  .copy-button {
    min-height: 44px;
    width: 100%;
  }
  .status-note {
    line-height: 2.2;
  }
  .features-grid {
    margin-top: 30px;
  }
  .feature-card {
    padding: 24px 0;
  }
  .feature-card:last-child {
    border-bottom: 0;
  }
  .safety-section {
    padding: 56px 0;
  }
  .safety-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }
  .safety-card .button--dark {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    margin: 4px 0 0;
  }
  .footer {
    padding: 30px 0;
  }
  .footer__content > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .footer a {
    margin: 0;
  }
  .arrival-notices {
    width: min(100vw - 20px, 430px);
  }
  .arrival-notice {
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    gap: 10px;
    padding: 11px;
  }
  .notice-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .arrival-notice p {
    font-size: 11px;
  }
}
