:root {
  --bg: #eef3ec;
  --ink: #3d4a45;
  --ink-soft: #6f7d77;
  --band-a: #c5f03c;
  --band-b: #35e0b0;
  --btn-a: #ff8a3d;
  --btn-b: #ffcf33;
  --accent: #19b88a;
  --title-a: #ff7a2f;
  --title-b: #f5b700;
  --tile: #ffffff;
  --common: #9aa7a1;
  --rare: #2f9bff;
  --epic: #a45bff;
  --legendary: #ff9f1a;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 17px/1.6 "M PLUS Rounded 1c", "Nunito", system-ui, sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* soft floating light spots */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 12% 28%, rgba(255,255,255,.95) 0 22px, transparent 40px),
    radial-gradient(circle at 88% 42%, rgba(255,255,255,.9) 0 16px, transparent 34px),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.85) 0 26px, transparent 46px),
    radial-gradient(circle at 22% 88%, rgba(255,255,255,.8) 0 14px, transparent 30px),
    radial-gradient(circle at 50% 60%, rgba(255,255,255,.6) 0 10px, transparent 24px);
  filter: blur(6px);
}
body > * { position: relative; z-index: 1; }

a { color: var(--accent); font-weight: 700; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* diagonal header band */
.band {
  background: linear-gradient(100deg, var(--band-a), var(--band-b));
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%);
  height: 190px; margin-bottom: -110px;
}
.band .wrap { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 16px; }

.logo {
  display: inline-block; text-decoration: none; line-height: .95; text-align: center;
  font-weight: 900; font-size: 30px; letter-spacing: -.02em; color: #ffe14d;
  -webkit-text-stroke: 5px #1f6b3a; paint-order: stroke fill;
  transform: rotate(-4deg);
}
.logo small { display: block; font-size: 15px; color: #fff; -webkit-text-stroke: 3px #1f6b3a; letter-spacing: .02em; margin-top: 2px; }

.lang {
  background: #fff; color: var(--accent); border: 3px solid var(--band-b); border-radius: 999px;
  padding: 8px 24px; font-weight: 800; font-size: 18px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(31,107,58,.18);
}

/* hero */
.hero { text-align: center; padding: 70px 0 10px; }
h1 {
  margin: 0; font-weight: 900; font-style: italic; line-height: 1.12;
  font-size: clamp(38px, 7vw, 68px); letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--title-a), var(--title-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .1em;
}
.hero .sub { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; color: #97a39e; margin: 6px 0 0; }
.lead { max-width: 36em; margin: 18px auto 0; color: var(--ink-soft); font-size: 18px; }
.rule { height: 6px; border-radius: 6px; margin: 34px 0; background: linear-gradient(90deg, var(--btn-a), var(--btn-b), var(--band-b)); }

/* fanned hero pack */
.fan { display: flex; justify-content: center; margin: 34px auto 0; height: 250px; max-width: 460px; position: relative; }
.fan .mcard { position: absolute; width: 150px; top: 20px; }
.fan .mcard:nth-child(1) { transform: translateX(-120px) rotate(-12deg); }
.fan .mcard:nth-child(2) { transform: translateY(-14px); z-index: 2; width: 168px; }
.fan .mcard:nth-child(3) { transform: translateX(120px) rotate(12deg); }

/* section titles */
h2 { text-align: center; font-weight: 900; color: #5b6863; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 30px; }
h3 { font-weight: 800; color: var(--ink); font-size: 20px; margin: 22px 0 6px; }
main section { padding: 34px 0 20px; }

/* tiles */
.tile {
  position: relative; background: var(--tile); border-radius: 26px; padding: 10px 10px 16px;
  box-shadow: 0 14px 34px rgba(61,74,69,.12), 0 2px 0 rgba(255,255,255,.9) inset;
}
.tile-media { background: linear-gradient(180deg, #f4f7f2, #e9efe7); border-radius: 20px; padding: 18px 16px 26px; position: relative; display: grid; place-items: center; }
.tile-title { text-align: center; font-weight: 800; color: #5b6863; font-size: 18px; margin: 12px 6px 4px; line-height: 1.3; }
.tile-sub { text-align: center; color: var(--ink-soft); font-size: 14px; margin: 0 8px; line-height: 1.45; }
.chip { position: absolute; top: -12px; left: -6px; z-index: 3; background: #6f7d77; color: #fff; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.pill { position: absolute; right: 10px; bottom: -12px; color: #fff; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: var(--c); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.r-common { --c: var(--common); }
.r-rare { --c: linear-gradient(90deg, #52b6ff, #2f7bff); }
.r-epic { --c: linear-gradient(90deg, #c07bff, #8a3dff); }
.r-legendary { --c: linear-gradient(90deg, #ffc233, #ff8a1a); }

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

/* meme card */
.mcard {
  width: 100%; max-width: 170px; aspect-ratio: 63 / 88; border-radius: 12px; padding: 6px;
  background: var(--c, var(--common)); box-shadow: 0 10px 24px rgba(0,0,0,.18);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.mcard-art {
  flex: 1; border-radius: 8px; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: 6px 4px; text-align: center; background: var(--a, #dfe9ff);
  background-image: radial-gradient(rgba(255,255,255,.45) 1.2px, transparent 1.4px); background-size: 8px 8px;
}
.mcard-art span { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; color: #fff; -webkit-text-stroke: 1.4px #000; paint-order: stroke fill; font-size: 17px; line-height: 1; }
.mcard-name { background: rgba(255,255,255,.92); border-radius: 6px; margin-top: 5px; padding: 2px 6px; font-weight: 800; font-size: 12px; color: #3d4a45; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard.r-legendary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.75) 42%, transparent 58%);
  background-size: 250% 100%; animation: shine 3.5s ease-in-out infinite;
}
@keyframes shine { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@media (prefers-reduced-motion: reduce) { .mcard.r-legendary::after { animation: none; } }

/* waitlist */
.join { max-width: 560px; margin: 0 auto; text-align: center; padding: 22px 20px 20px; }
.join .tag { display: inline-block; background: linear-gradient(90deg, #ff6fa8, #ff8a3d); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 14px; border-radius: 999px; margin-bottom: 12px; }
.join p.what { margin: 0 0 16px; color: var(--ink-soft); font-weight: 700; }
.join input[type=email] {
  width: 100%; font: inherit; font-weight: 700; color: var(--ink); background: #f2f6f0; border: 2px solid #dfe7dc;
  border-radius: 999px; padding: 14px 20px; text-align: center;
}
.join input[type=email]:focus { outline: none; border-color: var(--band-b); background: #fff; }
.btn {
  display: block; width: 100%; margin-top: 12px; border: 0; border-radius: 999px; padding: 14px 20px; cursor: pointer;
  font: inherit; font-weight: 900; font-size: 22px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.15);
  background: linear-gradient(90deg, var(--btn-a), var(--btn-b));
  box-shadow: 0 8px 20px rgba(255,138,61,.35);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; font-size: 15px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #e5484d; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { text-align: center; padding: 24px 18px 20px; }
.step .num { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--band-a), var(--band-b)); box-shadow: 0 6px 14px rgba(53,224,176,.4); }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.tiers { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tiers li { position: static; }

.prose-tile { max-width: 760px; margin: 0 auto; padding: 26px 28px; }
.prose-tile p, .prose-tile li { color: var(--ink-soft); }
.prose-tile > :first-child { margin-top: 0; }
.note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 22px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq .tile { padding: 18px 22px; }
.faq h3 { margin: 0 0 4px; font-size: 18px; }
.faq p { margin: 0; color: var(--ink-soft); }

footer { text-align: center; color: var(--ink-soft); font-size: 14px; padding: 40px 16px 50px; }

@media (max-width: 760px) {
  .band { height: 150px; margin-bottom: -80px; }
  .logo { font-size: 24px; }
  .lang { padding: 6px 18px; font-size: 16px; }
  .hero { padding-top: 56px; }
  .fan { height: 200px; }
  .fan .mcard { width: 118px; }
  .fan .mcard:nth-child(2) { width: 132px; }
  .fan .mcard:nth-child(1) { transform: translateX(-92px) rotate(-12deg); }
  .fan .mcard:nth-child(3) { transform: translateX(92px) rotate(12deg); }
  .grid { gap: 18px 10px; }
  .tile { border-radius: 20px; padding: 6px 6px 12px; }
  .tile-media { padding: 12px 8px 20px; border-radius: 16px; }
  .tile-title { font-size: 14px; }
  .tile-sub { display: none; }
  .pill { font-size: 11px; padding: 2px 8px; right: 6px; }
  .mcard-art span { font-size: 12px; -webkit-text-stroke-width: 1px; }
  .mcard-name { font-size: 10px; }
  .steps { grid-template-columns: 1fr; }
  .prose-tile { padding: 22px 18px; }
}
