:root {
  --ink-950: #070716;
  --ink-900: #0b0b22;
  --ink-850: #11112c;
  --paper: #f8fbff;
  --muted: #aeb5cf;
  --violet: #9b87f5;
  --violet-bright: #b9a8ff;
  --cyan: #39d8f2;
  --pink: #f47cb7;
  --coral: #ff866f;
  --amber: #ffc35c;
  --mint: #53e2b3;
  --danger: #ff8f9d;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(17, 17, 44, 0.7);
  --glass-light: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 90px rgba(0, 0, 16, 0.34);
  --content: min(1220px, calc(100vw - 64px));
  --header-height: 82px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 26px);
}

@supports (overflow: clip) {
  html {
    overflow-x: clip;
  }
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(155, 135, 245, 0.14), transparent 35%),
    linear-gradient(160deg, #070716 0%, #0a0a22 46%, #070716 100%);
  color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(57, 216, 242, 0.82);
  outline-offset: 3px;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.aurora {
  position: fixed;
  z-index: -4;
  width: 38vw;
  height: 38vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.15;
  pointer-events: none;
  animation: aurora-float 13s ease-in-out infinite alternate;
}

.aurora-violet {
  top: -13vw;
  right: -7vw;
  background: var(--violet);
}

.aurora-cyan {
  top: 36%;
  left: -22vw;
  background: var(--cyan);
  animation-delay: -5s;
}

.aurora-coral {
  right: -23vw;
  bottom: -10vw;
  background: var(--pink);
  animation-delay: -9s;
}

@keyframes aurora-float {
  from { transform: translate3d(-2%, -3%, 0) scale(0.92); }
  to { transform: translate3d(4%, 5%, 0) scale(1.08); }
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: rgba(255, 255, 255, 0.03);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--amber));
  box-shadow: 0 0 24px rgba(185, 168, 255, 0.85);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 12px max(32px, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(7, 7, 22, 0.86), rgba(7, 7, 22, 0));
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(7, 7, 22, 0.82);
  backdrop-filter: blur(22px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  text-decoration: none;
}

.brand-event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  align-items: center;
}

.brand-event b {
  background: linear-gradient(135deg, var(--cyan), var(--violet-bright), var(--pink));
  background-clip: text;
  color: transparent;
  font-size: 26px;
  line-height: 1;
}

.brand-event small {
  max-width: 72px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.nav-source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(248, 251, 255, 0.7);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.nav-source:hover,
.nav-source:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-source {
  margin-left: 5px;
  border: 1px solid rgba(185, 168, 255, 0.35);
  color: #e8e0ff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  width: var(--content);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 60px) 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #c8bcff;
  font-size: 12px;
  font-weight: 880;
  letter-spacing: 0.17em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow span {
  width: 32px;
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--amber));
  box-shadow: 0 0 18px rgba(155, 135, 245, 0.7);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 5.45vw, 82px);
  font-weight: 880;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.gradient-text {
  display: inline-block;
  padding-right: 0.08em;
  background: linear-gradient(105deg, var(--cyan) 0%, var(--violet-bright) 39%, var(--pink) 70%, var(--amber) 100%);
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 52px rgba(155, 135, 245, 0.18);
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.85;
}

.hero-actions,
.tracker-actions,
.source-actions,
.dialog-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: linear-gradient(105deg, #27cde8, #8f7af2 50%, #ec74b1);
  color: #08081a;
  box-shadow: 0 14px 36px rgba(111, 92, 220, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.button-primary:hover {
  box-shadow: 0 18px 48px rgba(111, 92, 220, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button-ghost:hover,
.button-subtle:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.button-subtle {
  border-color: var(--line-soft);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
}

.button-light {
  background: #f7f5ff;
  color: #17142e;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}

.hero-facts article {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.hero-facts span,
.hero-facts strong {
  display: block;
}

.hero-facts span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
}

.hero-facts strong {
  color: #fff;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.4;
}

.hero-art {
  position: relative;
  z-index: 2;
  min-height: 560px;
}

.orbit-stage {
  position: absolute;
  inset: 0;
  isolation: isolate;
}

.orbit-stage::before {
  position: absolute;
  inset: 12% 10% 9%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 44%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(circle at 52% 50%, rgba(139, 118, 238, 0.35), rgba(10, 10, 34, 0.07) 58%, transparent 72%);
  filter: blur(3px);
  content: "";
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
}

.orbit-one {
  width: 490px;
  height: 490px;
  animation: orbit-spin 22s linear infinite;
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-color: rgba(57, 216, 242, 0.22);
  transform: translate(-50%, -50%) rotate(34deg);
  animation: orbit-spin-reverse 17s linear infinite;
}

.orbit-three {
  width: 288px;
  height: 288px;
  border-style: dashed;
  border-color: rgba(244, 124, 183, 0.28);
  transform: translate(-50%, -50%) rotate(-32deg);
  animation: orbit-spin 12s linear infinite;
}

.orbit i {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px currentColor;
}

.orbit i:nth-child(1) { top: 8%; left: 27%; color: var(--cyan); }
.orbit i:nth-child(2) { right: 5%; bottom: 35%; color: var(--pink); background: var(--pink); }
.orbit i:nth-child(3) { bottom: 3%; left: 39%; color: var(--amber); background: var(--amber); }

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(346deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-326deg); }
}

.number-25 {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 310px;
  height: 245px;
  transform: translate(-50%, -50%);
}

.number-25 > span {
  background: linear-gradient(150deg, #fff 5%, #b9f3ff 28%, #baabff 57%, #f8a5cd 82%, #ffd28b 100%);
  background-clip: text;
  color: transparent;
  font-size: 178px;
  font-weight: 900;
  letter-spacing: -0.13em;
  line-height: 0.8;
  filter: drop-shadow(0 12px 34px rgba(132, 105, 238, 0.2));
}

.number-25 small {
  position: absolute;
  right: 4px;
  bottom: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(8, 8, 26, 0.7);
  color: #d8d0ff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-align: center;
}

.voyage-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.voyage-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.voyage-line path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-dasharray: 4 11;
  stroke-linecap: round;
}

.voyage-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 7px rgba(155, 135, 245, 0.12), 0 0 22px rgba(155, 135, 245, 0.9);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

.dot-one { top: 76%; left: 10%; }
.dot-two { top: 30%; left: 49%; animation-delay: -0.7s; }
.dot-three { top: 39%; right: 3%; animation-delay: -1.4s; }

@keyframes dot-pulse {
  50% { transform: scale(1.45); box-shadow: 0 0 0 13px rgba(155, 135, 245, 0.04), 0 0 30px rgba(155, 135, 245, 1); }
}

.reward-chip {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 154px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 17px;
  background: rgba(15, 15, 43, 0.7);
  box-shadow: 0 18px 46px rgba(0, 0, 16, 0.24);
  backdrop-filter: blur(18px) saturate(145%);
}

.reward-chip span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.reward-chip strong {
  font-size: 15px;
}

.chip-one { top: 13%; left: 1%; animation: chip-float 5.4s ease-in-out infinite; }
.chip-two { top: 19%; right: -1%; animation: chip-float 5.8s ease-in-out -1.5s infinite; }
.chip-three { right: 4%; bottom: 13%; animation: chip-float 6s ease-in-out -3s infinite; }

@keyframes chip-float {
  50% { transform: translateY(-9px); }
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-decoration: none;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.scroll-cue i::after {
  position: absolute;
  inset: -100% 0 auto;
  height: 100%;
  background: #fff;
  content: "";
  animation: scroll-drop 1.8s ease-in-out infinite;
}

@keyframes scroll-drop {
  to { transform: translateY(200%); }
}

.section {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 700px;
}

.section-heading h2,
.tracker-heading h2,
.source-banner h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-heading > p:last-child,
.tracker-heading > div > p:last-child,
.source-banner > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.mechanism-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 240ms ease, border-color 240ms ease;
}

.mechanism-card::before {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--card-glow, var(--violet));
  filter: blur(85px);
  opacity: 0.16;
  content: "";
}

.mechanism-card:nth-child(1) { --card-glow: var(--cyan); }
.mechanism-card:nth-child(2) { --card-glow: var(--pink); }
.mechanism-card:nth-child(3) { --card-glow: var(--amber); }

.mechanism-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-5px);
}

.mechanism-card.featured {
  border-color: rgba(255, 195, 92, 0.27);
  background: linear-gradient(145deg, rgba(255, 195, 92, 0.12), rgba(244, 124, 183, 0.07) 50%, rgba(255, 255, 255, 0.025));
}

.step-no {
  position: absolute;
  top: 25px;
  right: 26px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.icon-register i:first-child {
  width: 29px;
  height: 29px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(57, 216, 242, 0.4);
}

.icon-register i:last-child {
  position: absolute;
  right: 17px;
  bottom: 18px;
  width: 24px;
  height: 2px;
  background: var(--pink);
  box-shadow: 0 0 14px rgba(244, 124, 183, 0.6);
}

.icon-register i:last-child::after {
  position: absolute;
  top: -11px;
  left: 11px;
  width: 2px;
  height: 24px;
  background: inherit;
  content: "";
}

.icon-orbit i {
  width: 45px;
  height: 45px;
  border: 1px solid var(--violet-bright);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(155, 135, 245, 0.15), 0 0 20px rgba(155, 135, 245, 0.16);
}

.icon-orbit i::before {
  position: absolute;
  top: 15px;
  left: 42px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 16px var(--pink);
  content: "";
}

.icon-ticket i {
  display: grid;
  place-items: center;
  width: 49px;
  height: 32px;
  border: 1px solid var(--amber);
  border-radius: 8px;
  background: rgba(255, 195, 92, 0.09);
  color: var(--amber);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 195, 92, 0.18);
}

.mechanism-card > p {
  margin: 0 0 7px;
  color: var(--violet-bright);
  font-size: 11px;
  font-weight: 840;
  letter-spacing: 0.08em;
}

.mechanism-card h3 {
  margin-bottom: 13px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.mechanism-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tracker-section {
  width: 100%;
  padding-right: max(32px, calc((100vw - 1220px) / 2));
  padding-left: max(32px, calc((100vw - 1220px) / 2));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 82% 12%, rgba(244, 124, 183, 0.09), transparent 29%),
    radial-gradient(circle at 14% 77%, rgba(57, 216, 242, 0.07), transparent 28%),
    rgba(255, 255, 255, 0.017);
}

.tracker-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 40px;
}

.tracker-heading > div:first-child {
  max-width: 680px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 0.72fr 0.72fr 1.3fr 1.05fr;
  gap: 12px;
  margin-bottom: 22px;
}

.summary-card {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line-soft);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
}

.summary-card span,
.summary-card strong,
.summary-card small {
  display: block;
}

.summary-card span {
  min-height: 34px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
}

.summary-card strong {
  overflow: hidden;
  margin-bottom: 8px;
  font-size: clamp(25px, 2.55vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-card small {
  color: rgba(174, 181, 207, 0.72);
  font-size: 10px;
  line-height: 1.45;
}

.reward-summary {
  border-color: rgba(155, 135, 245, 0.22);
  background: linear-gradient(130deg, rgba(57, 216, 242, 0.09), rgba(155, 135, 245, 0.12), rgba(244, 124, 183, 0.08));
}

.reward-summary strong {
  background: linear-gradient(90deg, #b9f4ff, #d3c8ff, #ffb4d9);
  background-clip: text;
  color: transparent;
}

.partner-list {
  display: grid;
  gap: 16px;
}

.partner-card {
  position: relative;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 20px 60px rgba(0, 0, 14, 0.18);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.partner-card[data-status="qualified"] {
  border-color: rgba(83, 226, 179, 0.38);
  box-shadow: 0 20px 65px rgba(22, 153, 116, 0.1);
}

.partner-card[data-status="invalid"] {
  border-color: rgba(255, 143, 157, 0.28);
}

.partner-card::after {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--status-glow, var(--violet));
  filter: blur(80px);
  opacity: 0.1;
  content: "";
  pointer-events: none;
}

.partner-card[data-status="qualified"] { --status-glow: var(--mint); }
.partner-card[data-status="invalid"] { --status-glow: var(--danger); }

.partner-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.partner-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.partner-index {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(57, 216, 242, 0.17), rgba(155, 135, 245, 0.15), rgba(244, 124, 183, 0.14));
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.partner-identity div {
  min-width: 0;
}

.partner-identity span,
.partner-identity strong {
  display: block;
}

.partner-identity span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.partner-identity strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 195, 92, 0.22);
  border-radius: 999px;
  background: rgba(255, 195, 92, 0.08);
  color: #ffdc9b;
  font-size: 11px;
  font-weight: 820;
}

.partner-card[data-status="qualified"] .status-badge {
  border-color: rgba(83, 226, 179, 0.28);
  background: rgba(83, 226, 179, 0.1);
  color: #9af1d6;
}

.partner-card[data-status="invalid"] .status-badge {
  border-color: rgba(255, 143, 157, 0.26);
  background: rgba(255, 143, 157, 0.08);
  color: #ffb7c0;
}

.remove-partner {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.remove-partner:hover {
  border-color: rgba(255, 143, 157, 0.34);
  background: rgba(255, 143, 157, 0.08);
  color: #ffd0d6;
}

.remove-partner svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.partner-fields {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr 1fr 1fr 1.15fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.field input,
.field select {
  width: 100%;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(5, 5, 20, 0.46);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field input:hover,
.field select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.field input:focus,
.field select:focus {
  border-color: rgba(57, 216, 242, 0.6);
  background: rgba(8, 8, 26, 0.72);
  box-shadow: 0 0 0 3px rgba(57, 216, 242, 0.1);
}

.field input[type="date"] {
  color-scheme: dark;
}

.number-wrap {
  position: relative;
}

.number-wrap input {
  padding-right: 38px;
}

.number-wrap span {
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--muted);
  font-size: 11px;
  transform: translateY(-50%);
  pointer-events: none;
}

.card-progress {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line-soft);
}

.progress-copy {
  display: grid;
  gap: 9px;
}

.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.progress-label strong {
  color: #fff;
  font-size: 12px;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.progress-fill {
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--amber));
  box-shadow: 0 0 18px rgba(155, 135, 245, 0.5);
  transition: width 300ms ease;
}

.progress-message {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.card-voucher {
  min-width: 150px;
  text-align: right;
}

.card-voucher span,
.card-voucher strong {
  display: block;
}

.card-voucher span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
}

.card-voucher strong {
  font-size: 22px;
  letter-spacing: -0.035em;
}

.privacy-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.privacy-note svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
}

.privacy-note strong {
  color: #dffaff;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rule-card {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.rule-card > span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--violet-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.rule-card h3 {
  margin-bottom: 11px;
  font-size: 19px;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.source-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  margin-top: 72px;
  padding: clamp(32px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 195, 92, 0.16), transparent 27%),
    radial-gradient(circle at 5% 90%, rgba(57, 216, 242, 0.15), transparent 29%),
    linear-gradient(135deg, rgba(155, 135, 245, 0.15), rgba(244, 124, 183, 0.08));
  box-shadow: var(--shadow);
}

.source-banner > div:first-child {
  max-width: 690px;
}

.source-banner h2 {
  font-size: clamp(32px, 3.5vw, 49px);
}

.source-actions {
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line-soft);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  font-size: 12px;
}

.site-footer span,
.site-footer small {
  color: rgba(174, 181, 207, 0.64);
  font-size: 10px;
}

.site-footer small {
  text-align: right;
}

.source-dialog {
  width: min(780px, calc(100vw - 32px));
  max-height: min(820px, calc(100svh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #10102a;
  color: #fff;
  box-shadow: 0 40px 130px rgba(0, 0, 12, 0.72);
}

.source-dialog::backdrop {
  background: rgba(4, 4, 15, 0.78);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  display: flex;
  flex-direction: column;
  max-height: min(820px, calc(100svh - 32px));
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 28px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(135deg, rgba(57, 216, 242, 0.07), rgba(155, 135, 245, 0.11), rgba(244, 124, 183, 0.07));
}

.dialog-header .section-kicker {
  margin-bottom: 8px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.dialog-close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.dialog-content {
  padding: 24px 28px;
  overflow-y: auto;
}

.dialog-content ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dialog-content li {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.dialog-content li strong {
  color: #d7ceff;
  font-size: 13px;
}

.dialog-content li span {
  color: rgba(248, 251, 255, 0.74);
  font-size: 13px;
  line-height: 1.65;
}

.dialog-warning {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(255, 195, 92, 0.2);
  border-radius: 16px;
  background: rgba(255, 195, 92, 0.07);
}

.dialog-warning strong {
  display: block;
  margin-bottom: 7px;
  color: #ffe0a5;
  font-size: 13px;
}

.dialog-warning p {
  margin: 0;
  color: rgba(255, 241, 215, 0.72);
  font-size: 12px;
  line-height: 1.7;
}

.dialog-footer {
  justify-content: flex-end;
  padding: 18px 28px 23px;
  border-top: 1px solid var(--line-soft);
  background: rgba(5, 5, 18, 0.28);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 160;
  max-width: min(420px, calc(100vw - 40px));
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(20, 20, 51, 0.92);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 15, 0.4);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 190ms ease, transform 190ms ease;
  backdrop-filter: blur(18px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.spark-layer {
  position: fixed;
  inset: 0;
  z-index: 150;
  overflow: hidden;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: var(--spark-size, 8px);
  height: var(--spark-size, 8px);
  border-radius: 2px;
  background: var(--spark-color, var(--cyan));
  box-shadow: 0 0 16px var(--spark-color, var(--cyan));
  animation: spark-flight var(--spark-duration, 1.3s) cubic-bezier(.16, .7, .3, 1) forwards;
}

@keyframes spark-flight {
  from { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }
  to { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) rotate(var(--spark-rotation)) scale(0.15); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(.2, .7, .2, 1), transform 720ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  :root {
    --content: min(100% - 48px, 1060px);
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
    gap: 30px;
  }

  .hero-art {
    min-height: 500px;
    transform: scale(0.9);
  }

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

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    padding: 10px 22px;
  }

  .main-nav a {
    display: none;
  }

  .nav-source {
    margin: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: calc(var(--header-height) + 80px);
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-art {
    min-height: 540px;
    transform: none;
  }

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

  .mechanism-card {
    min-height: 280px;
  }

  .step-icon {
    margin-bottom: 34px;
  }

  .tracker-heading,
  .source-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-actions {
    width: 100%;
  }

}

@media (max-width: 640px) {
  :root {
    --content: calc(100vw - 32px);
    --radius-xl: 26px;
    --radius-lg: 22px;
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    width: calc(100vw - 32px);
    min-width: 0;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 55px);
  }

  .hero-copy,
  .hero-actions,
  .hero-facts {
    inline-size: 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy {
    contain: inline-size;
  }

  .hero-lead {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(43px, 12vw, 60px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-width: 0;
  }

  .hero-facts span {
    margin: 0;
  }

  .hero-facts strong {
    min-width: 0;
    font-size: 12px;
    text-align: right;
  }

  .hero-art {
    min-height: 430px;
    transform: scale(0.77);
    transform-origin: top center;
    margin-bottom: -88px;
  }

  .section {
    padding: 82px 0;
  }

  .tracker-section {
    padding-right: 16px;
    padding-left: 16px;
  }

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

  .summary-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .summary-card span {
    min-height: auto;
  }

  .partner-card {
    padding: 20px 16px;
  }

  .partner-card-header {
    align-items: flex-start;
  }

  .status-badge {
    display: none;
  }

  .partner-fields {
    grid-template-columns: 1fr;
  }

  .card-progress {
    grid-template-columns: 1fr;
  }

  .card-voucher {
    text-align: left;
  }

  .source-banner {
    margin-top: 48px;
  }

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

  .site-footer div,
  .site-footer small {
    text-align: left;
  }

  .dialog-header,
  .dialog-content,
  .dialog-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dialog-content li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .dialog-footer .button {
    flex: 1 1 100%;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
