﻿:root {
  --aqua: #00e5ff;
  --lavender: #b794f6;
  --peach: #ffb088;
  --gold: #d4af37;
  --green: #7edb87;
  --red: #f07c82;
  --bg: #0a0612;
  --bg-soft: #120a21;
  --panel: #201731;
  --panel-strong: rgba(28, 21, 46, 0.9);
  --panel-glass: rgba(25, 20, 38, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(180, 143, 213, 0.28);
  --text: #f5f7fa;
  --text-soft: #c9d2dc;
  --shadow: 0 26px 70px rgba(2, 3, 8, 0.5);
  --glow-aqua: 0 0 70px rgba(0, 229, 255, 0.22);
  --glow-lavender: 0 0 70px rgba(183, 148, 246, 0.18);
  --radius: 28px;
  --radius-sm: 18px;
  --max-width: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(0, 229, 255, 0.18), transparent 22%),
    radial-gradient(circle at 78% 8%, rgba(255, 176, 136, 0.13), transparent 18%),
    radial-gradient(circle at 62% 26%, rgba(183, 148, 246, 0.17), transparent 22%),
    linear-gradient(180deg, #0a0612 0%, #0f0821 45%, #1a0f2e 100%);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0612;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--aqua), var(--lavender));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--lavender), var(--peach));
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a.button {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
  isolation: isolate;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 100vh;
  pointer-events: none;
  filter: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.site-shell::before {
  top: 70px;
  left: -40px;
  background-image:
    linear-gradient(180deg, rgba(30, 186, 211, 0.14), transparent 34%),
    url("../assets/decor/side-left.svg?v=1");
}

.site-shell::after {
  top: 90px;
  right: -40px;
  background-image:
    linear-gradient(180deg, rgba(180, 143, 213, 0.12), transparent 34%),
    url("../assets/decor/side-right.svg?v=1");
}

.topbar,
.site-header,
.hero,
.section,
.site-footer,
.page-hero {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.topbar strong {
  color: var(--text);
}

.topbar a {
  color: var(--aqua);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(10, 6, 18, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, rgba(30, 186, 211, 0.28), rgba(180, 143, 213, 0.18), rgba(251, 177, 169, 0.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.header-account {
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  padding: 5px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(183, 148, 246, 0.18), rgba(255, 176, 136, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__text strong,
.hero h1,
.section-title,
.section-heading h2,
.page-hero h1,
.card-title,
.site-footer h2,
.site-footer h3,
.faq-question span:first-child {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.brand__text strong {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__text small {
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--text-soft);
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--lavender));
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.button:hover,
.button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-3px);
}

.button--primary {
  color: #091117;
  font-weight: 800;
  background: linear-gradient(135deg, var(--aqua), var(--lavender) 58%, var(--peach));
  box-shadow: var(--glow-aqua);
}

.button--discord {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #5865f2, #7380ff);
  border-color: rgba(115, 128, 255, 0.34);
  box-shadow: 0 0 32px rgba(88, 101, 242, 0.24);
}

.button.is-disabled,
.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.62;
  filter: saturate(0.75);
}

.button--secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(30, 186, 211, 0.18), rgba(180, 143, 213, 0.16));
  border-color: rgba(30, 186, 211, 0.24);
}

.button--ghost,
.copy-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.eyebrow,
.pill,
.server-pill__label,
.card-kicker,
.metric-label,
.status-label,
.faq-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero,
.page-hero {
  position: relative;
  margin-top: 34px;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  min-height: 760px;
  padding: 112px 0 54px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(24, 17, 39, 0.52), rgba(10, 6, 18, 0.92)),
    url("../assets/backgrounds/bg-texture.svg?v=2") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 37px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 22%, rgba(0, 229, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 176, 136, 0.14), transparent 22%),
    radial-gradient(circle at 62% 35%, rgba(183, 148, 246, 0.18), transparent 22%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  pointer-events: none;
}

.hero__content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -30px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), rgba(183, 148, 246, 0.08), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__content,
.hero__aside,
.page-hero__content {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 0 48px;
}

.hero__aside {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 0 48px 0 0;
}

.hero h1,
.page-hero h1 {
  margin: 14px 0 16px;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(3.8rem, 8vw, 6.9rem);
}

.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.gradient-text {
  background: linear-gradient(135deg, var(--text), #dcf7fc 28%, #cfd0ff 52%, #ffd3cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead,
.page-hero p,
.section-heading p,
.card p,
.footer-copy,
.faq-answer p,
.table-row p,
.legend-list li,
.timeline p {
  color: var(--text-soft);
  line-height: 1.8;
}

.hero__lead {
  max-width: 690px;
  font-size: 1.08rem;
}

.hero__subhead {
  max-width: 640px;
  margin: 0 0 14px;
  color: rgba(245, 247, 250, 0.9);
  font-size: 1.16rem;
  line-height: 1.7;
}

.hero__actions,
.button-row,
.server-strip,
.footer-pills,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.server-strip {
  align-items: center;
  margin-top: 26px;
}

.server-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(14, 10, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-pill strong {
  font-size: 1.1rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(14, 10, 24, 0.82);
  border: 1px solid rgba(126, 219, 135, 0.22);
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(126, 219, 135, 0.12);
}

.hero__metrics,
.grid-3,
.grid-4,
.grid-2,
.package-grid,
  .story-grid,
.feature-grid,
.profession-grid,
.market-grid,
.world-grid,
.reward-grid,
.community-grid,
.news-grid,
.footer-grid,
.page-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.hero__metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.grid-4,
.package-grid,
.profession-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3,
.story-grid,
.feature-grid,
.market-grid,
.world-grid,
.reward-grid,
.community-grid,
.news-grid,
.footer-grid,
.page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.metric-card,
.floating-card,
.faq-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(36, 29, 56, 0.94), rgba(18, 14, 31, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.card::before,
.metric-card::before,
.floating-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--lavender), transparent);
}

.card,
.metric-card,
.floating-card {
  padding: 24px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.card:hover,
.metric-card:hover,
.floating-card:hover,
.team-card:hover,
.vote-stat:hover,
.leaderboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 143, 213, 0.18);
  box-shadow: var(--shadow), 0 0 0 1px rgba(30, 186, 211, 0.08);
}

.card--featured {
  background:
    linear-gradient(180deg, rgba(41, 54, 68, 0.98), rgba(24, 31, 40, 0.96));
  border-color: rgba(180, 143, 213, 0.22);
  box-shadow: var(--shadow), var(--glow-lavender);
}

.card--gold {
  border-color: rgba(252, 208, 92, 0.24);
}

.card--peach::before {
  background: linear-gradient(90deg, var(--peach), var(--lavender), transparent);
}

.card--aqua::before {
  background: linear-gradient(90deg, var(--aqua), #8fe8f3, transparent);
}

.card--lavender::before {
  background: linear-gradient(90deg, var(--lavender), #d4c1ee, transparent);
}

.card-title,
.section-heading h2,
.page-title {
  margin: 10px 0 12px;
  line-height: 1.02;
}

.section {
  padding-top: 88px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center::after {
  content: "";
  display: block;
  width: 128px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--lavender), var(--peach));
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.18);
}

.section-intro-card,
.faq-cta {
  position: relative;
  overflow: hidden;
  padding: 28px 32px;
  margin-bottom: 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.section-intro-card::before,
.faq-cta::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.18), transparent 70%);
}

.section-intro-card p,
.faq-cta p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(245, 247, 250, 0.9);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 18px;
  min-height: 560px;
}

.floating-card {
  background:
    linear-gradient(180deg, rgba(40, 54, 68, 0.96), rgba(23, 30, 39, 0.94));
}

.floating-card--spawn {
  grid-column: 1 / -1;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(27, 20, 45, 0.54), rgba(13, 9, 22, 0.88)),
    url("../assets/scenes/scene-spawn.svg?v=2") center/cover no-repeat;
}

.floating-card--overlay {
  position: static;
  width: 100%;
}

.floating-card--left {
  position: static;
  width: 100%;
}

.metric-card strong,
.big-number,
.profession-mark,
.reward-mark,
.market-price,
.rank-price {
  font-size: 1.9rem;
  font-weight: 800;
}

.package-card {
  min-height: 100%;
}

.package-card__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  background: rgba(252, 208, 92, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card .button {
  margin-top: auto;
}

.store-lock {
  position: relative;
}

.store-lock > .section,
.store-lock > .cta-band,
.store-lock > .page-grid,
.store-lock > .package-grid {
  position: relative;
}

.store-lock .section,
.store-lock .cta-band {
  filter: blur(7px) saturate(0.72) brightness(0.78);
  pointer-events: none;
  user-select: none;
}

.store-lock__overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  pointer-events: none;
}

.store-lock__panel {
  width: min(720px, 100%);
  padding: 30px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(23, 18, 34, 0.96), rgba(13, 10, 21, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(183, 148, 246, 0.08);
  pointer-events: auto;
  text-align: center;
}

.store-lock__panel .eyebrow {
  justify-content: center;
}

.store-lock__panel h2 {
  margin: 16px 0 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.98;
}

.store-lock__panel p {
  margin: 0 auto 18px;
  max-width: 620px;
  color: rgba(245, 247, 250, 0.84);
  line-height: 1.7;
}

.store-lock__panel .tag-row,
.store-lock__panel .button-row {
  justify-content: center;
}

.article-stack {
  display: grid;
  gap: 18px;
}

.article-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(37, 49, 61, 0.94), rgba(18, 24, 34, 0.98));
  box-shadow: var(--shadow);
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua), var(--lavender), var(--peach));
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.article-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.icon-badge,
.profession-mark,
.reward-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 186, 211, 0.18), rgba(180, 143, 213, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.tag-row {
  gap: 10px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.86rem;
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--aqua), var(--lavender));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-weight: 700;
}

.field input {
  min-height: 52px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: none;
}

.field input:focus {
  border-color: rgba(30, 186, 211, 0.48);
  box-shadow: 0 0 0 4px rgba(30, 186, 211, 0.12);
}

.account-summary {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-note {
  color: var(--green);
  font-weight: 700;
}

.account-grid {
  display: grid;
  gap: 12px;
}

.account-grid strong {
  color: var(--text);
}

.history-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  display: grid;
  gap: 10px;
}

.profession-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.35rem;
}

.profession-grid .card,
.feature-grid .card,
.reward-grid .card {
  text-align: center;
}

.profession-grid .profession-mark,
.feature-grid .icon-badge,
.reward-grid .reward-mark {
  margin-left: auto;
  margin-right: auto;
}

.market-grid .card {
  min-height: 100%;
}

.community-grid .card {
  min-height: 100%;
}

.economy-strip,
.legend-list,
.timeline {
  display: grid;
  gap: 14px;
}

.legend-list {
  padding-left: 20px;
}

.table-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.table-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.world-scene {
  min-height: 240px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 22, 28, 0.18), rgba(17, 22, 28, 0.56)),
    url("../assets/scenes/scene-world.svg?v=2") center/cover no-repeat;
  background-size: 36px 36px, 36px 36px, auto, cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-band,
.footer-shell {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(31, 44, 55, 0.92), rgba(25, 32, 41, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.cta-band::before,
.footer-shell::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 186, 211, 0.18), transparent 68%);
}

.testimonial {
  display: grid;
  gap: 12px;
}

.testimonial strong {
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

.faq-cta strong {
  color: var(--aqua);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--aqua);
  font-size: 1.5rem;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 22px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.page-hero {
  padding: 112px 48px 58px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero__content::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 186, 211, 0.12), rgba(180, 143, 213, 0.08), transparent 70%);
  pointer-events: none;
}

.meta-row,
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-board,
.vote-dashboard {
  display: grid;
  gap: 18px;
}

.team-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(40, 52, 65, 0.92), rgba(24, 31, 40, 0.96));
  box-shadow: var(--shadow);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--aqua), var(--lavender), var(--peach));
}

.team-card__symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(30, 186, 211, 0.22), rgba(180, 143, 213, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.team-card--owner .team-card__symbol,
.team-card--leader .team-card__symbol {
  background: linear-gradient(135deg, rgba(252, 208, 92, 0.3), rgba(251, 177, 169, 0.2));
}

.team-card--ghost .team-card__symbol {
  background: linear-gradient(135deg, rgba(180, 143, 213, 0.24), rgba(30, 186, 211, 0.16));
}

.team-spotlight {
  min-height: 100%;
}

.vote-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vote-stat {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(38, 50, 63, 0.94), rgba(24, 31, 40, 0.96));
  box-shadow: var(--shadow);
}

.vote-stat::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 143, 213, 0.14), transparent 70%);
}

.vote-stat--primary {
  border-color: rgba(30, 186, 211, 0.22);
}

.vote-stat__label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vote-stat__value {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.vote-panel {
  min-height: 100%;
}

.leaderboard-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(37, 49, 61, 0.95), rgba(22, 29, 37, 0.98));
  box-shadow: var(--shadow);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 0.8fr 1.8fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-row:first-child {
  border-top: 0;
}

.leaderboard-row--head {
  color: var(--text-soft);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}

.site-footer {
  padding: 88px 0 38px;
}

.footer-shell {
  padding: 28px;
}

.footer-grid {
  position: relative;
  z-index: 1;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 94px 0 54px;
  }

  .hero__content {
    padding: 0 42px;
  }

  .hero__aside {
    padding: 0 42px 0;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .grid-3,
  .story-grid,
  .feature-grid,
  .market-grid,
  .world-grid,
  .reward-grid,
  .community-grid,
  .news-grid,
  .page-grid,
  .footer-grid,
  .hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-board,
  .vote-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
  }

  .site-header {
    top: 10px;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(20, 26, 34, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
  }

  .hero,
  .page-hero {
    margin-top: 20px;
  }

  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after {
    border-radius: 30px;
  }

  .hero {
    padding: 78px 0 42px;
  }

  .hero__content,
  .hero__aside,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-visual,
  .floating-card--spawn {
    min-height: 320px;
  }

  .floating-card--overlay,
  .floating-card--left {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .grid-4,
  .package-grid,
  .profession-grid,
  .grid-3,
  .story-grid,
  .feature-grid,
  .market-grid,
  .world-grid,
  .reward-grid,
  .community-grid,
  .news-grid,
  .page-grid,
  .footer-grid,
  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .team-board,
  .vote-dashboard {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .footer-meta,
  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .topbar,
  .site-header,
  .hero,
  .section,
  .site-footer,
  .page-hero {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .brand__text small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .hero__actions,
  .button-row,
  .server-strip {
    width: 100%;
  }

  .hero__actions .button,
  .button-row .button,
  .server-strip .copy-button,
  .server-pill,
  .cta-band .button {
    width: 100%;
  }

  .server-pill {
    align-items: flex-start;
  }
}

/* Hard redesign pass based on Figma Make */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 143, 213, 0.16), transparent 24%),
    linear-gradient(180deg, #05040a 0%, #090612 55%, #12081c 100%);
}

.topbar {
  display: none;
}

.site-shell::before,
.site-shell::after {
  display: none;
}

.site-header,
.page-hero,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 40px), 1280px);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  padding: 18px 22px;
  background: rgba(8, 6, 14, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.site-header::before {
  opacity: 0.55;
}

.brand__logo {
  width: 42px;
  height: 42px;
  padding: 6px;
  border-radius: 12px;
}

.brand__text strong {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  font-size: 1.04rem;
}

.button,
.copy-button {
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 18px;
  font-weight: 700;
}

.button--primary {
  color: #f8fbff;
  background: linear-gradient(90deg, var(--aqua), var(--lavender));
  box-shadow: 0 18px 45px rgba(0, 229, 255, 0.18);
}

.button--secondary {
  background: rgba(12, 10, 18, 0.64);
  border-color: rgba(255, 255, 255, 0.12);
}

.button--ghost,
.copy-button {
  background: rgba(10, 8, 16, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 150px 32px 90px;
  overflow: hidden;
}

.hero::before {
  inset: 0;
  border-radius: 36px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 14, 0.35), rgba(8, 6, 14, 0.78)),
    url("../assets/backgrounds/hero-castle.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 30%, rgba(180, 143, 213, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(8, 6, 14, 0.15), rgba(8, 6, 14, 0.88));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero__content::before,
.hero__content::after,
.hero__aside,
.hero__metrics {
  display: none;
}

.hero .eyebrow {
  justify-content: center;
  margin-bottom: 18px;
  color: rgba(245, 247, 250, 0.78);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.8rem, 11vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(90deg, var(--aqua), var(--lavender), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subhead {
  margin: 18px auto 12px;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.18;
}

.hero__lead {
  max-width: 840px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero .tag-row {
  display: none;
}

.hero__actions {
  justify-content: center;
  margin: 30px 0 22px;
}

.server-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.server-pill {
  gap: 18px;
  min-height: 64px;
  padding: 18px 28px;
  border-radius: 20px;
  background: rgba(9, 7, 14, 0.62);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.1);
}

.server-pill__label {
  display: none;
}

.server-pill strong {
  color: var(--aqua);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.status-chip {
  min-height: 64px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(9, 7, 14, 0.56);
}

.page-hero {
  margin-top: 32px;
  padding: 154px 36px 88px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  inset: 0;
  border-radius: 32px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 14, 0.46), rgba(8, 6, 14, 0.78)),
    url("../assets/backgrounds/hero-castle.jpg") center/cover no-repeat;
  opacity: 0.92;
}

.page-hero::after {
  inset: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 22%, rgba(180, 143, 213, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(8, 6, 14, 0.08), rgba(8, 6, 14, 0.68));
}

.page-hero__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(3.7rem, 8vw, 5.8rem);
  line-height: 0.95;
}

.page-hero p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding-top: 96px;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.02;
}

.section-intro-card,
.faq-cta,
.cta-band,
.article-card,
.card,
.faq-item,
.metric-card,
.floating-card,
.leaderboard-card,
.team-card,
.vote-stat {
  background:
    linear-gradient(180deg, rgba(23, 18, 34, 0.94), rgba(13, 10, 21, 0.96));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.section-intro-card,
.faq-cta,
.cta-band {
  border-radius: 24px;
}

.card,
.article-card,
.team-card,
.vote-stat {
  border-radius: 22px;
}

.section-heading--center::after {
  width: 120px;
}

.footer-shell {
  background:
    linear-gradient(180deg, rgba(18, 14, 29, 0.94), rgba(10, 8, 16, 0.98));
}

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 24px), 1280px);
    padding: 14px 16px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    min-height: 92vh;
    padding: 136px 20px 76px;
  }

  .hero h1 {
    font-size: clamp(4rem, 12vw, 6.4rem);
  }

  .hero__subhead {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 20px;
    background: rgba(8, 6, 14, 0.86);
    backdrop-filter: blur(16px);
  }

  .hero,
  .page-hero {
    width: min(calc(100% - 20px), 1280px);
    border-radius: 28px;
  }

  .hero::before,
  .hero::after,
  .page-hero::before,
  .page-hero::after {
    border-radius: 28px;
  }

  .hero__actions,
  .server-strip {
    width: 100%;
  }

  .hero__actions .button,
  .server-strip .server-pill,
  .server-strip .status-chip {
    width: 100%;
  }

  .store-lock__overlay {
    padding-top: 46px;
  }

  .store-lock__panel {
    padding: 24px 20px;
  }
}

/* Atmospheric continuation layer under the hero */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    linear-gradient(180deg, rgba(5, 4, 10, 0.12) 0%, rgba(5, 4, 10, 0.28) 32%, rgba(5, 4, 10, 0.72) 62%, rgba(5, 4, 10, 0.95) 100%),
    url("../assets/backgrounds/hero-castle.jpg") center top / cover no-repeat;
  opacity: 0.34;
  filter: blur(30px) saturate(0.9);
  transform: scale(1.08);
}

body::after {
  background:
    radial-gradient(circle at 18% 34%, rgba(0, 229, 255, 0.12), transparent 22%),
    radial-gradient(circle at 82% 42%, rgba(255, 176, 136, 0.1), transparent 24%),
    radial-gradient(circle at 50% 58%, rgba(183, 148, 246, 0.12), transparent 20%),
    linear-gradient(180deg, transparent 0%, rgba(10, 8, 16, 0.2) 20%, rgba(10, 8, 16, 0.62) 58%, rgba(10, 8, 16, 0.88) 100%);
}

.site-shell {
  position: relative;
}

.site-shell > * {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  inset: 42vh 0 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 10%, rgba(0, 229, 255, 0.08), transparent 16%),
    radial-gradient(circle at 84% 16%, rgba(255, 176, 136, 0.08), transparent 16%),
    radial-gradient(circle at 50% 28%, rgba(183, 148, 246, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(20, 14, 30, 0.02), rgba(14, 10, 22, 0.52) 22%, rgba(10, 8, 16, 0.88) 100%);
}

.main::after {
  content: none;
}

.section,
.site-footer {
  isolation: isolate;
}

.section::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: -26px -10px;
  z-index: -1;
  border-radius: 34px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 12% 24%, rgba(0, 229, 255, 0.05), transparent 24%),
    radial-gradient(circle at 88% 32%, rgba(255, 176, 136, 0.045), transparent 24%),
    linear-gradient(180deg, rgba(12, 9, 18, 0.48), rgba(12, 9, 18, 0.08));
  opacity: 0.95;
}

.section:nth-of-type(odd)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 18% 20%, rgba(0, 229, 255, 0.055), transparent 22%),
    radial-gradient(circle at 72% 26%, rgba(183, 148, 246, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(13, 10, 21, 0.52), rgba(13, 10, 21, 0.1));
}

.section:nth-of-type(even)::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 84% 20%, rgba(255, 176, 136, 0.052), transparent 24%),
    radial-gradient(circle at 30% 28%, rgba(0, 229, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(18, 13, 28, 0.56), rgba(18, 13, 28, 0.12));
}

.section-heading,
.section-intro-card,
.cta-band,
.faq-cta {
  backdrop-filter: blur(2px);
}

.card::after,
.article-card::after,
.team-card::after,
.vote-stat::after {
  content: "";
  position: absolute;
  inset: auto -10% -34% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 143, 213, 0.14), transparent 72%);
  pointer-events: none;
  opacity: 0.85;
}

.card:nth-child(3n)::after,
.article-card:nth-child(3n)::after,
.team-card:nth-child(3n)::after {
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 72%);
}

.card:nth-child(4n)::after,
.vote-stat:nth-child(2n)::after {
  background: radial-gradient(circle, rgba(255, 176, 136, 0.1), transparent 72%);
}

@media (max-width: 760px) {
  body::before {
    opacity: 0.24;
    filter: blur(22px) saturate(0.85);
  }

  main::before {
    inset: 34vh 0 0;
  }

  .section::before,
  .site-footer::before {
    inset: -18px -4px;
  }
}

