:root {
  --night: #140f1f;
  --night-2: #1d1530;
  --panel: rgba(255, 246, 228, 0.06);
  --panel-line: rgba(255, 226, 170, 0.16);
  --cream: #fff4e2;
  --cream-soft: #d9c8b3;
  --gold: #f2c25b;
  --gold-deep: #c98d2b;
  --coral: #ef6b4a;
  --coral-deep: #c44a2c;
  --violet: #8d78d8;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 17px/1.6 "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; line-height: 1.12; margin: 0; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 18px 16px;
}
.topbar .mark { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-family: "Fredoka", sans-serif; font-size: 20px; }
.topbar .mark img { width: 36px; height: 36px; border-radius: 9px; }
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { color: var(--cream); text-decoration: none; font-weight: 700; opacity: 0.9; }
.topbar nav a:hover { color: var(--gold); }

/* ---------- Hero */
.hero {
  position: relative;
  min-height: min(100vh, 960px);
  display: flex; align-items: center;
  padding: 110px 0 72px;
  background:
    linear-gradient(90deg, rgba(20, 15, 31, 0.92) 0%, rgba(20, 15, 31, 0.62) 46%, rgba(20, 15, 31, 0.25) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(20, 15, 31, 0) 30%),
    url("/img/hero-workshop.webp") center 30% / cover no-repeat;
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero .logo { width: min(520px, 100%); margin: 0 0 18px -8px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45)); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 14px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--cream-soft); max-width: 540px; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.soon {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--gold); color: #2b1a05; font-weight: 800; letter-spacing: 0.01em;
  box-shadow: 0 4px 0 var(--gold-deep);
}
.ghost {
  display: inline-block; padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid var(--panel-line); color: var(--cream); text-decoration: none; font-weight: 800;
  background: rgba(20, 15, 31, 0.35);
}
.ghost:hover { border-color: var(--gold); color: var(--gold); }

.phone {
  justify-self: center;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #2c2238, #0d0a14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(3deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }

/* ---------- Sections */
section.band { padding: 88px 0; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin-bottom: 10px; }
.band h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.band p.sub { color: var(--cream-soft); max-width: 620px; margin: 0 0 40px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 22px; padding: 26px 24px;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: #3b2508; font-family: "Fredoka", sans-serif; font-size: 20px; margin-bottom: 14px;
}
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--cream-soft); }

.worlds-band { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.world {
  border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--panel-line);
  transition: transform 0.25s ease;
}
.world:hover { transform: translateY(-4px); }
.world img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.world .info { padding: 14px 16px 18px; }
.world h3 { font-size: 19px; margin-bottom: 4px; }
.world .levels { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.world p { margin: 6px 0 0; color: var(--cream-soft); font-size: 15px; line-height: 1.45; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--panel-line); border-radius: 22px; padding: 24px; }
.feature .icon { font-size: 30px; margin-bottom: 10px; }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--cream-soft); font-size: 16px; }

.collect { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.marbles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.marbles img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); }
.marbles img:nth-child(even) { transform: translateY(14px); }
.collect .supporter { border-radius: 22px; margin-top: 24px; border: 1px solid var(--panel-line); }

.final {
  text-align: center; padding: 96px 0 104px;
  background: radial-gradient(ellipse at 50% 0%, rgba(242, 194, 91, 0.18), transparent 60%), var(--night-2);
}
.final h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 12px; }
.final p { color: var(--cream-soft); margin: 0 auto 30px; max-width: 520px; font-size: 18px; }
.final .cta-row { justify-content: center; }

footer {
  border-top: 1px solid var(--panel-line); padding: 28px 0 40px; color: var(--cream-soft); font-size: 15px;
}
footer .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--cream-soft); }
footer a:hover { color: var(--gold); }

/* ---------- Responsive */
@media (max-width: 980px) {
  .worlds { grid-template-columns: repeat(5, min(72%, 280px)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .world { scroll-snap-align: start; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .topbar nav a.hide-sm { display: none; }
  .hero { min-height: auto; padding-top: 96px; background-position: 30% 30%; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .phone { transform: none; width: min(280px, 72vw); }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .collect { grid-template-columns: 1fr; gap: 28px; }
  section.band { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .world { transition: none; }
}
