:root {
  --bg: #090c0d;
  --ink: #f8eedb;
  --muted: #b6aa95;
  --gold: #d8b66b;
  --gold-hot: #f3d48a;
  --jade: #68d59b;
  --red: #f25f5c;
  --blue: #5793ff;
  --panel: rgba(15, 18, 19, 0.62);
  --line: rgba(255, 255, 255, 0.12);
  --line-hot: rgba(243, 212, 138, 0.34);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 24%, rgba(104, 213, 155, 0.14), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(216, 182, 107, 0.18), transparent 28%),
    radial-gradient(circle at 72% 82%, rgba(87, 147, 255, 0.12), transparent 25%),
    linear-gradient(135deg, #111513 0%, #080b0c 58%, #12110c 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.campaign-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(18px, 3vw, 44px);
  width: min(1240px, calc(100vw - 36px));
  height: 100svh;
  margin: 0 auto;
  padding: clamp(18px, 3vh, 34px) 0;
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.selector-kicker {
  margin: 0 0 10px;
  color: var(--gold-hot);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 8.5vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.11em;
  text-shadow: 0 20px 58px rgba(0, 0, 0, 0.48);
  writing-mode: vertical-rl;
}

.lead {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-link {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hot) 100%);
  color: #21180d;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(216, 182, 107, 0.25);
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.primary-link:hover,
.secondary-link:hover,
.level-card:hover {
  transform: translateY(-2px);
}

.hero-art {
  position: absolute;
  right: -10%;
  bottom: 2%;
  width: min(58vh, 430px);
  aspect-ratio: 1 / 1;
  opacity: 0.92;
}

.spiral-ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: clamp(16px, 2.6vw, 26px) solid rgba(216, 182, 107, 0.2);
  border-right-color: transparent;
  border-bottom-color: rgba(216, 182, 107, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 245, 224, 0.07) inset,
    0 26px 80px rgba(0, 0, 0, 0.26);
}

.ring-outer {
  width: 100%;
  height: 76%;
}

.ring-mid {
  width: 72%;
  height: 54%;
}

.ring-inner {
  width: 44%;
  height: 32%;
}

.spiral-ball {
  position: absolute;
  width: clamp(22px, 3vw, 31px);
  height: clamp(22px, 3vw, 31px);
  border-radius: 50%;
  border: 3px solid rgba(255, 250, 238, 0.82);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 16px 32px rgba(0, 0, 0, 0.34);
}

.ball-a {
  top: 14%;
  right: 10%;
  background: radial-gradient(circle at 30% 30%, #fff4d8, #f2b544 72%);
}

.ball-b {
  right: 18%;
  bottom: 24%;
  background: radial-gradient(circle at 30% 30%, #fff1ee, #f25f5c 72%);
}

.ball-c {
  left: 30%;
  bottom: 17%;
  background: radial-gradient(circle at 30% 30%, #e4fff0, #5ecb89 72%);
}

.selector {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  align-self: center;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.selector-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(12px, 2vh, 22px);
}

.selector-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.6vh, 14px);
  min-height: 0;
}

.level-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: clamp(11px, 1.6vh, 16px) clamp(12px, 1.8vw, 18px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0 0, rgba(216, 182, 107, 0.16), transparent 42%),
    rgba(11, 14, 15, 0.62);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.level-card::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(255, 245, 224, 0.9), var(--gold) 64%);
  opacity: 0.9;
}

.level-card:hover {
  border-color: var(--line-hot);
  background:
    radial-gradient(circle at 0 0, rgba(216, 182, 107, 0.25), transparent 42%),
    rgba(17, 22, 22, 0.82);
}

.level-index {
  position: relative;
  z-index: 1;
  min-width: 34px;
  color: #241a0d;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}

.level-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.level-body h3 {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-body p {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-meta {
  display: none;
}

.level-arrow {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.56);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 900px) {
  .campaign-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    width: min(100vw - 24px, 760px);
    padding: 14px 0;
  }

  .hero {
    display: block;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 72px);
    writing-mode: horizontal-tb;
  }

  .lead {
    max-width: 100%;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 12px;
  }

  .hero-art {
    display: none;
  }

  .selector {
    align-self: stretch;
    padding: 12px;
  }

  .selector-head {
    margin-bottom: 10px;
  }
}

@media (max-width: 560px) {
  .campaign-shell {
    width: min(100vw - 16px, 520px);
    padding: 10px 0;
  }

  .eyebrow,
  .selector-kicker,
  .secondary-link,
  .level-arrow {
    display: none;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .lead {
    display: none;
  }

  .primary-link {
    min-height: 38px;
    width: 100%;
  }

  .selector-head h2 {
    font-size: 24px;
  }

  .level-grid {
    gap: 8px;
  }

  .level-card {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 9px 10px;
  }

  .level-body h3 {
    font-size: 16px;
  }

  .level-body p {
    font-size: 12px;
  }
}
