:root {
  color-scheme: dark;
  --bg: #0b0d16;
  --bg-soft: #151827;
  --ink: #161928;
  --ink-soft: #2c3145;
  --paper: #fff5dc;
  --paper-soft: #f3dfb2;
  --text: #fff7e6;
  --muted: #c4c9d8;
  --line: rgba(255, 255, 255, 0.16);
  --topbar-bg: rgba(13, 16, 28, 0.76);
  --nav-hover: rgba(255, 255, 255, 0.1);
  --section-wash: rgba(255, 255, 255, 0.035);
  --surface-wash: rgba(255, 255, 255, 0.025);
  --badge-bg: rgba(13, 16, 28, 0.66);
  --badge-text: #fff5dc;
  --grid-opacity: 0.08;
  --particle-opacity: 0.18;
  --gold: #ffc857;
  --gold-deep: #b9791d;
  --cyan: #43c7ff;
  --coral: #ff5b6a;
  --green: #69d878;
  --violet: #8c6cff;
  --shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  --paper-shadow: 0 9px 0 rgba(0, 0, 0, 0.18), 0 20px 34px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f5e8cf;
  --bg-soft: #fff2d2;
  --ink: #171928;
  --ink-soft: #34384d;
  --paper: #fff0ca;
  --paper-soft: #f2d89f;
  --text: #171928;
  --muted: #4f556b;
  --line: rgba(25, 27, 40, 0.16);
  --topbar-bg: rgba(255, 240, 202, 0.82);
  --nav-hover: rgba(22, 25, 40, 0.08);
  --section-wash: rgba(255, 240, 202, 0.48);
  --surface-wash: rgba(255, 240, 202, 0.38);
  --badge-bg: rgba(255, 240, 202, 0.9);
  --badge-text: #171928;
  --grid-opacity: 0.1;
  --particle-opacity: 0.26;
  --shadow: 0 18px 34px rgba(63, 45, 16, 0.18);
  --paper-shadow: 0 8px 0 rgba(63, 45, 16, 0.18), 0 20px 34px rgba(63, 45, 16, 0.16);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: var(--grid-opacity);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 42px 42px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

body,
.paper-bg,
.topbar,
.mobile-nav,
.paper-card,
.paper-frame,
.hero-badges span,
.ticker span,
.updates-filter-bar,
.updates-filter-bar button,
.button,
.icon-button,
.menu-button {
  transition:
    background-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.paper-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 9, 18, 0.78) 0%, rgba(7, 9, 18, 0.54) 44%, rgba(7, 9, 18, 0.28) 67%, rgba(7, 9, 18, 0.72) 100%),
    linear-gradient(180deg, rgba(7, 9, 18, 0.2), rgba(11, 13, 22, 0.92) 86%, rgba(11, 13, 22, 0.96)),
    url("/assets/images/main_bg_hd.png") center top / cover no-repeat,
    var(--bg);
  transform: translateZ(0);
}
[data-theme="light"] .paper-bg {
  background:
    linear-gradient(90deg, rgba(255, 243, 212, 0.88) 0%, rgba(255, 240, 202, 0.58) 36%, rgba(255, 240, 202, 0.22) 66%, rgba(255, 236, 194, 0.8) 100%),
    linear-gradient(180deg, rgba(255, 244, 218, 0.38), rgba(245, 232, 207, 0.9) 82%, rgba(245, 232, 207, 0.98)),
    url("/assets/images/main_bg_hd.png") center top / cover no-repeat,
    var(--bg);
  filter: saturate(1.05) brightness(1.08);
}
.paper-bg::before {
  content: "";
  position: absolute;
  inset: -18%;
  opacity: 0.08;
}

.lunia-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint style;
}
.lunia-particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0 16%, var(--tone) 30%, transparent 72%);
  opacity: var(--particle-opacity);
  box-shadow: 0 0 calc(var(--s) * 2.6) var(--tone);
  transform: translate3d(0, 0, 0) rotate(0deg) scale(0.9);
  animation: luniaParticle var(--d) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

main,
.footer {
  position: relative;
  z-index: 1;
}
.paper-bg::before {
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(255, 245, 220, 0.22) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(67, 199, 255, 0.14) 19px 20px);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 60;
  width: min(1180px, calc(100% - 28px));
  min-height: 74px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--topbar-bg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  width: 150px;
  flex: 0 0 auto;
  position: relative;
  display: block;
  isolation: isolate;
}
.brand::before,
.logo-sigil::before {
  content: "";
  position: absolute;
  inset: -9px -14px;
  z-index: -1;
  border-radius: 18px;
  background:
    conic-gradient(from 90deg, transparent 0 14%, rgba(67, 199, 255, 0.44), transparent 42% 58%, rgba(255, 200, 87, 0.44), transparent 86% 100%);
  filter: blur(12px);
  opacity: 0.54;
  animation: logoAura 4.8s ease-in-out infinite;
}
.brand img,
.hero-logo,
.footer img {
  filter:
    drop-shadow(0 2px 0 rgba(255,255,255,0.92))
    drop-shadow(0 -2px 0 rgba(255,255,255,0.92))
    drop-shadow(2px 0 0 rgba(255,255,255,0.92))
    drop-shadow(-2px 0 0 rgba(255,255,255,0.92))
    drop-shadow(9px 12px 0 rgba(0,0,0,0.22));
}
.brand img {
  position: relative;
  z-index: 1;
  animation: logoFloat 5.6s ease-in-out infinite;
  will-change: transform;
}
.brand:hover img,
.logo-sigil:hover .hero-logo {
  animation: logoPop 0.42s cubic-bezier(.2, 1.4, .3, 1) both;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.desktop-nav a,
.mobile-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}
.desktop-nav a:hover,
.mobile-nav a:hover,
.desktop-nav a.active,
.mobile-nav a.active {
  background: var(--nav-hover);
  color: var(--text);
}
[data-theme="light"] .desktop-nav a,
[data-theme="light"] .mobile-nav a {
  color: #4a5064;
}
[data-theme="light"] .desktop-nav a:hover,
[data-theme="light"] .mobile-nav a:hover,
[data-theme="light"] .desktop-nav a.active,
[data-theme="light"] .mobile-nav a.active {
  color: var(--ink);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button,
.icon-button,
.menu-button {
  --hover-y: -3px;
  --hover-y-mid: -6px;
  --hover-rotate: 0deg;
  --hover-rotate-mid: 0deg;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: box-shadow 0.18s ease, filter 0.18s ease;
  will-change: transform;
}
.button:is(:hover, :focus-visible),
.icon-button:is(:hover, :focus-visible),
.menu-button:is(:hover, :focus-visible) {
  animation: controlHoverFloat 1.65s ease-in-out infinite;
  filter: saturate(1.08);
}
.button.primary:is(:hover, :focus-visible) {
  --hover-rotate: -1deg;
  --hover-rotate-mid: -0.35deg;
  box-shadow: 0 7px 0 #a73742, 0 18px 26px rgba(0,0,0,0.24);
}
.button.paper:is(:hover, :focus-visible),
.icon-button:is(:hover, :focus-visible),
.menu-button:is(:hover, :focus-visible) {
  --hover-rotate: 1deg;
  --hover-rotate-mid: 0.35deg;
  box-shadow: 0 7px 0 rgba(0,0,0,0.22), 0 18px 26px rgba(0,0,0,0.18);
}
.button.primary {
  background: linear-gradient(135deg, var(--gold), #ff9d39 54%, var(--coral));
  box-shadow: 0 5px 0 #a73742, 0 13px 22px rgba(0,0,0,0.22);
}
.button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.18) saturate(0.82);
  opacity: 0.72;
}
.button:disabled:is(:hover, :focus-visible) {
  animation: none;
}
.button.primary::before,
.button.paper::before,
.icon-button::before,
.menu-button::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 8px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.36);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.button::after,
.icon-button::after,
.menu-button::after,
.tabs button::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    -12px 11px 0 -2px var(--cyan),
    10px 17px 0 -3px var(--coral);
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(0.65);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.button:is(:hover, :focus-visible)::before,
.icon-button:is(:hover, :focus-visible)::before,
.menu-button:is(:hover, :focus-visible)::before {
  opacity: 1;
  transform: translateY(-2px) scaleX(1.05);
}
.button:is(:hover, :focus-visible)::after,
.icon-button:is(:hover, :focus-visible)::after,
.menu-button:is(:hover, :focus-visible)::after,
.tabs button:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translate3d(0, -4px, 0) scale(0.92);
}
.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}
.button.paper,
.icon-button,
.menu-button {
  background: var(--paper);
  box-shadow: 0 5px 0 rgba(0,0,0,0.22), 0 12px 22px rgba(0,0,0,0.14);
}
.button.large {
  min-height: 54px;
  padding: 14px 26px;
}
.icon-button {
  min-width: 46px;
  width: 46px;
  padding: 0;
  border-radius: 50%;
}
.icon-button span {
  position: relative;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -7px -4px 0 var(--gold);
}
[data-theme="light"] .icon-button span {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(22,25,40,0.18);
}
[data-theme="light"] .icon-button span::before {
  content: "";
  position: absolute;
  inset: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 2px 5px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) center / 5px 2px no-repeat;
  opacity: 0.72;
}
.menu-button {
  display: none;
  width: 48px;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.menu-button span {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
}
.mobile-nav {
  position: fixed;
  top: 100px;
  left: 50%;
  z-index: 55;
  display: none;
  width: min(420px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 16, 28, 0.94);
  box-shadow: var(--shadow);
}
.mobile-nav.open {
  display: grid;
  gap: 4px;
}

.hero {
  min-height: 100vh;
  padding: 148px 0 70px;
  display: grid;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: center;
}
.hero-copy {
  min-width: 0;
  max-width: 650px;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(67, 199, 255, 0.34);
  border-radius: 999px;
  background: rgba(67, 199, 255, 0.12);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow.compact {
  margin-bottom: 8px;
}
.logo-sigil {
  position: relative;
  width: fit-content;
  isolation: isolate;
}
.logo-sigil::before {
  inset: -28px -34px;
  border-radius: 34px;
  opacity: 0.62;
  filter: blur(17px);
}
.hero-logo {
  position: relative;
  z-index: 1;
  width: min(520px, 88vw);
  margin: 8px 0 18px -7px;
  transform: rotate(-1.4deg);
  animation: logoFloat 5.8s ease-in-out infinite;
  will-change: transform;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 16px;
  max-width: 680px;
  font-size: clamp(4rem, 8.2vw, 8.3rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 9px 0 rgba(0,0,0,0.18), 0 0 28px rgba(67,199,255,0.18);
}
.hero-kicker {
  max-width: 590px;
  margin: 2px 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
[data-theme="light"] .hero-kicker {
  color: var(--ink);
  text-shadow: none;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1;
  letter-spacing: 0;
}
h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}
p {
  color: var(--muted);
  line-height: 1.7;
}
.hero-copy p {
  max-width: 580px;
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 245, 220, 0.28);
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
}
.hero-news {
  --rest-rotate: -0.8deg;
  --hover-rotate: 0.6deg;
  --hover-rotate-mid: 0.2deg;
  --hover-y: -4px;
  --hover-y-mid: -8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(560px, 100%);
  margin-top: 18px;
  padding: 13px 16px;
  transform: rotate(var(--rest-rotate));
  transition: box-shadow 0.18s ease, filter 0.18s ease;
  will-change: transform;
}
.hero-news:is(:hover, :focus-visible) {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
  filter: saturate(1.08);
}
.hero-news strong,
.hero-news span:last-child {
  position: relative;
  z-index: 1;
}
.hero-news strong {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-news span:last-child {
  color: #62697a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
  isolation: isolate;
}
.hero-stickers {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
}
.hero-sticker {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 4px solid var(--paper);
  border-radius: 17px;
  background: var(--paper);
  object-fit: cover;
  box-shadow: 0 7px 0 rgba(0,0,0,0.18), 0 16px 24px rgba(0,0,0,0.22);
  animation: stickerBob 5.4s ease-in-out infinite;
  will-change: transform;
}
.sticker-a {
  left: 18px;
  top: 54px;
  transform: rotate(-8deg);
}
.sticker-b {
  right: 62px;
  top: 68px;
  transform: rotate(7deg);
  animation-delay: -1.8s;
}
.sticker-c {
  left: 128px;
  bottom: 132px;
  transform: rotate(5deg);
  animation-delay: -3.2s;
}
.hero-rune {
  position: absolute;
  z-index: 8;
  padding: 9px 14px;
  border: 1px solid rgba(255, 245, 220, 0.32);
  border-radius: 999px;
  background: rgba(13, 16, 28, 0.74);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  backdrop-filter: blur(12px);
  animation: runeFloat 5.8s ease-in-out infinite;
}
.hero-rune-a {
  top: -16px;
  right: 34px;
  transform: rotate(3deg);
}
.hero-rune-b {
  right: -8px;
  bottom: 114px;
  transform: rotate(-2deg);
  animation-delay: -2.4s;
}
.paper-frame {
  position: relative;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--paper-shadow);
}
.paper-frame::after,
.paper-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.35), transparent 34%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.026) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
  opacity: 0.32;
}
.hero-banner {
  width: 100%;
  aspect-ratio: 16 / 10;
  transform: rotate(1.4deg);
  animation: bannerFloat 7s ease-in-out infinite;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.02);
}
.status-card {
  position: absolute;
  left: -24px;
  bottom: 12px;
  width: min(440px, calc(100% - 24px));
  transform: rotate(-1.8deg);
  animation: statusFloat 6.8s ease-in-out infinite;
}

.paper-card {
  position: relative;
  border: 1px solid rgba(22, 25, 40, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.64), rgba(255,255,255,0.08) 42%, transparent),
    var(--paper);
  color: var(--ink);
  box-shadow: var(--paper-shadow);
}
.status-card,
.feature-card,
.leaderboard,
.checkout,
.donation-card {
  padding: 24px;
}
.status-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  font-weight: 950;
}
.status-head strong {
  color: #159f54;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.status-grid div,
.leaderboard li {
  border-radius: 12px;
  background: rgba(22, 25, 40, 0.075);
}
.status-grid div {
  min-width: 0;
  padding: 13px 9px;
  text-align: center;
}
.status-grid strong,
.status-grid span {
  display: block;
}
.status-grid strong {
  font-size: 1.45rem;
  line-height: 1;
}
.status-grid span {
  margin-top: 6px;
  color: #63697a;
  font-size: clamp(0.58rem, 1vw, 0.66rem);
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-section {
  padding: 0 0 42px;
}
.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ticker span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 245, 220, 0.94);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
  box-shadow: 0 5px 0 rgba(0,0,0,0.17);
}

.alpha-section {
  padding: 34px 0 76px;
}
.alpha-card {
  --rest-rotate: -0.35deg;
  --hover-rotate: -0.65deg;
  --hover-rotate-mid: -0.15deg;
  --hover-y: -3px;
  --hover-y-mid: -8px;
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
  overflow: hidden;
  transform: rotate(var(--rest-rotate));
  animation: alphaNoticeFloat 6.8s ease-in-out infinite;
  will-change: transform;
}
.alpha-card:is(:hover, :focus-within) {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
  filter: saturate(1.06);
}
.alpha-card::before {
  content: "";
  position: absolute;
  right: 24px;
  top: 20px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(67,199,255,0.42), transparent 62%),
    radial-gradient(circle at 62% 38%, rgba(255,200,87,0.5), transparent 28%);
  filter: blur(1px);
  opacity: 0.8;
  pointer-events: none;
}
.alpha-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
.alpha-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.alpha-lead {
  margin: 0;
  color: #4f556b;
  font-weight: 850;
  line-height: 1.55;
}
.alpha-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.alpha-points span {
  display: grid;
  gap: 3px;
  min-height: 78px;
  padding: 13px;
  border-radius: 13px;
  background: rgba(22, 25, 40, 0.075);
}
.alpha-points strong {
  color: var(--ink);
  font-size: 0.92rem;
}
.alpha-points small {
  color: #62697a;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.3;
}

.section {
  padding: 86px 0;
  scroll-margin-top: 132px;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-heading.left {
  margin-left: 0;
  text-align: left;
}
.updates-section {
  position: relative;
  background: linear-gradient(180deg, var(--section-wash), rgba(255,255,255,0.012));
}
.updates-shell {
  display: grid;
  gap: 24px;
}
.updates-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.updates-report-link {
  align-self: end;
  white-space: nowrap;
}
.updates-filter-bar {
  position: sticky;
  top: 104px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 16, 28, 0.74);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
[data-theme="light"] .updates-filter-bar {
  background: rgba(255, 240, 202, 0.86);
}
.updates-filter-bar button {
  --hover-y: -2px;
  --hover-y-mid: -5px;
  --hover-rotate: -0.6deg;
  --hover-rotate-mid: -0.2deg;
  position: relative;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  background: transparent;
  color: var(--muted);
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
}
.updates-filter-bar button:is(:hover, :focus-visible),
.updates-filter-bar button.active {
  animation: controlHoverFloat 1.65s ease-in-out infinite;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 5px 0 rgba(0,0,0,0.18), 0 13px 20px rgba(0,0,0,0.14);
}
.updates-filter-bar button.active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #ffb254 64%, var(--coral));
}
.server-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.updates-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.updates-tabs button {
  --hover-y: -2px;
  --hover-y-mid: -6px;
  --hover-rotate: -1deg;
  --hover-rotate-mid: -0.3deg;
  position: relative;
  min-height: 46px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 245, 220, 0.92);
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(0,0,0,0.16), 0 14px 22px rgba(0,0,0,0.14);
  transition: background 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  will-change: transform;
}
.updates-tabs button:is(:hover, :focus-visible),
.updates-tabs button.active {
  animation: controlHoverFloat 1.65s ease-in-out infinite;
  filter: saturate(1.08);
}
.updates-tabs button.active {
  background: linear-gradient(135deg, var(--gold), #ff9d39 58%, var(--coral));
  box-shadow: 0 7px 0 #a73742, 0 18px 26px rgba(0,0,0,0.24);
}
.updates-panel[hidden] {
  display: none;
}
.updates-panel.active {
  display: block;
}
.news-layout {
  display: block;
}
.news-stack {
  display: grid;
  gap: 16px;
}
.news-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-board.grouped-news-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}
.news-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.news-group-head {
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(255, 245, 220, 0.22);
  border-radius: 16px;
  background: rgba(13, 16, 28, 0.58);
  box-shadow: 0 6px 0 rgba(0,0,0,0.16), 0 14px 22px rgba(0,0,0,0.14);
  backdrop-filter: blur(12px);
}
[data-theme="light"] .news-group-head {
  background: rgba(255, 240, 202, 0.82);
}
.news-group-head .news-type {
  margin-bottom: 10px;
}
.news-group-head small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}
[data-theme="light"] .news-group-head small {
  color: #62697a;
}
.news-group-list {
  display: grid;
  gap: 10px;
}
.news-mini-card,
.news-mini-empty {
  width: 100%;
  min-height: 104px;
  border: 0;
  border-radius: 14px;
  padding: 15px;
  background: rgba(255, 245, 220, 0.94);
  color: var(--ink);
  box-shadow: 0 5px 0 rgba(0,0,0,0.16), 0 12px 20px rgba(0,0,0,0.13);
}
.news-mini-card {
  --hover-y: -3px;
  --hover-y-mid: -6px;
  --hover-rotate: 0.45deg;
  --hover-rotate-mid: 0.1deg;
  display: grid;
  align-content: start;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: filter 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
  will-change: transform;
}
.news-mini-card:is(:hover, :focus-visible),
.news-mini-card.selected {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
  filter: saturate(1.06);
  outline: 3px solid rgba(67, 199, 255, 0.5);
  outline-offset: 2px;
}
.news-mini-top,
.news-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.news-card-top {
  margin-bottom: 16px;
}
.news-card-top .news-type {
  margin-bottom: 0;
}
.news-mini-card strong {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-mini-card small,
.news-mini-empty small {
  color: #62697a;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.35;
  text-transform: uppercase;
}
.news-mini-empty {
  display: grid;
  align-content: center;
  gap: 5px;
  opacity: 0.78;
}
.news-mini-empty strong {
  color: var(--ink);
}
.latest-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(0,0,0,0.16);
}
.news-card {
  --rest-rotate: var(--news-tilt, -0.5deg);
  --hover-rotate: 0.75deg;
  --hover-rotate-mid: 0.2deg;
  --hover-y: -5px;
  --hover-y-mid: -9px;
  width: 100%;
  min-height: 178px;
  border: 0;
  padding: 22px;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transform: rotate(var(--rest-rotate));
  transition: filter 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
  will-change: transform;
}
.news-card:nth-child(2) {
  --news-tilt: 0.7deg;
  --hover-rotate: -0.65deg;
  --hover-rotate-mid: -0.15deg;
}
.news-card:nth-child(3) {
  --news-tilt: -0.2deg;
  --hover-rotate: 0.55deg;
  --hover-rotate-mid: 0.15deg;
}
.news-card.pinned {
  grid-row: span 2;
  min-height: 240px;
}
.news-card:is(:hover, :focus-visible),
.news-card.selected {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
  filter: saturate(1.06);
  outline: 3px solid rgba(67, 199, 255, 0.52);
  outline-offset: 3px;
}
.news-card.selected { --hover-y: -3px; --hover-y-mid: -6px; }
.news-type {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.news-type.cyan { background: var(--cyan); }
.news-type.coral { background: var(--coral); }
.news-type.gold { background: var(--gold); }
.news-card h3,
.news-card p,
.news-card time {
  position: relative;
  z-index: 1;
}
.news-card time {
  color: #62697a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-detail {
  --rest-rotate: 0.35deg;
  padding: 22px;
  transform: rotate(var(--rest-rotate));
}
.news-detail h3,
.news-detail p,
.news-detail time {
  position: relative;
  z-index: 1;
}
.news-detail time {
  color: #62697a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.changelog-layout,
.report-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.compact-heading {
  margin-bottom: 0;
}
.changelog-stack {
  display: grid;
  gap: 16px;
}
.changelog-list {
  display: grid;
  gap: 14px;
}
.changelog-card {
  --rest-rotate: -0.35deg;
  --hover-rotate: 0.55deg;
  --hover-rotate-mid: 0.1deg;
  --hover-y: -4px;
  --hover-y-mid: -8px;
  width: 100%;
  border: 0;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transform: rotate(var(--rest-rotate));
  transition: filter 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
  will-change: transform;
}
.changelog-card:nth-child(2n) {
  --rest-rotate: 0.45deg;
  --hover-rotate: -0.5deg;
  --hover-rotate-mid: -0.1deg;
}
.changelog-card:is(:hover, :focus-visible),
.changelog-card.selected {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
  filter: saturate(1.07);
  outline: 3px solid rgba(67, 199, 255, 0.52);
  outline-offset: 3px;
}
.changelog-card h3,
.changelog-card p,
.changelog-card time {
  position: relative;
  z-index: 1;
}
.changelog-card time {
  color: #62697a;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.report-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}
.report-form .wide-field,
.report-form .button,
.report-form .form-result {
  grid-column: 1 / -1;
}
textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 2px solid rgba(22,25,40,0.7);
  border-radius: 13px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}

.server-highlights,
.donation-grid {
  display: grid;
  gap: 18px;
}
.feature-card {
  --rest-rotate: -0.45deg;
  --hover-rotate: -1deg;
  --hover-rotate-mid: -0.35deg;
  --hover-y: -5px;
  --hover-y-mid: -9px;
  min-height: 190px;
  overflow: hidden;
  transform: rotate(var(--rest-rotate));
  transition: filter 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}
.feature-card:nth-child(2n) {
  --rest-rotate: 0.6deg;
  --hover-rotate: 1deg;
  --hover-rotate-mid: 0.3deg;
}
.feature-card:is(:hover, :focus-visible),
.class-card:is(:hover, :focus-visible),
.donation-card:is(:hover, :focus-visible) {
  filter: saturate(1.08);
}
.feature-card:is(:hover, :focus-visible),
.class-card:is(:hover, :focus-visible),
.donation-card:is(:hover, :focus-visible) {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
}
.feature-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 15px;
  border: 2px solid rgba(22,25,40,0.72);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 5px 0 rgba(22,25,40,0.18);
}
.feature-token.gold { background: var(--gold); }
.feature-token.cyan { background: var(--cyan); }
.feature-token.coral { background: var(--coral); }
.feature-token.green { background: var(--green); }

.character-section {
  background: var(--section-wash);
}
.class-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 14px;
}
.class-card {
  --rest-rotate: var(--tilt, 0deg);
  --hover-rotate: 2deg;
  --hover-rotate-mid: 0.8deg;
  --hover-y: -5px;
  --hover-y-mid: -9px;
  min-height: 142px;
  padding: 18px 12px;
  text-align: center;
  transform: rotate(var(--rest-rotate));
  overflow: hidden;
  transition: filter 0.18s ease;
  will-change: transform;
}
.class-token {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border: 2px solid rgba(22,25,40,0.72);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.42), transparent 44%),
    var(--class-color, var(--gold));
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 6px 0 rgba(22,25,40,0.18);
  overflow: hidden;
}
.class-token img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
  transition: transform 0.18s ease;
}
.class-card:hover .class-token img {
  transform: translate3d(0, -3px, 0) scale(1.16);
}
.class-token::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3), inset 0 -18px 24px rgba(0,0,0,0.12);
  pointer-events: none;
}
.class-card h3 {
  margin-bottom: 2px;
  font-size: 0.96rem;
}
.class-card p {
  margin: 0;
  color: #62697a;
  font-size: 0.77rem;
  font-weight: 850;
}

.download-layout,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 40px;
  align-items: center;
}
.download-section {
  min-height: 440px;
}
.download-slot {
  --rest-rotate: 0.35deg;
  --hover-rotate: -0.45deg;
  --hover-rotate-mid: -0.12deg;
  --hover-y: -3px;
  --hover-y-mid: -6px;
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 32px;
  transform: rotate(var(--rest-rotate));
}
.download-slot h3,
.download-slot p {
  position: relative;
  z-index: 1;
}
.download-actions {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.download-form {
  display: block;
  min-width: 0;
  margin: 0;
}
.download-choice {
  --choice-bg: var(--paper);
  --choice-shadow: rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: grid;
  width: 100%;
  min-height: 104px;
  align-content: center;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 36, 55, 0.14);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  background: var(--choice-bg);
  box-shadow: 0 5px 0 var(--choice-shadow), 0 14px 22px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.download-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.34), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(67, 199, 255, 0.24), transparent 28%);
  pointer-events: none;
}
.download-choice:is(:hover, :focus-visible) {
  transform: translateY(-3px);
  filter: saturate(1.07);
  box-shadow: 0 8px 0 var(--choice-shadow), 0 20px 26px rgba(0, 0, 0, 0.2);
}
.download-choice.primary-choice {
  --choice-bg: linear-gradient(135deg, var(--gold), #ffb04e 56%, var(--coral));
  --choice-shadow: #a73742;
}
.download-choice span,
.download-choice strong,
.download-choice small {
  position: relative;
  z-index: 1;
}
.download-choice span {
  color: rgba(31, 36, 55, 0.72);
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}
.download-choice strong {
  font-size: 1rem;
  line-height: 1.12;
}
.download-choice small {
  color: #62697a;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
}
.download-slot:is(:hover, :focus-visible-within) {
  animation: cardHoverFloat 1.9s ease-in-out infinite;
  filter: saturate(1.06);
}

.leaderboard ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tabs button {
  --hover-y: -2px;
  --hover-y-mid: -5px;
  --hover-rotate: -1deg;
  --hover-rotate-mid: -0.3deg;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(22,25,40,0.09);
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
  white-space: nowrap;
}
.tabs button:is(:hover, :focus-visible) {
  animation: controlHoverFloat 1.65s ease-in-out infinite;
}
.tabs .active {
  background: var(--cyan);
  box-shadow: 0 4px 0 rgba(22,25,40,0.2);
}
.leaderboard li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 12px;
  padding: 12px;
}
.leaderboard li.empty-row {
  grid-template-columns: 1fr;
  min-height: 74px;
  padding: 18px;
}
.leaderboard li.empty-row strong {
  color: #62697a;
}
.leaderboard li span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--gold);
  font-weight: 950;
}
.leaderboard em {
  color: #62697a;
  font-style: normal;
  font-weight: 950;
  min-width: 0;
  max-width: 100%;
  text-align: right;
  overflow-wrap: anywhere;
}

.donate-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 200, 87, 0.1), transparent 24%),
    var(--surface-wash);
}
.support-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.support-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.support-notes span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 245, 220, 0.94);
  color: var(--ink);
  font-size: 0.77rem;
  font-weight: 950;
  box-shadow: 0 5px 0 rgba(0,0,0,0.14);
}
.support-board {
  display: grid;
  gap: 16px;
}
.donation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.donation-card.selected {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
.donation-card {
  --rest-rotate: 0deg;
  --hover-rotate: 1deg;
  --hover-rotate-mid: 0.3deg;
  --hover-y: -5px;
  --hover-y-mid: -9px;
  cursor: pointer;
  transform: rotate(var(--rest-rotate));
  transition: filter 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
  will-change: transform;
  min-height: 285px;
  display: grid;
  align-content: start;
  gap: 12px;
}
.donation-card h3 {
  margin-bottom: 0;
  font-size: 1.32rem;
}
.donation-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.donation-card-head strong {
  color: var(--ink);
  font-size: 1.36rem;
  font-weight: 1000;
}
.donation-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 950;
}
.donation-price {
  display: grid;
  gap: 3px;
  margin: 0;
  color: var(--ink);
  line-height: 1;
}
.donation-price span {
  font-size: 2rem;
  font-weight: 950;
}
.donation-price small,
.donation-copy {
  color: #62697a;
  font-weight: 850;
}
.donation-price small {
  font-size: 0.78rem;
  text-transform: uppercase;
}
.donation-copy {
  margin-bottom: 0;
  line-height: 1.55;
}
.donation-card .button {
  align-self: end;
  margin-top: auto;
}
.checkout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}
.checkout-head {
  grid-column: 1 / -1;
}
.checkout-head h3,
.checkout-head p {
  position: relative;
  z-index: 1;
}
.checkout-head p {
  margin-bottom: 0;
  color: #62697a;
  font-size: 0.92rem;
  font-weight: 800;
}
label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}
input, select {
  width: 100%;
  min-height: 44px;
  border: 2px solid rgba(22,25,40,0.7);
  border-radius: 13px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink);
}
.form-result {
  grid-column: 1 / -1;
  color: var(--ink);
  font-weight: 850;
}
.support-admin-note {
  --rest-rotate: -0.25deg;
  padding: 22px;
  transform: rotate(var(--rest-rotate));
}
.support-admin-note h3,
.support-admin-note p {
  position: relative;
  z-index: 1;
}

.footer {
  padding: 56px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.footer img {
  width: 150px;
}
.footer p {
  flex: 1;
  margin: 0;
}
.footer a {
  color: var(--cyan);
  font-weight: 950;
}

@media (max-width: 1020px) {
  .desktop-nav,
  .topbar-actions .ghost,
  .topbar-actions .primary {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .topbar {
    min-height: 70px;
  }
  .brand {
    width: 132px;
  }
  .hero {
    padding-top: 130px;
  }
  .hero-grid,
  .updates-head,
  .changelog-layout,
  .report-layout,
  .download-layout,
  .support-layout,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: auto;
  }
  .hero-rune {
    display: none;
  }
  .status-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
  }
  .server-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-board,
  .news-board.grouped-news-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .news-card.pinned {
    grid-row: auto;
  }
  .checkout {
    grid-template-columns: 1fr;
  }
  .report-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .topbar {
    top: 8px;
    width: calc(100% - 16px);
  }
  .paper-bg {
    background:
      linear-gradient(90deg, rgba(7, 9, 18, 0.74), rgba(7, 9, 18, 0.48) 52%, rgba(7, 9, 18, 0.8)),
      linear-gradient(180deg, rgba(7, 9, 18, 0.16), rgba(11, 13, 22, 0.96) 86%, rgba(11, 13, 22, 0.98)),
      url("/assets/images/main_bg_hd.png") 62% top / auto 100vh no-repeat,
      var(--bg);
  }
  [data-theme="light"] .paper-bg {
    background:
      linear-gradient(90deg, rgba(255, 243, 212, 0.84), rgba(255, 240, 202, 0.54) 52%, rgba(255, 236, 194, 0.82)),
      linear-gradient(180deg, rgba(255, 244, 218, 0.36), rgba(245, 232, 207, 0.92) 84%, rgba(245, 232, 207, 0.98)),
      url("/assets/images/main_bg_hd.png") 62% top / auto 100vh no-repeat,
      var(--bg);
  }
  h1 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }
  .hero-logo {
    width: min(300px, 76vw);
    margin-left: 0;
  }
  .hero-copy,
  .hero-visual,
  h1 {
    max-width: calc(100vw - 28px);
  }
  .hero-copy {
    width: 100%;
  }
  .hero-copy p {
    width: min(100%, 340px);
    max-width: calc(100vw - 42px);
    font-size: 1rem;
    overflow-wrap: break-word;
  }
  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-news {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-news strong {
    white-space: normal;
  }
  .hero-stickers {
    display: none;
  }
  .lunia-particles span:nth-child(n+4) {
    display: none;
  }
  .status-grid,
  .server-highlights,
  .news-board,
  .donation-grid {
    grid-template-columns: 1fr;
  }
  .alpha-card {
    grid-template-columns: 1fr;
  }
  .alpha-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .updates-filter-bar {
    top: 88px;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .updates-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .download-slot {
    min-height: 220px;
    padding: 24px;
  }
  .download-actions {
    grid-template-columns: 1fr;
  }
  .download-choice {
    min-height: 88px;
  }
}

@media (max-width: 520px) {
  .alpha-points {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .lunia-particles {
    display: none;
  }
}

@keyframes logoFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.4deg); }
  50% { transform: translate3d(0, -3px, 0) rotate(-0.8deg); }
}

@keyframes controlHoverFloat {
  0%, 100% { transform: translate3d(0, var(--hover-y), 0) rotate(var(--hover-rotate)); }
  50% { transform: translate3d(0, var(--hover-y-mid), 0) rotate(var(--hover-rotate-mid)); }
}

@keyframes cardHoverFloat {
  0%, 100% { transform: translate3d(0, var(--hover-y), 0) rotate(var(--hover-rotate)); }
  50% { transform: translate3d(0, var(--hover-y-mid), 0) rotate(var(--hover-rotate-mid)); }
}

@keyframes logoAura {
  0%, 100% { opacity: 0.42; transform: scale(0.98); }
  50% { opacity: 0.68; transform: scale(1.04); }
}

@keyframes logoPop {
  0% { transform: translate3d(0, 0, 0) rotate(-1.4deg) scale(1); }
  55% { transform: translate3d(0, -6px, 0) rotate(1.6deg) scale(1.045); }
  100% { transform: translate3d(0, -2px, 0) rotate(-0.5deg) scale(1.01); }
}

@keyframes bannerFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1.4deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(1deg); }
}

@keyframes statusFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.8deg); }
  50% { transform: translate3d(0, 7px, 0) rotate(-1.2deg); }
}

@keyframes alphaNoticeFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--rest-rotate)); }
  50% { transform: translate3d(0, -7px, 0) rotate(-0.12deg); }
}

@keyframes runeFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes stickerBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes luniaParticle {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) rotate(0deg) scale(0.82);
  }
  14% {
    opacity: var(--particle-opacity);
  }
  50% {
    transform: translate3d(var(--drift), -26px, 0) rotate(96deg) scale(1);
  }
  86% {
    opacity: var(--particle-opacity);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -78px, 0) rotate(184deg) scale(0.86);
  }
}
