:root {
  color-scheme: dark;
  --graphite-950: #101112;
  --graphite-900: #171819;
  --graphite-800: #222426;
  --silver: #eceeef;
  --silver-soft: #b8bbbd;
  --silver-muted: #a3a5a7;
  --orange: #ed792b;
  --orange-light: #ff9448;
  --amber-glass: rgba(39, 43, 46, 0.14);
  --amber-glass-tint: linear-gradient(155deg, rgba(237, 121, 43, 0.06), rgba(237, 121, 43, 0.025));
  --amber-glass-edge: rgba(238, 215, 198, 0.16);
  --amber-glass-hover: rgba(237, 121, 43, 0.10);
  --amber-glass-selected: rgba(237, 121, 43, 0.13);
  --amber-glass-edge-strong: rgba(255, 184, 132, 0.28);
  --drawer-height: 264px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-main: "Space Grotesk", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--graphite-900);
  color: var(--silver);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  color: inherit;
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--silver);
  color: var(--graphite-950);
}

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



.site-header {
  position: fixed;
  z-index: 10;
  top: 24px;
  /* Use the viewport center so classic scrollbars cannot shift the menu. */
  left: 50vw;
  width: max-content;
  transform: translateX(-50%);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glass-surface {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(230, 236, 239, 0.14);
  background: rgba(39, 43, 46, 0.14);
  box-shadow: 0 8px 24px rgba(8, 11, 13, 0.12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}



/* Warm tint on navigation and information only; the original optical
   backdrop filter and its fallback remain shared with neutral glass. */
.nav-shell.glass-surface,
.language-toggle.glass-surface,
.language-options.glass-surface,
.footer-handle.glass-surface,
.footer-drawer__panel.glass-surface {
  border-color: var(--amber-glass-edge);
  background-color: var(--amber-glass);
  background-image: var(--amber-glass-tint);
  box-shadow: inset 0 1px 0 rgba(255, 235, 219, 0.09), 0 8px 24px rgba(8, 11, 13, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 16px;
  overflow: hidden;
}

.nav-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  position: relative;
  z-index: 1;
  border-radius: 9px;
  color: rgba(236, 238, 239, 0.84);
  font-family: "Nunito Sans", var(--font-main);
  font-size: 14px;
  font-weight: 600;
  transition: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--amber-glass-hover);
  color: var(--silver);
}

.nav-link.is-current {
  background: var(--amber-glass-selected);
  box-shadow: inset 0 1px 0 rgba(255, 235, 219, 0.09);
  color: var(--silver);
}

.language-control {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  display: flex;
  transform: translateY(-50%);
}

.language-toggle {
  display: grid;
  width: 48px;
  height: 50px;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  color: rgba(242, 246, 238, 0.9);
  cursor: pointer;
  transition: none;
}

.language-toggle svg {
  width: 20px;
  height: 20px;
}

.language-toggle.glass-surface:hover,
.language-toggle.glass-surface:focus-visible,
.language-control[data-open="true"] .language-toggle.glass-surface {
  background-color: var(--amber-glass-hover);
  border-color: var(--amber-glass-edge-strong);
  color: var(--silver);
}

.language-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: 48px;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  visibility: hidden;
  transition: none;
}

.language-control[data-open="true"] .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.language-button {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(236, 238, 239, 0.75);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: none;
}

.language-button:hover,
.language-button:focus-visible {
  background: var(--amber-glass-hover);
  color: var(--silver);
}

.language-button.is-active {
  background: var(--amber-glass-selected);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 24px;
  background: #202439;
}

.hero__background,
.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__background {
  z-index: -2;
  object-fit: cover;
  object-position: center 54%;
}

.hero__shade {
  background: linear-gradient(
    180deg,
    rgba(16, 17, 18, 0.24) 0%,
    rgba(16, 17, 18, 0.2) 52%,
    rgba(16, 17, 18, 0.36) 100%
  );
  pointer-events: none;
}







.hero__center {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 32px;
  margin-top: -8px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  line-height: 0.9;
}

.play-button {
  display: inline-flex;
  width: 220px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid rgba(255, 198, 148, 0.28);
  border-radius: 18px;
  background: var(--orange);
  box-shadow: 0 5px 0 #a94c1d, 0 12px 20px rgba(0, 0, 0, 0.18);
  color: #171311;
  cursor: pointer;
  font-size: 24px;
  font-weight: 700;
  transition: none;
}

.play-button:hover {
  transform: translateY(-2px);
  background: var(--orange-light);
  box-shadow: 0 7px 0 #a94c1d, 0 16px 26px rgba(0, 0, 0, 0.2);
}

.play-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #a94c1d, 0 6px 10px rgba(0, 0, 0, 0.16);
}

.footer-drawer {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--drawer-height);
  transform: translateY(100%);
  transition: none;
}

.footer-drawer[data-open="true"] {
  transform: translateY(0);
}

.footer-drawer__panel {
  height: 100%;
  overflow-y: auto;
  padding: 64px 24px 24px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(8, 11, 13, 0.14);
}

.footer-drawer__panel.glass-surface {
  /* A neutral reading surface with only a trace of warm reflected light. */
  background-color: rgba(39, 43, 46, 0.20);
  background-image: linear-gradient(180deg, rgba(237, 121, 43, 0.035), transparent 65%);
  box-shadow: inset 0 1px 0 rgba(255, 235, 219, 0.09), 0 -8px 24px rgba(8, 11, 13, 0.14);
}

.footer-drawer__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1040px);
  grid-template-columns: minmax(200px, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  margin-inline: auto;
}

.footer-drawer__identity {
  display: grid;
  gap: 8px;
}

.footer-drawer__name {
  color: var(--silver);
  font-size: 16px;
  font-weight: 600;
}

.footer-drawer__disclaimer {
  margin: 0;
}

.footer-drawer__disclaimer {
  color: var(--silver-soft);
  font-size: 14px;
}

.footer-drawer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-legal-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(238, 215, 198, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--silver-soft);
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  transition: none;
}

.footer-legal-button:hover,
.footer-legal-button:focus-visible {
  border-color: var(--amber-glass-edge-strong);
  background: var(--amber-glass-hover);
  color: var(--silver);
}

.footer-legal-button[aria-current="page"] {
  border-color: rgba(243, 154, 55, 0.35);
  background: rgba(243, 154, 55, 0.08);
  color: var(--silver);
}

.footer-legal-button:active {
  transform: scale(0.98);
}

.footer-handle {
  position: fixed;
  z-index: 31;
  bottom: 12px;
  /* Match the header's viewport-centered axis across all pages. */
  left: 50vw;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  transform: translateX(-50%);
  border-radius: 14px;
  overflow: hidden;
  color: rgba(236, 238, 239, 0.88);
  cursor: pointer;
  transition: none;
}

.footer-handle.glass-surface:hover,
.footer-handle.glass-surface:focus-visible,
.footer-handle.glass-surface.is-open {
  background-color: var(--amber-glass-hover);
  border-color: var(--amber-glass-edge-strong);
  color: var(--silver);
}

.footer-handle.glass-surface.is-primed:not(.is-open) {
  transform: translate(-50%, -8px);
  color: var(--silver);
  background-color: var(--amber-glass-selected);
  border-color: var(--amber-glass-edge-strong);
}

.footer-handle.is-primed:not(.is-open) svg {
  transform: translateY(-3px);
}

.footer-handle.is-open {
  bottom: calc(var(--drawer-height) - 56px);
}

.footer-handle__label {
  font-family: "Nunito Sans", var(--font-main);
  font-size: 13px;
  font-weight: 500;
}

.footer-handle svg {
  width: 16px;
  height: 16px;
  transition: none;
}

.footer-handle.is-open svg {
  transform: rotate(180deg);
}

:focus-visible {
  outline: 2px solid var(--orange-light);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  :root {
    --drawer-height: 320px;
  }

  .footer-drawer__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-drawer__legal {
    justify-content: flex-start;
  }

  .footer-handle.is-open {
    bottom: calc(var(--drawer-height) - 56px);
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 16px;
  }

  .nav-shell {
    padding: 5px;
  }

  .nav-link {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .nav-cluster {
    gap: 6px;
  }

  .language-control {
    left: calc(100% + 6px);
  }

  .nav-shell {
    gap: 2px;
    padding: 5px;
    border-radius: 14px;
  }

  .language-toggle {
    width: 42px;
    height: 46px;
    border-radius: 12px;
  }

  .language-options {
    width: 42px;
  }

  .language-button {
    min-height: 36px;
    padding-inline: 4px;
  }

  .hero {
    padding: 80px 20px 64px;
  }

  .hero__background {
    object-position: 52% center;
  }

  .hero__shade {
    background: linear-gradient(
      180deg,
      rgba(16, 17, 18, 0.28) 0%,
      rgba(16, 17, 18, 0.24) 54%,
      rgba(16, 17, 18, 0.4) 100%
    );
  }

  .hero__center {
    gap: 28px;
  }



  .play-button {
    width: 196px;
    min-height: 58px;
    border-radius: 16px;
    font-size: 22px;
  }

  .footer-drawer__panel {
    padding-inline: 20px;
  }

  .footer-drawer__legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal-button {
    min-height: 44px;
    padding-inline: 10px;
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  .footer-drawer__legal {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

.donate-body {
  background: var(--graphite-950);
}

.legal-body {
  background: var(--graphite-950);
}

.legal-page {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--graphite-950);
}

.legal-page__content {
  width: min(100%, 960px);
  margin-inline: auto;
  padding: 136px 32px 112px;
}

.legal-page__header {
  max-width: 800px;
  margin-bottom: 40px;
}

.legal-page__eyebrow {
  margin: 0 0 12px;
  color: var(--orange-light);
  font-size: 13px;
  font-weight: 600;
}

.legal-page__header h1 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.legal-page__intro {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--silver-soft);
  font-size: 16px;
  line-height: 1.6;
}

.legal-document {
  display: grid;
  max-width: 760px;
  gap: 0;
}

.legal-section {
  padding: 24px 0;
  border-top: 1px solid rgba(236, 238, 239, 0.1);
}

.legal-section h2 {
  margin: 0;
  color: var(--silver);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.legal-section p {
  margin: 0;
  color: var(--silver-soft);
  font-size: 15px;
  line-height: 1.7;
}

.donate-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #111213;
}

.donate-page__backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-color: #111213;
  background-image:
    linear-gradient(180deg, rgba(17, 18, 19, 0.34) 0%, rgba(17, 18, 19, 0.7) 48rem, rgba(17, 18, 19, 0.92) 100%);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.donate-page__content {
  position: relative;
  z-index: 1;
  width: min(100%, 1264px);
  margin-inline: auto;
  padding: 132px 32px 112px;
}

.donate-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.donate-intro h1 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.donations-disabled {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 12px;
  margin: -24px 0 32px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 220, 91, .2);
  border-radius: 12px;
  background: rgba(255, 220, 91, .045);
  color: var(--silver);
  font-size: 15px;
  font-weight: 600;
}

.donations-disabled__icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(255, 220, 91, .2);
  border-radius: 8px;
  background: rgba(255, 220, 91, .07);
  color: var(--orange-light);
}

.donations-disabled__icon svg {
  width: 20px;
  height: 20px;
}

.donations-disabled[hidden] {
  display: none;
}

.store-mode-note {
  max-width: 420px;
  margin: 0;
  color: var(--silver-soft);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.store-player-field {
  display: grid;
  gap: 6px;
  width: min(100%, 420px);
  margin: -24px 0 36px auto;
  color: var(--silver-soft);
  font-size: 14px;
}

.store-player-field label { color: var(--silver); }
.store-player-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--amber-glass-edge-strong);
  border-radius: 9px;
  background: var(--graphite-950);
  color: var(--silver);
  font: inherit;
}
.store-player-field input:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 2px; }
.store-player-field p { margin: 0; color: var(--silver-muted); font-size: 12px; }

.donate-section + .donate-section {
  margin-top: 56px;
}

.donate-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.donate-section__heading h2 {
  margin: 0;
  color: var(--silver);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

.currency-card,
.rank-card {
  border: 1px solid rgba(236, 238, 239, 0.1);
  border-radius: 12px;
  background: rgba(25, 26, 27, 0.94);
}

.currency-card {
  display: grid;
  min-height: 136px;
  grid-template-rows: 1fr auto;
  gap: 24px;
  padding: 20px;
  transition: none;
}

.currency-card:hover {
  border-color: rgba(236, 238, 239, 0.2);
  background: rgba(31, 32, 33, 0.96);
}

.currency-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.currency-bonus {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(58, 114, 73, 0.2);
  color: #90c69b;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
}

.currency-card__amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
  margin: 0;
  color: var(--silver);
  font-size: 21px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.currency-card__amount > span:first-of-type {
  color: var(--orange-light);
}

.currency-card__amount del {
  color: var(--silver-muted);
  font-size: 13px;
  font-weight: 400;
}

.currency-card__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(236, 238, 239, 0.08);
}

.currency-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--silver);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.currency-card__price span,
.rank-card__price span {
  color: var(--silver-muted);
  font-size: 11px;
  font-weight: 500;
}

.purchase-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(243, 154, 55, 0.4);
  border-radius: 8px;
  background: rgba(243, 154, 55, 0.08);
  color: var(--orange-light);
  font: inherit;
  font-family: "Nunito Sans", var(--font-main);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: none;
}

.purchase-button:hover {
  border-color: rgba(243, 154, 55, 0.68);
  background: rgba(243, 154, 55, 0.15);
}

.purchase-button:active {
  transform: scale(0.98);
}

.purchase-button--small {
  min-width: 76px;
  min-height: 36px;
  padding-inline: 12px;
  font-size: 13px;
}

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

.rank-card {
  display: grid;
  min-height: 328px;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  gap: 20px;
  padding: 24px;
}

.rank-card__header {
  display: flex;
  min-height: 120px;
  align-items: center;
}

.rank-block {
  display: grid;
  width: 136px;
  height: 120px;
  place-items: center;
}

@font-face {
  font-family: "MinecraftSevenV2";
  src: url("/static/fonts/Minecraft-Seven_v2.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.rank-mark {
  display: inline-flex;
  width: 220px;
  min-width: 220px;
  height: 120px;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-family: "MinecraftSevenV2", sans-serif;
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.rank-mark__number { color: #fff; }
.rank-mark__plus { color: #ffaa00; }
.rank-mark--text { width: auto; height: auto; min-width: 0; font-family: inherit; font-size: 68px; font-weight: 700; line-height: 1; white-space: nowrap; }

.rank-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--orange-light);
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rank-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.rank-card__inheritance {
  margin: 0;
  color: var(--silver-soft);
  font-size: 12px;
}

.rank-perks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-perks li {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(236, 238, 239, 0.08);
  color: var(--silver-soft);
  font-size: 14px;
}

.rank-perks li:last-child {
  border-bottom: 0;
}

.rank-perks b {
  color: var(--silver);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.rank-card__footer > .purchase-button {
  flex: 1;
}

@media (max-width: 900px) {
  .donate-page__content {
    padding-inline: 24px;
  }

  .legal-page__content {
    padding-inline: 24px;
  }

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

@media (max-width: 600px) {
  .donate-page__content {
    padding: 112px 16px 104px;
  }

  .legal-page__content {
    padding: 112px 16px 104px;
  }

  .legal-page__header {
    margin-bottom: 32px;
  }

  .legal-page__header h1 {
    font-size: clamp(32px, 8vw, 40px);
  }

  .legal-document {
    gap: 20px;
  }

  .donate-intro {
    display: grid;
    gap: 12px;
    margin-bottom: 40px;
  }

  .donate-intro h1 {
    font-size: 40px;
  }

  .donations-disabled {
    margin: -24px 0 28px;
    padding: 12px;
    font-size: 14px;
  }

  .store-mode-note {
    text-align: left;
  }

  .store-player-field { margin: -16px 0 28px; }

  .donate-section + .donate-section {
    margin-top: 48px;
  }

  .donate-section__heading h2 {
    font-size: 22px;
  }

  .currency-grid,
  .ranks-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .currency-card {
    min-height: 128px;
  }

  .rank-card {
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }

  .rank-card__header {
    min-height: 72px;
  }

  .rank-block {
    width: 72px;
    height: 72px;
  }

  .rank-mark--text { font-size: 44px; }

  .rank-card__price {
    font-size: 20px;
  }

  .rank-perks li { min-height: 32px; }
}

/* Checkout feedback is shown only when a request fails. */
.checkout-feedback { margin: 12px 0 0; color: var(--orange-light); font-size: 13px; }


.legal-page__meta { color: var(--silver-muted); font-size: 13px; margin: 20px 0 0; }
.legal-notice { margin: 16px 0 0; padding: 12px 16px; border: 1px solid rgba(237,121,43,.18); border-radius: 12px; background: rgba(237,121,43,.05); color: var(--silver-soft); font-size: 14px; line-height: 1.6; }
.legal-toc { max-width: 760px; padding: 20px 24px; margin-bottom: 32px; border: 1px solid rgba(238,215,198,.16); border-radius: 14px; background: rgba(39,43,46,.14); box-shadow: inset 0 1px 0 rgba(255,235,219,.09); }
.legal-toc h2 { margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.legal-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal-toc a, .legal-related a { color: var(--silver-soft); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-toc a:hover, .legal-related a:hover { color: var(--orange-light); }
.legal-section { scroll-margin-top: 110px; }
.legal-section p { margin-top: 12px; }
.legal-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 10px 20px; margin: 16px 0 0; font-size: 14px; }
.legal-details dt { color: var(--silver); }
.legal-details dd { color: var(--silver-soft); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.legal-details-heading { margin-top: 24px !important; }
.legal-related { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 16px 0; border-top: 1px solid rgba(236,238,239,.1); font-size: 14px; }
@media(max-width: 600px) { .legal-details { grid-template-columns: 1fr; gap: 4px; } .legal-details dd { margin-bottom: 12px; } .legal-toc { padding: 16px; } }


/* 7SMP static theme: keep the original page layout and use flat gold surfaces. */
:root {
  --graphite-950: #101112;
  --graphite-900: #171819;
  --graphite-800: #222426;
  --silver: #f1eee2;
  --silver-soft: #c4c0b3;
  --silver-muted: #9c998f;
  --orange: #f4c945;
  --orange-light: #ffe66b;
  --amber-glass: rgba(25, 25, 24, .94);
  --amber-glass-tint: none;
  --amber-glass-edge: rgba(255, 220, 91, .35);
  --amber-glass-hover: rgba(255, 220, 91, .12);
  --amber-glass-selected: rgba(255, 220, 91, .14);
  --amber-glass-edge-strong: rgba(255, 226, 115, .65);
}

html, body { background: var(--graphite-900); }
.glass-surface,
.nav-shell.glass-surface,
.language-toggle.glass-surface,
.language-options.glass-surface,
.footer-handle.glass-surface,
.footer-drawer__panel.glass-surface {
  border-color: var(--amber-glass-edge);
  background: rgba(20, 21, 22, .94);
  background-image: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav-link.is-current,
.nav-link:hover,
.nav-link:focus-visible,
.language-button.is-active,
.language-button:hover,
.footer-legal-button[aria-current="page"] {
  background: rgba(255, 220, 91, .12);
  color: var(--orange-light);
  box-shadow: none;
}

.hero__background { filter: blur(4px); transform: scale(1.03); }
.hero__shade {
  background: linear-gradient(180deg, rgba(16, 17, 18, .30), rgba(16, 17, 18, .28) 52%, rgba(16, 17, 18, .46));
}
.hero__center { gap: 30px; }
.hero__logo {
  display: block;
  width: min(640px, 78vw);
  height: auto;
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.play-button {
  width: 220px;
  min-height: 64px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  background: var(--orange);
  box-shadow: none;
  color: #171311;
}
.play-button:hover,
.play-button:active { transform: none; background: var(--orange-light); box-shadow: none; }
.footer-drawer { transition: none; }
.footer-drawer__panel.glass-surface { background: rgba(20, 21, 22, .98); }
.footer-handle.is-open { bottom: calc(var(--drawer-height) - 56px); }
.footer-legal-button { border-color: var(--amber-glass-edge); background: rgba(255,255,255,.025); }
.footer-legal-button:hover,
.footer-legal-button:focus-visible { background: rgba(255, 220, 91, .10); color: var(--orange-light); }

.donate-body, .legal-body, .legal-page, .donate-page { background: var(--graphite-950); }
.donate-page__backdrop {
  background-color: var(--graphite-950);
  background-image: linear-gradient(180deg, rgba(16,17,18,.28), rgba(16,17,18,.72) 48rem, rgba(16,17,18,.94));
}
.donate-intro h1, .legal-page__header h1 { color: var(--silver); }
.donate-section__heading h2 { color: var(--orange-light); }
.rank-card, .currency-card { border-color: rgba(255, 220, 91, .18); background: rgba(27, 28, 29, .96); }
.rank-card__price, .currency-card__amount > span:first-of-type { color: var(--orange-light); }
.purchase-button {
  border-color: rgba(255, 220, 91, .45);
  background: rgba(255, 220, 91, .08);
  color: var(--orange-light);
  box-shadow: none;
}
.purchase-button:hover, .purchase-button:active { border-color: var(--amber-glass-edge-strong); background: rgba(255, 220, 91, .14); transform: none; }
.purchase-button:disabled { border-color: rgba(236,238,239,.12); background: rgba(255,255,255,.025); color: var(--silver-muted); cursor: not-allowed; }
.store-mode-note { color: var(--silver-soft); }
.currency-mark { display: inline-block; width: .9em; height: .9em; object-fit: contain; vertical-align: -.1em; }
.currency-card__amount { align-items: center; }
.currency-card__amount .currency-mark { width: 24px; height: 24px; }
.legal-page__content { padding-top: 136px; }
.legal-page__meta { color: var(--silver-muted); }
.legal-notice { border-color: rgba(255,220,91,.2); background: rgba(255,220,91,.045); color: var(--silver-soft); }
.legal-toc { border-color: rgba(255,220,91,.2); background: rgba(28,29,30,.92); box-shadow: none; }
.legal-toc a:hover, .legal-related a:hover { color: var(--orange-light); }
.legal-section { border-top-color: rgba(255,220,91,.16); scroll-margin-top: 110px; }
.legal-section h2, .legal-toc h2 { color: var(--orange-light); }
.legal-section p { margin-top: 12px; }
.legal-details { border-color: rgba(255,220,91,.15); }
.legal-details dt, .legal-details dd { border-color: rgba(255,220,91,.15); }
.legal-related { border-color: rgba(255,220,91,.15); }

/* Remove the old liquid glass, shimmer, blur and movement effects. */
*, *::before, *::after {
  transition: none;
  animation: none !important;
  scroll-behavior: auto !important;
}
.glass-surface { filter: none !important; }
.glass-surface { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

@media (max-width: 600px) {
  .hero__logo { width: min(480px, 82vw); }
  .legal-page__content { padding-top: 112px; }
  .donate-intro h1 { font-size: clamp(32px, 8vw, 40px); }
}

/* The 7SMP mark is the warm focal point; keep its light local and still. */
.hero__center {
  isolation: isolate;
}
.hero__center::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -56px;
  left: 50%;
  width: min(1100px, 124vw);
  height: 500px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 210, 70, .38) 0%, rgba(255, 179, 45, .22) 36%, rgba(255, 150, 28, .09) 60%, transparent 80%);
  filter: blur(20px);
  pointer-events: none;
}

.rank-card {
  border-color: rgba(255, 220, 91, .32);
  background: linear-gradient(145deg, rgba(40, 35, 25, .98), rgba(27, 28, 29, .98) 48%, rgba(20, 21, 22, .99));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 235, 160, .12);
}
.rank-card:hover {
  border-color: rgba(255, 220, 91, .48);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 235, 160, .16);
}
.rank-block {
  width: 220px;
  height: 120px;
}

@media (max-width: 600px) {
  .hero__center::before {
    top: -16px;
    width: min(720px, 130vw);
    height: 360px;
  }
  .rank-block {
    width: 220px;
    height: 120px;
  }
  .rank-mark { font-size: 88px; }
}
