:root {
  --plum-900: #1E0728;
  --plum-800: #2A0B37;
  --plum-700: #3A0F4A;
  --plum-600: #49155C;
  --plum-500: #5E1D75;
  --plum-400: #7A2A96;
  --violet-400: #A855F7;
  --violet-300: #C084FC;
  --violet-200: #DDBEFB;
  --gold-400: #F2C14E;

  --ink-900: #1B0A24;
  --ink-700: #43304E;
  --ink-500: #6C5A77;

  --surface-0: #FFFFFF;
  --surface-1: #FBF8FE;
  --surface-2: #F3EBFA;
  --line: #E7DAF3;

  --on-dark: #FFFFFF;
  --on-dark-soft: #D6C2E4;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  --shadow-card: 0 18px 40px rgba(43, 12, 56, 0.10);
  --shadow-cta: 0 12px 28px rgba(122, 42, 150, 0.35);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --shell: 1140px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--surface-1);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--violet-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-defs { position: absolute; width: 0; height: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--plum-600);
  color: var(--on-dark);
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus { left: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--space-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn-primary {
  background: var(--violet-400);
  color: #22062E;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover { background: var(--violet-300); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--on-dark);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(30, 7, 40, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  background: rgba(30, 7, 40, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand { display: flex; align-items: center; }

.brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.header-nav {
  display: none;
  margin-left: auto;
  gap: var(--space-5);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--on-dark-soft);
}

.header-nav a { padding: 8px 0; transition: color 180ms ease; }
.header-nav a:hover { color: var(--on-dark); }

.header-inner .btn { margin-left: auto; }

.hero {
  position: relative;
  background:
    radial-gradient(1000px 600px at 15% -10%, var(--plum-500) 0%, transparent 60%),
    linear-gradient(170deg, var(--plum-800) 0%, var(--plum-900) 100%);
  color: var(--on-dark);
  padding-block: var(--space-6) var(--space-7);
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  inset: auto -30% -45% auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: var(--space-6);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet-200);
}

.hero h1 {
  color: var(--on-dark);
  font-size: clamp(2rem, 7.4vw, 3.4rem);
  font-weight: 800;
  max-width: 16ch;
}

.hero-accent {
  display: block;
  margin-top: var(--space-2);
  color: var(--violet-300);
}

.hero-figures {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.figure {
  flex: 1 1 180px;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.figure-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 700;
  color: var(--gold-400);
  white-space: nowrap;
}

.figure-alt .figure-value { color: var(--on-dark); }

.figure-label {
  display: block;
  font-size: 0.86rem;
  color: var(--on-dark-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-actions .btn { flex: 1 1 auto; }

.hero-visual {
  display: flex;
  justify-content: center;
}

.cube-stage {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.cube-halo {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.36) 0%, rgba(122, 42, 150, 0.12) 45%, transparent 70%);
  filter: blur(18px);
  animation: pulse 6s ease-in-out infinite;
}

.cube-shadow {
  position: absolute;
  bottom: 12%;
  width: 46%;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  filter: blur(16px);
  animation: shadow-breathe 7s ease-in-out infinite;
}

.cube-float {
  position: relative;
  animation: float 7s ease-in-out infinite;
}

.cube {
  --size: clamp(160px, 46vw, 230px);
  --half: calc(var(--size) / 2);
  position: relative;
  width: var(--size);
  height: var(--size);
  transform-style: preserve-3d;
  animation: spin 26s linear infinite;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 190, 251, 0.45);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(168, 85, 247, 0.32) 0%, rgba(73, 21, 92, 0.55) 100%);
  box-shadow: inset 0 0 40px rgba(192, 132, 252, 0.22);
}

.face-front  { transform: translateZ(var(--half)); }
.face-back   { transform: rotateY(180deg) translateZ(var(--half)); }
.face-right  { transform: rotateY(90deg) translateZ(var(--half)); }
.face-left   { transform: rotateY(-90deg) translateZ(var(--half)); }
.face-top    { transform: rotateX(90deg) translateZ(var(--half)); }
.face-bottom { transform: rotateX(-90deg) translateZ(var(--half)); }

.face-art {
  width: 84%;
  height: 84%;
  overflow: visible;
}

.face-right .face-art { transform: rotate(90deg); }
.face-left .face-art { transform: rotate(-90deg); }
.face-back .face-art { transform: scaleX(-1); }
.face-bottom .face-art { transform: rotate(180deg); }

.fold-frame {
  fill: none;
  stroke: rgba(221, 190, 251, 0.25);
  stroke-width: 1;
}

.fold {
  fill: none;
  stroke: var(--violet-200);
  stroke-width: 2.2;
  stroke-linecap: round;
  opacity: 0.85;
}

.node {
  fill: var(--violet-300);
  opacity: 0.95;
}

@keyframes spin {
  from { transform: rotateX(-16deg) rotateY(0deg); }
  to   { transform: rotateX(-16deg) rotateY(360deg); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}

@keyframes shadow-breathe {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.28; transform: scale(0.86); }
}

.section { padding-block: var(--space-6); }

.section-head { margin-bottom: var(--space-5); max-width: 62ch; }

.section-head h2 {
  font-size: clamp(1.55rem, 5.2vw, 2.2rem);
  font-weight: 700;
}

.section-head p {
  margin-top: var(--space-3);
  color: var(--ink-500);
}

.section-live {
  padding-top: var(--space-6);
  padding-bottom: var(--space-4);
}

.live-card {
  padding: var(--space-4);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.live-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--plum-500);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-title {
  margin-top: var(--space-3);
  font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  font-weight: 700;
}

.live-progress { margin-block: var(--space-4); }

.progress {
  height: 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--plum-500) 0%, var(--violet-400) 100%);
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.live-deadline {
  margin-top: var(--space-3);
  font-size: 0.94rem;
  color: var(--ink-500);
}

.cards {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 4px var(--space-3);
  margin-inline: calc(var(--space-4) * -1);
  padding-inline: var(--space-4);
  scroll-padding-inline: var(--space-4);
}

.cards::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 84%;
  max-width: 400px;
  scroll-snap-align: start;
  padding: var(--space-4);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(43, 12, 56, 0.14);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--space-3);
  border-radius: 14px;
  background: linear-gradient(150deg, var(--plum-600) 0%, var(--plum-400) 100%);
  color: var(--violet-200);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.card p { color: var(--ink-500); font-size: 0.97rem; }

.card-meta {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--plum-500);
}

.section-steps { background: var(--surface-2); }

.steps {
  display: grid;
  gap: var(--space-3);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-4);
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  background: var(--plum-600);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.step h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.step p { color: var(--ink-500); font-size: 0.94rem; }

.payout {
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-0);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--plum-500);
  text-align: center;
}

.site-footer {
  background: var(--plum-900);
  color: var(--on-dark-soft);
  padding-block: var(--space-6) var(--space-4);
}

.footer-inner {
  display: grid;
  gap: var(--space-5);
}

.footer-brand img {
  width: auto;
  height: 44px;
  margin-bottom: var(--space-3);
  object-fit: contain;
}

.footer-brand p { max-width: 46ch; font-size: 0.94rem; }

.footer-nav {
  display: grid;
  gap: var(--space-2);
  font-size: 0.94rem;
}

.footer-nav a { padding: 6px 0; transition: color 180ms ease; }
.footer-nav a:hover { color: var(--on-dark); }

.footer-legal {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  display: grid;
  gap: var(--space-1);
}

.footer-copy { color: rgba(214, 194, 228, 0.7); }

@media (min-width: 720px) {
  .shell { padding-inline: var(--space-5); }
  .section { padding-block: var(--space-7); }
  .cards {
    gap: var(--space-4);
    margin-inline: calc(var(--space-5) * -1);
    padding-inline: var(--space-5);
    scroll-padding-inline: var(--space-5);
  }
  .card { flex: 0 0 46%; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .live-card { padding: var(--space-5); }
  .hero-actions .btn { flex: 0 0 auto; min-width: 190px; }
  .footer-inner { grid-template-columns: 1.6fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .footer-nav { justify-items: end; }
}

@media (min-width: 1000px) {
  .header-nav { display: flex; }
  .header-inner .btn { margin-left: 0; }
  .card { flex: 1 1 0; min-width: 0; max-width: none; }
  .hero { padding-block: var(--space-7); }
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: var(--space-6);
  }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .live-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    align-items: center;
    gap: var(--space-5);
  }
  .live-progress { margin-block: 0; }
  .live-card .btn { min-width: 190px; }
  .cube { --size: clamp(230px, 20vw, 280px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cube { animation: none; transform: rotateX(-16deg) rotateY(-28deg); }
  .cube-float,
  .cube-halo,
  .cube-shadow { animation: none; }
  .progress-fill { transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
