@import url("/fonts/fonts.css");

:root {
  --bg: #060a1c;
  --bg-2: #0a1029;
  --card: #0f1836;
  --card-2: #142046;
  --line: rgba(160, 180, 255, 0.12);
  --text: #eef1ff;
  --muted: #9aa5cc;
  --brand: #5449fe;
  --brand-mid: #4680fa;
  --brand-light: #3ba7f7;
  --ok: #3ddc84;
  --gold: #ffc53d;
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 55%, var(--brand-light) 100%);
  --radius: 14px;
  --head: "Russo One", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
/* text-shadow would show through the transparent glyphs – use a drop-shadow filter instead */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 5px 0 rgba(0, 0, 0, .35));
}
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(6, 10, 28, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; height: 76px; }
.header .logo { margin-inline: auto; }
.nav { display: flex; gap: 6px; }
.nav a {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--muted); transition: color .2s, background .2s;
}
.nav a svg { width: 17px; height: 17px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.active { color: var(--text); }
.nav a.active span { box-shadow: 0 2px 0 var(--brand-light); padding-bottom: 2px; }
.logo img { height: 46px; width: auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .45)); transition: transform .2s; }
.logo:hover img { transform: scale(1.04) rotate(-1deg); }
.head-right { display: flex; justify-content: flex-end; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 600; font-size: 14px;
  transition: background .2s, border-color .2s, transform .2s;
}
.pill:hover { background: rgba(255, 255, 255, .09); border-color: rgba(160, 180, 255, .25); }
.pill:active { transform: translateY(1px); }
.pill svg { width: 18px; height: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.pill.discord { background: #5865f2; border-color: #5865f2; }
.pill.discord:hover { background: #6c78ff; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- beta announcement bar + countdown ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px; height: 36px; padding: 0 16px;
  background: linear-gradient(90deg, #5449fe, #4680fa, #3ba7f7, #4680fa, #5449fe); background-size: 200% 100%;
  animation: shine 8s linear infinite; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden;
}
@keyframes shine { to { background-position: 200% 0; } }
.announce-tag { padding: 2px 8px; border-radius: 6px; background: var(--gold); color: #000; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.announce-time { font-variant-numeric: tabular-nums; padding: 2px 10px; border-radius: 6px; background: rgba(0, 0, 0, .25); }
.announce:hover .announce-text { text-decoration: underline; }

.countdown {
  margin-top: 38px; padding: 18px 20px 20px; max-width: 540px; border-radius: 16px; scroll-margin-top: 140px;
  background: linear-gradient(180deg, rgba(84, 73, 254, .2), rgba(15, 24, 54, .7)); border: 1px solid rgba(120, 110, 255, .4);
  box-shadow: 0 20px 50px -24px rgba(84, 73, 254, .9);
}
.cd-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #c9c6ff; }
.cd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: ping 1.6s infinite; }
.cd-units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.cd-units div { text-align: center; padding: 12px 4px 10px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.cd-units b { display: block; font: 400 clamp(28px, 4vw, 42px)/1 var(--head); font-variant-numeric: tabular-nums; }
.cd-units span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cd-units b.tick { animation: tick .35s ease-out; }
@keyframes tick { from { transform: translateY(-6px); opacity: .4; } }
.countdown.live .cd-units { display: none; }
.countdown.live .cd-head { font-size: 22px; color: #fff; }
.cd-note { display: none; margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: #c9c6ff; }
.countdown.live .cd-note { display: block; }
.cd-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 12px;
  font-weight: 700; font-size: 15px; transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); box-shadow: 0 5px 0 #2d27a8, 0 18px 40px -12px rgba(84, 73, 254, .7); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 7px 0 #2d27a8, 0 22px 44px -12px rgba(84, 73, 254, .8); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #2d27a8; }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 760px; padding: 176px 0 90px; overflow: hidden; isolation: isolate; }
.hero.small { min-height: 0; padding: 186px 0 80px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(84, 73, 254, .45), transparent 60%),
    radial-gradient(700px 420px at 15% 62%, rgba(59, 167, 247, .22), transparent 60%),
    linear-gradient(180deg, #0b0f2e 0%, #070b20 70%, var(--bg) 100%);
}
/* soft fade into the page background, so glow and grid don't end in a hard line */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 10, 28, 0), var(--bg) 85%);
}
.hero-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; z-index: -1;
  background-image:
    linear-gradient(rgba(110, 130, 255, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 130, 255, .22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: grid 6s linear infinite;
}
@keyframes grid { to { background-position: 0 64px, 0 0; } }
/* page-wide pixel sparks (drawn by site.js), above content but never clickable */
#sparks { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px;
  background: rgba(84, 73, 254, .16); border: 1px solid rgba(120, 110, 255, .35);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c9c6ff;
}
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); margin: 22px 0 22px; text-transform: uppercase; text-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.hero .lead { font-size: 18px; color: #c3cbef; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 42px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font: 400 28px/1 var(--head); }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hero-art { position: relative; height: 560px; }
/* three team skins: the big one in front in the middle, the two others a bit behind on the sides (placed by their centre) */
.hero-art canvas { position: absolute; bottom: 0; cursor: grab; transform: translateX(-50%); }
.hero-art canvas:active { cursor: grabbing; }
.hero-art .c1 { left: 50%; z-index: 2; }
.hero-art .c2 { left: 83%; bottom: 30px; z-index: 1; }
.hero-art .c3 { left: 17%; bottom: 30px; z-index: 1; }
.hero-art::after {
  content: ""; position: absolute; left: 10%; right: 5%; bottom: -6px; height: 60px; z-index: 0;
  background: radial-gradient(closest-side, rgba(84, 73, 254, .55), transparent); filter: blur(6px);
}
.drag-hint { position: absolute; right: 8px; bottom: -28px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.drag-hint svg { width: 14px; height: 14px; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.kicker { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-light); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 12px 0 14px; text-transform: uppercase; }
.section-head p { color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  position: relative; padding: 38px 30px 34px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(120, 140, 255, .35); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.feature.hot { background: var(--grad); border-color: transparent; box-shadow: 0 30px 60px -22px rgba(84, 73, 254, .8); }
.feature.hot p { color: rgba(255, 255, 255, .88); }
.feature .ico {
  width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
}
.feature.hot .ico { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }
.feature .ico svg { width: 36px; height: 36px; }
.feature h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 15px; }

/* home feature grid: 3 columns, .big spans two, one .hot card in the brand gradient */
/* dense: on 2 columns a small card fills the gap next to a wide one */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row dense; gap: 20px; }
.bento-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(120, 140, 255, .35); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.bento-card.big { grid-column: span 2; padding: 34px 34px 30px; }
.bento-card.big h3 { font-size: 26px; }
.bento-card.big p { font-size: 16px; max-width: 560px; }
.bento-card.hot { background: var(--grad); border-color: transparent; box-shadow: 0 30px 60px -22px rgba(84, 73, 254, .8); }
.bento-card.hot p { color: rgba(255, 255, 255, .9); }
.bento-card .ico {
  width: 54px; height: 54px; margin-bottom: 6px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(84, 73, 254, .18); border: 1px solid rgba(120, 110, 255, .35); color: #c9c6ff;
}
.bento-card.hot .ico { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; }
.bento-card .ico svg { width: 28px; height: 28px; }
.bento-card h3 { font-size: 20px; text-transform: uppercase; }
.bento-card p { color: var(--muted); font-size: 15px; }
/* big decorative icon in the corner of the wide cards */
.bento-card.big::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent); pointer-events: none;
}
.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.bento-tags span { padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.bento-card.hot .bento-tags span { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); }

.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 34px 10px; text-align: center; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { display: block; font: 400 34px/1 var(--head); }
.strip span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* join */
.tabs { display: flex; width: min(520px, 100%); margin: 0 auto 34px; padding: 6px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.tabs button { flex: 1; height: 46px; border-radius: 99px; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 8px 22px -8px rgba(84, 73, 254, .9); }
.join { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.join-steps { padding: 44px; }
.join-steps h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 28px; }
.join-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.join-steps li { display: flex; gap: 18px; }
.join-steps .n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 400 17px var(--head); }
.join-steps li > div > b { display: block; margin-bottom: 2px; }
.join-steps p b { color: var(--text); }
.join-steps p { color: var(--muted); }
.code {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px; margin: 0 2px; border-radius: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line); color: var(--text); font: 600 14px/1.6 ui-monospace, Consolas, monospace;
}
button.code:hover { background: rgba(255, 255, 255, .14); }
.code svg { width: 14px; height: 14px; }
.join-art { background: var(--grad); display: grid; place-items: center; padding: 34px; }
.mc-window {
  width: 100%; max-width: 420px; padding: 20px 22px 24px; border-radius: 6px;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), repeating-conic-gradient(#3b2a1d 0 25%, #4a3626 0 50%) 0 0 / 32px 32px;
  border: 3px solid #000; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  font: 14px/1.4 "Pixelify Sans", ui-monospace, monospace; color: #fff; text-shadow: 2px 2px 0 #3f3f3f;
}
.mc-window .t { text-align: center; margin-bottom: 18px; }
.mc-window label { display: block; color: #a0a0a0; font-size: 12px; margin: 10px 0 4px; }
.mc-window .in { height: 32px; padding: 0 8px; display: flex; align-items: center; background: #000; border: 2px solid #a0a0a0; }
.mc-window .in.focus { border-color: #fff; }
.mc-window .in.focus::after { content: "_"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mc-btn { height: 34px; margin-top: 10px; display: grid; place-items: center; background: #6f6f6f; border: 2px solid #000; box-shadow: inset 2px 2px 0 #aaa, inset -2px -2px 0 #555; }
.mc-btn.hl { background: #7d86d6; box-shadow: inset 2px 2px 0 #b9c0ff, inset -2px -2px 0 #4a52a3; }
.mc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
[hidden] { display: none !important; }

/* creators teaser */
.teaser {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 50px 54px; border-radius: 20px; overflow: hidden; position: relative;
  background: radial-gradient(600px 300px at 90% 0%, rgba(59, 167, 247, .45), transparent 60%), linear-gradient(120deg, #1b1670, #241ca8 50%, #1c4fbf);
  border: 1px solid rgba(140, 150, 255, .35);
}
.teaser h2 { font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; margin: 10px 0 12px; }
.teaser p { color: #d3d8ff; max-width: 560px; }
.teaser .kicker { color: #9fd6ff; }

/* ---------- creators page ---------- */
.xp { margin-top: 40px; max-width: 640px; }
.xp-bar { position: relative; height: 26px; padding: 4px; border-radius: 8px; background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .15); }
.xp-fill { height: 100%; width: 0; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--brand-mid) 0 18px, var(--brand) 18px 20px); box-shadow: 0 0 18px rgba(70, 128, 250, .7); transition: width 2.2s cubic-bezier(.2, .8, .2, 1); }
.xp.go .xp-fill { width: 100%; }
.xp-labels { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.xp-labels div:nth-child(2) { text-align: center; }
.xp-labels div:nth-child(3) { text-align: right; }
.xp-labels small { display: block; font-weight: 800; font-size: 11px; letter-spacing: .12em; color: var(--brand-light); }
.xp-labels b { font-family: var(--head); font-weight: 400; }
.xp-labels span { display: block; font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.chip svg { width: 18px; height: 18px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .8); }
.tier-head { padding: 28px 28px 24px; position: relative; overflow: hidden; }
.tier-head::after { content: attr(data-lvl); position: absolute; right: 14px; top: -14px; font: 400 110px/1 var(--head); opacity: .14; }
.tier-head small { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.tier-head h3 { font-size: 28px; margin-top: 6px; text-transform: uppercase; }
.tier-head p { margin-top: 8px; font-size: 14px; opacity: .85; }
.t1 .tier-head { background: linear-gradient(135deg, #2f8fe8, #3ba7f7); }
.t2 .tier-head { background: linear-gradient(135deg, #4a5cff, #4680fa); }
.t3 .tier-head { background: linear-gradient(135deg, #2a1b8f, #5449fe); }
.t3 { border-color: rgba(255, 197, 61, .45); box-shadow: 0 0 0 1px rgba(255, 197, 61, .15), 0 30px 60px -28px rgba(255, 197, 61, .35); }
.t3 .badge { position: absolute; right: 18px; bottom: 18px; padding: 4px 10px; border-radius: 99px; background: var(--gold); color: #000; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.tier-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.tier-body h4 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.req { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.req div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 14px; }
.req dt { color: var(--muted); }
.req dd { margin: 0; font-weight: 700; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 10px; }
.perks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; background: var(--grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.note { margin-top: 26px; padding: 16px 20px; border-left: 3px solid var(--brand-light); background: rgba(59, 167, 247, .07); border-radius: 0 10px 10px 0; color: #c3cbef; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 32px; height: 2px; background: linear-gradient(90deg, transparent, var(--brand-mid), transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .n { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); font: 400 26px var(--head); box-shadow: 0 5px 0 #2d27a8, 0 16px 30px -12px rgba(84, 73, 254, .9); position: relative; }
.step h3 { font-size: 19px; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
.know { margin-top: 50px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.know .tag { flex: none; padding: 5px 10px; border-radius: 6px; background: var(--gold); color: #000; font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.know div { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 15px; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rule { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.rule .ico { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(84, 73, 254, .18); border: 1px solid rgba(120, 110, 255, .35); }
.rule .ico svg { width: 24px; height: 24px; color: #b6b0ff; }
.rule h3 { font-size: 18px; text-transform: uppercase; margin-bottom: 6px; }
.rule p { color: var(--muted); font-size: 15px; }

.apply { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.check { padding: 28px; border-radius: var(--radius); background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .15); }
.check h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 16px; }
.check ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check li::before { content: ""; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #9fd6ff; background: radial-gradient(circle, #9fd6ff 35%, transparent 40%); }

/* ---------- footer ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: #040716; }
.footer .top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 44px 0; }
.footer .top > :first-child { justify-self: start; }
.footer .top > :last-child { justify-self: end; }

/* creators hero art: skin + floating platform badges + chat line */
.creator-art { position: relative; height: 480px; }
.creator-art canvas { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); cursor: grab; }
.bubble {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; z-index: 2;
  background: rgba(15, 24, 54, .85); border: 1px solid var(--line); backdrop-filter: blur(8px); font-weight: 700; font-size: 14px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); animation: bob 4s ease-in-out infinite alternate;
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.bubble small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.bubble .b-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.bubble .b-ico svg { width: 20px; height: 20px; }
.bubble.yt { left: 0; top: 18%; } .bubble.yt .b-ico { background: #ff0033; }
.bubble.tt { right: 0; top: 6%; animation-delay: -1.3s; } .bubble.tt .b-ico { background: #111; box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }
.bubble.tw { right: 4%; top: 52%; animation-delay: -2.4s; } .bubble.tw .b-ico { background: #9146ff; }
.mc-chat {
  position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; bottom: -6px; z-index: 3; padding: 8px 12px; background: rgba(0, 0, 0, .55);
  font: 600 14px/1.3 ui-monospace, Consolas, monospace; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; border-radius: 4px;
}
.mc-chat .p { color: #c77dff; }
.mc-chat .a { color: #8a8a8a; }
.footer .logo img { height: 52px; }
.footer .bottom { padding: 26px 0 40px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; color: var(--muted); }
.footer .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 12px; font-weight: 600; color: var(--text); }
.footer .links a:hover { color: var(--brand-light); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 99;
  padding: 12px 20px; border-radius: 12px; background: #fff; color: #0a0f2a; font-weight: 700; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner, .join, .apply { grid-template-columns: 1fr; }
  .hero { padding-top: 156px; }
  .hero-art { height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
  .creator-art { height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
  .features, .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .teaser { grid-template-columns: 1fr; padding: 40px 30px; }
}
.hero-inner > *, .features > *, .bento > *, .tiers > *, .join > *, .apply > *, .teaser > * { min-width: 0; }
@media (max-width: 1160px) {
  .header .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
  .header .logo { margin-inline: 0; }
  .menu-btn { display: grid; order: 3; }
  .logo { order: 1; }
  .head-right { order: 2; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px 16px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); display: none;
    max-height: calc(100vh - 112px); overflow-y: auto;
  }
  .header.open .nav { display: flex; }
  .header.open { background: var(--bg); backdrop-filter: none; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .nav a.active { background: rgba(84, 73, 254, .16); }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(34px, 10.5vw, 52px); }
  .section-head h2 { font-size: clamp(26px, 8vw, 40px); }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .bubble { padding: 9px 12px; font-size: 13px; }
  .bubble .b-ico { width: 32px; height: 32px; }
  .head-right .pill.ip { display: none; }
  .logo img { height: 38px; }
  .announce { gap: 8px; font-size: 12px; }
  .announce-text { overflow: hidden; text-overflow: ellipsis; }
  .cd-units { gap: 6px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rules, .steps { grid-template-columns: 1fr; }
  .join-steps { padding: 30px 22px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .footer .top { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 36px 0; }
  .footer .top .logo { order: -1; flex-basis: 100%; display: flex; justify-content: center; margin-bottom: 8px; }
  .footer .top .logo img { height: 44px; }
  .hero-stats { gap: 22px; }
  .know { flex-direction: column; }
  /* long labels wrap instead of overflowing the fixed-height button */
  .btn { height: auto; min-height: 52px; padding: 12px 20px; text-align: center; justify-content: center; }
  .hero { min-height: 0; padding: 136px 0 40px; }
  .hero.small { padding: 146px 0 50px; }
  .hero .lead { font-size: 17px; }
  .countdown { margin-top: 30px; padding: 16px 14px; }
  .hero-art { height: 360px; margin-top: 10px; }
  .hero-art .c2, .hero-art .c3 { bottom: 24px; }
  .drag-hint { display: none; }
  .creator-art { height: 380px; margin-top: 10px; }
  .feature { padding: 30px 22px 28px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento-card, .bento-card.big { grid-column: auto; padding: 24px 22px 22px; }
  .bento-card.big h3 { font-size: 22px; }
  .feature .ico { width: 64px; height: 64px; margin-bottom: 18px; }
  .strip div { padding: 26px 8px; }
  .strip b { font-size: 30px; }
  .tabs button { font-size: 13px; letter-spacing: .03em; }
  .join-art { padding: 24px 16px; }
  .mc-window { padding: 16px 14px 18px; font-size: 13px; }
  .mc-btn { font-size: 12px; }
  .teaser { padding: 32px 22px; gap: 22px; }
  .teaser .btn { width: 100%; }
  .tier-head, .tier-body { padding-left: 22px; padding-right: 22px; }
  .req div { grid-template-columns: 92px 1fr; }
  .rule { padding: 20px; gap: 14px; }
  .rule .ico { width: 44px; height: 44px; }
  .check { padding: 22px; }
  .check li::before { flex: none; }
  .mc-chat { font-size: 12px; padding: 6px 10px; max-width: 100%; }
}
@media (max-width: 380px) {
  .announce-text { display: none; }
  .cd-units span { font-size: 10px; letter-spacing: .04em; }
  .xp-labels b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
