:root {
  --void: #101018;
  --night: #181528;
  --violet: #6d28d9;
  --violet-soft: #7c3aed;
  --lavender: #d8c7ff;
  --aqua: #2ee9e0;
  --gold: #ffd166;
  --paper: #fbf8ff;
  --white: #ffffff;
  --muted: #7e7794;
  --radius: 8px;
  --container: 1120px;
  --shadow: 0 20px 48px rgba(16, 16, 24, .28);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, Rubik, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--void);
  color: var(--night);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--void);
  padding: .75rem 1rem;
  font-weight: 900;
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}

.nav-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid rgba(216, 199, 255, .38);
  border-radius: var(--radius);
  background: rgba(16, 16, 24, .76);
  box-shadow: var(--shadow);
  padding: .65rem .72rem;
  backdrop-filter: blur(18px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
}

.nav-links a,
.nav-links button {
  position: relative;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  padding: .68rem .9rem;
  font-size: .86rem;
  font-weight: 950;
  text-transform: uppercase;
  overflow: hidden;
}

.nav-links .nav-feature {
  background: linear-gradient(90deg, var(--gold), #ffe6a2);
  color: var(--void);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(216, 199, 255, .15);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--gold), #ffe6a2);
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: .27rem auto;
  border-radius: 999px;
  background: var(--void);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  contain: paint;
  display: grid;
  place-items: center;
  padding: 8rem 1rem 5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 209, 102, .55) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(216, 199, 255, .45) 0 1px, transparent 1.5px);
  background-position: 12% 18%, 82% 28%;
  background-size: 140px 140px, 180px 180px;
  opacity: .22;
}

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

.hero-bg {
  z-index: 0;
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(16, 16, 24, .2), rgba(16, 16, 24, .52) 50%, rgba(16, 16, 24, .88)),
    radial-gradient(circle at 50% 48%, rgba(109, 40, 217, .18), rgba(16, 16, 24, .62) 64%);
}

.hero-character {
  position: absolute;
  z-index: 3;
  bottom: clamp(.2rem, 2vw, 1.6rem);
  width: clamp(220px, 28vw, 390px);
  pointer-events: none;
  opacity: .96;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .52));
}

.hero-character--mage {
  left: clamp(1.25rem, 4vw, 5rem);
  --character-enter-x: -72px;
  --character-rotate: -1.8deg;
  --character-enter-delay: .24s;
  --character-float-delay: 1.18s;
}

.hero-character--hunter {
  right: clamp(1.25rem, 4vw, 5rem);
  width: clamp(235px, 30vw, 420px);
  --character-enter-x: 72px;
  --character-rotate: 1.5deg;
  --character-enter-delay: .32s;
  --character-float-delay: 1.34s;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(100%, 880px);
  display: grid;
  justify-items: center;
  text-align: center;
}

.logo-shine {
  position: relative;
  width: min(88vw, 520px);
  overflow: hidden;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, .5));
}

.logo-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, .78) 48%, transparent 62%);
  background-position: 180% 0;
  background-size: 240% 100%;
  mix-blend-mode: screen;
  opacity: 0;
  -webkit-mask-image: url("/assets/lunarya/lunarya-logo.webp");
  mask-image: url("/assets/lunarya/lunarya-logo.webp");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-logo {
  width: 100%;
}

.server-ip {
  margin: .45rem 0 0;
  border: 1px solid rgba(216, 199, 255, .42);
  border-radius: var(--radius);
  background: rgba(16, 16, 24, .62);
  color: var(--lavender);
  padding: .7rem 1rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 950;
  letter-spacing: .03em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 0;
  border-radius: var(--radius);
  padding: .82rem 1.15rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: transform .18s ease, filter .18s ease;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button-primary {
  background: linear-gradient(90deg, var(--gold), #ffe6a2);
  color: var(--void);
  box-shadow: 0 14px 28px rgba(255, 209, 102, .24);
}

.button-primary::after,
.nav-links .nav-feature::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -45%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .65), transparent);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(16, 16, 24, .38);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.quick-section {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  background: linear-gradient(180deg, var(--void), #1b1530);
  overflow: hidden;
}

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

.quick-card {
  border: 1px solid rgba(216, 199, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.quick-card:hover {
  border-color: rgba(255, 209, 102, .42);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.quick-card span {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(216, 199, 255, .15);
  color: var(--lavender);
  padding: .35rem .65rem;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quick-card h2 {
  margin: .85rem 0 1rem;
  font-size: clamp(1.55rem, 4vw, 2.8rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.text-link {
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.join-panel-section {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(46, 233, 224, .12), transparent 28rem),
    linear-gradient(180deg, #1b1530, var(--void));
  overflow: hidden;
}

.join-panel-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(216, 199, 255, .24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(216, 199, 255, .09));
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.version-badge {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 3;
  display: inline-flex;
  rotate: -3deg;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--violet), var(--violet-soft));
  color: var(--white);
  padding: .68rem .9rem;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(109, 40, 217, .28);
}

.join-panel-fields {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, 520px);
  gap: 1rem;
  padding-top: 2.8rem;
}

.join-panel-fields label {
  display: grid;
  gap: .35rem;
  color: var(--white);
  font-weight: 950;
}

.join-panel-fields label:last-child {
  position: relative;
}

.join-panel-fields label > span {
  font-size: .86rem;
}

.join-panel-fields strong {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border: 1px solid rgba(16, 16, 24, .34);
  border-radius: var(--radius);
  background: rgba(16, 16, 24, .34);
  color: var(--white);
  padding: .9rem 4.2rem .9rem 1rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.copy-square {
  position: absolute;
  right: .42rem;
  bottom: .42rem;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--gold), #ffe6a2);
  box-shadow: 0 10px 22px rgba(255, 209, 102, .22);
}

.copy-square span,
.copy-square::after {
  content: "";
  position: absolute;
  width: .82rem;
  height: .82rem;
  border: 2px solid var(--void);
  border-radius: 3px;
}

.copy-square span {
  translate: -.16rem .16rem;
}

.copy-square::after {
  translate: .18rem -.18rem;
  background: rgba(255, 209, 102, .35);
}

.copy-square.is-copied {
  filter: brightness(1.08);
}

.join-panel-npc {
  position: absolute;
  right: clamp(-2.5rem, 3vw, 2rem);
  bottom: -5.5rem;
  z-index: 1;
  width: clamp(260px, 34vw, 410px);
  filter: drop-shadow(0 28px 32px rgba(0, 0, 0, .44));
}

.vote-body {
  min-height: 100vh;
  background: var(--void);
}

.vote-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 6.8rem 1rem 4rem;
}

.vote-bg,
.vote-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vote-bg {
  z-index: 0;
  object-fit: cover;
}

.vote-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(109, 40, 217, .34), rgba(16, 16, 24, .28) 46%, rgba(216, 199, 255, .34)),
    radial-gradient(circle at 50% 0, rgba(46, 233, 224, .2), transparent 42rem);
  backdrop-filter: blur(1px);
}

.vote-shell {
  position: relative;
  z-index: 2;
}

.vote-welcome {
  width: min(100%, 620px);
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--violet), var(--violet-soft));
  color: var(--white);
  padding: .85rem 1rem;
  text-align: center;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.vote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 34%);
  gap: 1rem;
}

.vote-intro-card,
.vote-player-card,
.vote-site-card {
  border: 1px solid rgba(216, 199, 255, .26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vote-intro-card {
  display: grid;
  grid-template-columns: minmax(130px, 230px) 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
  min-height: 185px;
  background: linear-gradient(120deg, rgba(46, 233, 224, .92), rgba(109, 40, 217, .9));
  color: var(--white);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.vote-intro-card img {
  width: min(100%, 220px);
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .34));
}

.vote-intro-card h1 {
  margin: 0 0 .45rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.vote-intro-card p {
  margin: 0;
  font-weight: 850;
  line-height: 1.45;
}

.vote-intro-card strong {
  color: var(--gold);
}

.vote-player-card {
  grid-row: span 2;
  display: grid;
  align-content: space-between;
  min-height: 460px;
  background: linear-gradient(135deg, rgba(46, 233, 224, .9), rgba(109, 40, 217, .92));
  padding: 1.6rem;
}

.vote-character-mask {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.vote-character-mask img {
  width: min(78%, 250px);
  filter: brightness(0) drop-shadow(0 24px 28px rgba(0, 0, 0, .34));
}

.vote-character-mask span {
  position: absolute;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 950;
}

.vote-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
}

.vote-form input {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  padding: .86rem 1rem;
  font: inherit;
  font-weight: 800;
}

.vote-form input::placeholder {
  color: rgba(255, 255, 255, .76);
}

.vote-site-card {
  position: relative;
  min-height: 195px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 16, 24, .48);
  color: var(--white);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.vote-site-card:hover {
  border-color: rgba(255, 209, 102, .44);
  background: rgba(16, 16, 24, .56);
  transform: translateY(-4px);
}

.vote-site-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .4);
  mix-blend-mode: luminosity;
}

.vote-site-card img {
  position: absolute;
  bottom: -4.6rem;
  left: 1.4rem;
  width: 190px;
  opacity: .62;
  filter: grayscale(1) brightness(1.2) drop-shadow(0 18px 20px rgba(0, 0, 0, .34));
}

.vote-site-card--alt img {
  left: auto;
  right: -1rem;
  width: 172px;
}

.vote-site-card div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .2rem;
  text-align: center;
  text-transform: uppercase;
}

.vote-site-card strong {
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  line-height: 1;
}

.vote-site-card span {
  font-size: 1.1rem;
  font-weight: 950;
}

.article-main {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--void), #1b1530);
  color: var(--paper);
}

.article-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(8rem, 15vw, 12rem) 1rem clamp(4rem, 9vw, 6rem);
}

.article-banner::before,
.article-banner::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-banner::before {
  background: url("/assets/lunarya/lunarya-city-purple-roofs.webp") center / cover;
  opacity: .5;
  transform: scale(1.04);
}

.article-banner::after {
  background:
    linear-gradient(180deg, rgba(16, 16, 24, .42), rgba(16, 16, 24, .9)),
    radial-gradient(circle at 50% 40%, rgba(109, 40, 217, .28), transparent 62%);
}

.article-banner-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  margin: 0 auto;
}

.article-kicker {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 209, 102, .16);
  color: var(--gold);
  padding: .42rem .7rem;
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-banner h1 {
  max-width: 820px;
  margin: 1rem 0 .8rem;
  color: var(--white);
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: .95;
  text-transform: uppercase;
}

.article-banner p {
  max-width: 700px;
  margin: 0;
  color: var(--lavender);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}

.article-meta span {
  border: 1px solid rgba(216, 199, 255, .28);
  border-radius: var(--radius);
  background: rgba(16, 16, 24, .54);
  color: var(--white);
  padding: .52rem .7rem;
  font-size: .86rem;
  font-weight: 900;
}

.article-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem;
}

.wiki-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(circle at 18% 0, rgba(109, 40, 217, .2), transparent 34rem),
    linear-gradient(180deg, rgba(16, 16, 24, .98), #1b1530);
}

.wiki-list {
  display: grid;
  gap: 1rem;
}

.wiki-item {
  border: 1px solid rgba(216, 199, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--paper);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.wiki-item:hover {
  border-color: rgba(255, 209, 102, .42);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.wiki-item h2 {
  margin: 0 0 .75rem;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.wiki-item p {
  max-width: 860px;
  margin: 0;
  color: var(--lavender);
  font-weight: 750;
  line-height: 1.55;
}

.wiki-command-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.wiki-command-list code {
  display: inline-flex;
  border: 1px solid rgba(255, 209, 102, .28);
  border-radius: 999px;
  background: rgba(255, 209, 102, .12);
  color: var(--gold);
  padding: .42rem .68rem;
  font: inherit;
  font-weight: 950;
}

.article-content {
  width: min(100%, 880px);
  margin: 0 auto;
  color: var(--paper);
}

.article-author {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(216, 199, 255, .18);
  padding-bottom: 1.25rem;
}

.article-author-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--gold), var(--violet-soft));
  color: var(--void);
  font-weight: 950;
}

.article-author strong,
.article-author span {
  display: block;
}

.article-author span {
  color: var(--lavender);
  font-weight: 800;
}

.article-content p {
  color: rgba(251, 248, 255, .86);
  font-size: 1.05rem;
  line-height: 1.72;
}

.article-content h2 {
  margin: 2.4rem 0 1rem;
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.join-steps {
  display: grid;
  gap: .75rem;
  margin: 1.2rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: join-step;
}

.join-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .8rem;
  border: 1px solid rgba(216, 199, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  padding: 1rem;
}

.join-steps li::before {
  counter-increment: join-step;
  content: counter(join-step);
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  grid-row: span 2;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--gold), #ffe6a2);
  color: var(--void);
  font-weight: 950;
}

.join-steps strong {
  color: var(--white);
  font-size: 1.02rem;
}

.join-steps span {
  color: var(--lavender);
  line-height: 1.5;
}

.join-steps code,
.ip-copy-box code {
  color: var(--gold);
  font-family: inherit;
  font-weight: 950;
}

.ip-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 209, 102, .38);
  border-radius: var(--radius);
  background: rgba(16, 16, 24, .62);
  padding: 1rem;
}

.ip-copy-box span {
  display: block;
  margin-bottom: .2rem;
  color: var(--lavender);
  font-size: .8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.ip-copy-box code {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.site-footer {
  background: var(--void);
  color: var(--white);
  padding: 1.35rem 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .9rem;
}

.footer-grid strong {
  font-weight: 950;
}

.footer-grid span {
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    padding: .75rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-shell {
    justify-content: center;
    width: auto;
  }

  .nav-links {
    position: fixed;
    left: .75rem;
    right: .75rem;
    top: 4.85rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(216, 199, 255, .38);
    border-radius: var(--radius);
    background: rgba(16, 16, 24, .96);
    padding: .65rem;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-links button {
    width: 100%;
    text-align: center;
    padding: .9rem 1rem;
  }

  .hero {
    min-height: 84vh;
    padding-top: 6.8rem;
  }

  .hero-character {
    display: none;
  }

  .logo-shine {
    width: min(92vw, 410px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .article-banner {
    padding-top: 7rem;
  }

  .article-meta,
  .ip-copy-box,
  .article-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .join-panel-card {
    min-height: auto;
    padding-bottom: 14rem;
  }

  .join-panel-fields strong {
    padding-right: 3.8rem;
  }

  .join-panel-npc {
    right: 50%;
    bottom: -6.5rem;
    width: 260px;
    translate: 50% 0;
  }

  .vote-page {
    padding: 6.3rem .75rem 2rem;
  }

  .vote-grid {
    grid-template-columns: 1fr;
  }

  .vote-intro-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .vote-intro-card img {
    width: 210px;
    margin: 0 auto;
  }

  .vote-player-card {
    grid-row: auto;
    min-height: 390px;
  }

  .vote-character-mask {
    min-height: 250px;
  }

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

  .vote-site-card {
    min-height: 175px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .nav-shell {
    opacity: 0;
    will-change: opacity, transform;
    animation: wynboxNavIn .7s cubic-bezier(.16, 1, .3, 1) .05s both;
  }

  .hero-bg {
    animation: bgDrift 24s ease-in-out infinite alternate;
    transform-origin: center;
  }

  .hero::after {
    animation: starsDrift 8s ease-in-out infinite alternate;
  }

  .hero-character {
    opacity: 0;
    scale: .96;
    translate: var(--character-enter-x) 18px;
    animation:
      characterIn .78s cubic-bezier(.16, 1, .3, 1) var(--character-enter-delay) forwards,
      characterFloat 5.8s ease-in-out var(--character-float-delay) infinite;
  }

  .logo-shine {
    opacity: 0;
    scale: .9;
    translate: 0 0;
    transform-origin: center;
    will-change: opacity, scale, transform;
    animation:
      wynboxLogoIn .78s cubic-bezier(.16, 1, .3, 1) .12s forwards,
      logoFloat 5.6s ease-in-out 1.05s infinite;
  }

  .server-ip {
    opacity: 0;
    scale: .96;
    translate: 0 18px;
    will-change: opacity, scale, translate;
    animation:
      wynboxScaleUp .55s cubic-bezier(.16, 1, .3, 1) .38s forwards,
      ipGlow 3.2s ease-in-out 1.1s infinite;
  }

  .hero-actions {
    opacity: 1;
  }

  .hero-actions .button {
    opacity: 0;
    scale: .96;
    translate: 0 22px;
    will-change: opacity, scale, translate;
    animation: wynboxButtonIn .58s cubic-bezier(.16, 1, .3, 1) forwards;
  }

  .hero-actions .button:nth-child(1) {
    animation-delay: .58s;
  }

  .hero-actions .button:nth-child(2) {
    animation-delay: .7s;
  }

  .hero-actions .button:nth-child(3) {
    animation-delay: .82s;
  }

  .quick-card,
  .wiki-item,
  .join-panel-card,
  .vote-intro-card,
  .vote-player-card,
  .vote-site-card {
    opacity: 0;
    transform: translateX(-96px);
    transition: opacity .72s cubic-bezier(.16, 1, .3, 1), transform .72s cubic-bezier(.16, 1, .3, 1), border-color .2s ease, background .2s ease;
  }

  .quick-card:nth-child(even),
  .wiki-item:nth-child(even),
  .vote-player-card,
  .vote-site-card:nth-child(even) {
    transform: translateX(96px);
  }

  .quick-card.is-visible,
  .wiki-item.is-visible,
  .join-panel-card.is-visible,
  .vote-intro-card.is-visible,
  .vote-player-card.is-visible,
  .vote-site-card.is-visible {
    opacity: 1;
    transform: translateX(0);
  }

  .quick-card.is-visible:hover,
  .wiki-item.is-visible:hover,
  .vote-site-card.is-visible:hover {
    transform: translateY(-4px);
  }

  .button-primary::after,
  .nav-links .nav-feature::after {
    animation: buttonShine 3.4s ease-in-out infinite;
  }

  .logo-shine::after {
    animation: logoShine 3.4s ease-in-out infinite;
  }
}

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

  .quick-card,
  .wiki-item,
  .join-panel-card,
  .vote-intro-card,
  .vote-player-card,
  .vote-site-card {
    opacity: 1;
    transform: none;
  }

  .hero-character {
    opacity: .96;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes wynboxNavIn {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wynboxLogoIn {
  0% {
    opacity: 0;
    scale: .9;
  }
  62% {
    opacity: 1;
    scale: 1.035;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes characterIn {
  0% {
    opacity: 0;
    scale: .96;
    translate: var(--character-enter-x) 18px;
  }
  100% {
    opacity: .96;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes characterFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(var(--character-rotate));
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes wynboxScaleUp {
  0% {
    opacity: 0;
    scale: .96;
    translate: 0 18px;
  }
  100% {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes wynboxButtonIn {
  0% {
    opacity: 0;
    scale: .96;
    translate: 0 22px;
  }
  100% {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
}

@keyframes bgDrift {
  from {
    transform: scale(1.03) translate3d(-8px, -4px, 0);
  }
  to {
    transform: scale(1.08) translate3d(10px, 6px, 0);
  }
}

@keyframes starsDrift {
  from {
    opacity: .12;
    background-position: 12% 18%, 82% 28%;
  }
  to {
    opacity: .3;
    background-position: 14% 16%, 80% 31%;
  }
}

@keyframes ipGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(216, 199, 255, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(216, 199, 255, .24);
  }
}

@keyframes buttonShine {
  0%, 45% {
    left: -55%;
  }
  70%, 100% {
    left: 120%;
  }
}

@keyframes logoShine {
  0%, 42% {
    opacity: 0;
    background-position: 180% 0;
  }
  54% {
    opacity: .82;
  }
  76%, 100% {
    opacity: 0;
    background-position: -80% 0;
  }
}
