/* =========================================================
   Pirate-sea one-pager. Plain CSS, no build step.
   Colour code used everywhere:
     green + round pill   = real money
     purple + square chip = in-game items
   ========================================================= */

:root {
  --abyss: #04111f;
  --deep: #071f36;
  --navy: #0a2c4a;
  --sea: #0f6b8c;
  --foam: #d6f6ff;
  --text: #e9f5ff;
  --muted: #a3bfd3;
  --line: rgba(160, 210, 240, .18);
  --gold: #ffc83d;
  --gold-d: #d9961a;
  --money: #2ee59d;
  --money-d: #0f9f66;
  --money-text: #8dffd0;
  --items: #c77dff;
  --items-d: #8a3fd1;
  --items-text: #e6bbff;
  --parch: #f4e4b8;
  --parch-d: #e2c98a;
  --ink: #2a1a08;
  --radius: 18px;
  --nav-h: 60px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", ui-rounded, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--abyss);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 32px); }

.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 900; line-height: 1.1; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 8.5vw, 5rem); text-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
h3 { font-size: 1.25rem; }
.grad {
  color: var(--gold);
  background: linear-gradient(100deg, #ffe58a 0%, var(--gold) 40%, #ff9a3d 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .35));
}
.lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.lead strong { font-weight: 800; }
.t-money { color: var(--money-text); }
.t-items { color: var(--items-text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.fineprint { font-size: .85rem; color: var(--muted); }

/* ---------- badges (the colour/shape code) ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .32em .8em .32em .6em;
  border: 1.5px solid; border-radius: 999px;
  font-size: .8rem; font-weight: 800; line-height: 1.1; letter-spacing: .02em;
  white-space: nowrap; vertical-align: middle;
}
.badge .ico { width: 1.2em; height: 1.2em; }
.badge-money { color: var(--money-text); background: rgba(46, 229, 157, .13); border-color: rgba(46, 229, 157, .6); }
.badge-items { color: var(--items-text); background: rgba(199, 125, 255, .14); border-color: rgba(199, 125, 255, .65); border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.5em; min-height: 48px;
  border: 0; border-radius: 14px;
  font-weight: 800; font-size: 1rem; text-decoration: none; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, #ffe07a, var(--gold) 55%, var(--gold-d));
  box-shadow: 0 5px 0 #8a5a0c, 0 12px 28px rgba(255, 200, 61, .25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #8a5a0c, 0 18px 34px rgba(255, 200, 61, .35); }
.btn-primary::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
}
.btn-primary:hover::after { transform: translateX(120%) skewX(-20deg); transition: transform .8s var(--ease); }
.btn-ghost { background: rgba(255, 255, 255, .07); border: 1.5px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .9rem; border-radius: 10px; }
.btn-money { background: rgba(46, 229, 157, .14); color: var(--money-text); border: 1.5px solid rgba(46, 229, 157, .6); border-radius: 999px; }
.btn-money:hover { background: rgba(46, 229, 157, .26); transform: translateY(-2px); }
.btn-items { background: rgba(199, 125, 255, .15); color: var(--items-text); border: 1.5px solid rgba(199, 125, 255, .65); }
.btn-items:hover { background: rgba(199, 125, 255, .28); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(4, 17, 31, .6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(4, 17, 31, .92); border-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; min-width: 0; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 12px; color: var(--ink);
  background: linear-gradient(145deg, #ffe07a, var(--gold-d));
  box-shadow: 0 3px 0 #8a5a0c;
}
.brand-mark .ico { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 12px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-links a.active { color: var(--gold); }
.nav-links a.nav-cta { display: inline-flex; align-items: center; gap: .5em; color: var(--ink); background: var(--gold); margin-left: 6px; }
.nav-links a.nav-cta:hover { background: #ffe07a; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .06); align-items: center; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: -16px; right: -16px; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 18px; background: rgba(4, 17, 31, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-links a.nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding: clamp(60px, 9vw, 112px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--deep), #05172a); }
.sec-head { margin-bottom: clamp(28px, 5vw, 48px); }
.sec-head h2 { margin-bottom: 14px; }

/* ---------- scroll reveals ---------- */
.js [data-reveal]:not(.in), .js .reveal:not(.in) { opacity: 0; }
.js [data-reveal].in, .js .reveal.in { animation: rise .75s var(--ease) var(--d, 0ms) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 72px) 0 clamp(96px, 12vw, 150px);
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(120, 90, 255, .28), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(15, 107, 140, .45), transparent 60%),
    linear-gradient(180deg, #030c18 0%, #07213a 55%, #0a3a58 100%);
}
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero-copy .lead { max-width: 54ch; }
.hero-copy .eyebrow { margin: 0; }
.hero-actions { margin-top: 6px; }
.hero-legend { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-copy > * { animation: rise .9s var(--ease) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }

.hero-visual { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 600 / 520; animation: fadein 1.2s .15s backwards; }
@keyframes fadein { from { opacity: 0; } }
.scene { width: 100%; height: 100%; overflow: hidden; border-radius: 28px; }

.stars .tw { animation: twinkle 3s ease-in-out var(--td, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.compass { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ship { transform-box: fill-box; transform-origin: 50% 90%; animation: bob 6s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.6deg); }
  50% { transform: translateY(-9px) rotate(1.6deg); }
}
.flag { transform-box: fill-box; transform-origin: 0 50%; animation: wave-flag 1.4s ease-in-out infinite; }
@keyframes wave-flag { 0%, 100% { transform: scaleX(1) skewY(0); } 50% { transform: scaleX(.86) skewY(-6deg); } }
.sail { transform-box: fill-box; transform-origin: 50% 0; animation: billow 5s ease-in-out infinite; }
.sail.s2 { animation-delay: -1.6s; }
.sail.s3 { animation-delay: -3s; }
@keyframes billow { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.03, .985); } }

.wave { animation: drift 14s linear infinite; }
.w-b { animation-duration: 9s; animation-direction: reverse; }
.w-c { animation-duration: 6s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-600px); } }

/* floating fruit orbs (original CSS art) */
.fruit {
  --c1: #ffb36b; --c2: #ff5a1f; --c3: #8c1d00;
  position: absolute; width: var(--s, 64px); aspect-ratio: 1;
  border-radius: 50% 50% 46% 46%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .85) 0 7%, transparent 8%),
    radial-gradient(circle at 36% 32%, var(--c1), var(--c2) 52%, var(--c3) 100%);
  box-shadow: 0 0 34px var(--c2), inset -6px -8px 14px rgba(0, 0, 0, .35);
  animation: float var(--dur, 7s) ease-in-out var(--dl, 0s) infinite;
}
.fruit::before { /* swirl */
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45); border-right-color: transparent; border-bottom-color: transparent;
  animation: spin 6s linear infinite;
}
.fruit::after { /* leaf */
  content: ""; position: absolute; left: 46%; top: -22%; width: 40%; height: 30%;
  background: linear-gradient(135deg, #7dff9d, #1f9e55);
  border-radius: 0 100% 0 100%; transform: rotate(-12deg);
}
.f1 { left: 2%; top: 20%; --s: 70px; }
.f2 { right: 4%; top: 40%; --s: 52px; --c1: #9fefff; --c2: #2aa9ff; --c3: #064a8a; --dur: 8s; --dl: -2s; }
.f3 { left: 14%; bottom: 14%; --s: 46px; --c1: #e4b3ff; --c2: #a14bff; --c3: #46127f; --dur: 6s; --dl: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}
.coin {
  position: absolute; width: var(--s, 38px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b0, var(--gold) 55%, var(--gold-d));
  border: 3px solid #b27a14; box-shadow: 0 0 22px rgba(255, 200, 61, .55);
  animation: coin-spin var(--dur, 3.2s) linear var(--dl, 0s) infinite;
}
.coin::after { content: "$"; position: absolute; inset: 0; display: grid; place-items: center; font: 900 calc(var(--s, 38px) * .5)/1 var(--font-display); color: #8a5a0c; }
.c1 { right: 12%; top: 8%; }
.c2 { left: 6%; top: 52%; --s: 30px; --dur: 4s; --dl: -1s; }
.c3 { right: 22%; bottom: 20%; --s: 34px; --dur: 3.6s; --dl: -2s; }
@keyframes coin-spin { to { transform: rotateY(360deg) translateY(0); } }

.hero-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 80px); fill: var(--abyss); }
.hero-edge path { animation: edge 10s ease-in-out infinite alternate; transform-origin: center; }
@keyframes edge { to { transform: scaleY(.7) translateY(8px); } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}
@media (max-width: 899px) {
  .hero-visual { max-width: 440px; }
  .hero-copy { justify-items: start; }
}

/* ---------- pay switch ---------- */
.pay-bar {
  position: sticky; top: calc(var(--nav-h) + 8px); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  padding: 10px 12px; margin-bottom: 18px;
  background: rgba(7, 31, 54, .88); border: 1px solid var(--line); border-radius: 20px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}
.pay-bar-label { font-weight: 800; padding-left: 6px; }
.switch {
  position: relative; display: grid; grid-template-columns: repeat(3, auto);
  padding: 4px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line);
  --thumb: linear-gradient(180deg, #e8f7ff, #b9dcf0);
}
.switch[data-mode="money"] { --thumb: linear-gradient(180deg, #5df2b6, var(--money-d)); }
.switch[data-mode="items"] { --thumb: linear-gradient(180deg, #dca6ff, var(--items-d)); }
.switch-thumb {
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 0;
  border-radius: 12px; background: var(--thumb);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .45s var(--ease), width .45s var(--ease), background .35s;
}
.switch.no-anim .switch-thumb { transition: none; }
.switch button {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 10px 16px; min-height: 44px; border: 0; border-radius: 12px; background: none;
  font-weight: 800; font-size: .95rem; color: var(--muted); white-space: nowrap;
  transition: color .3s;
}
.switch button[aria-checked="true"] { color: #04111f; }
.switch button:hover:not([aria-checked="true"]) { color: var(--text); }

@media (max-width: 640px) {
  .pay-bar { flex-direction: column; align-items: stretch; padding: 8px; }
  .pay-bar-label { display: none; }
  .switch { grid-template-columns: .7fr 1fr 1.15fr; }
  .switch button { padding: 8px 6px; font-size: .82rem; gap: .35em; white-space: normal; line-height: 1.15; flex-direction: column; }
}

.catalog-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; color: var(--muted); font-size: .9rem; }
.count { font-weight: 800; color: var(--text); }
.sample-note { margin: 4px 0 12px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 200, 61, .12); border: 1px dashed var(--gold); color: var(--gold); font-size: .9rem; }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* ---------- catalog ---------- */
.cat { margin-top: clamp(28px, 4vw, 44px); }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cat-icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; color: var(--gold);
  background: rgba(255, 200, 61, .1); border: 1.5px solid rgba(255, 200, 61, .4);
}
.cat-icon .ico { width: 26px; height: 26px; }
.cat-head h3 { font-size: 1.5rem; }
.cat-head p { color: var(--muted); font-size: .95rem; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 22px 20px 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before { /* payment colour strip */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--strip, var(--line));
}
.card[data-pay="money"] { --strip: var(--money); }
.card[data-pay="items"] { --strip: var(--items); }
.card[data-pay="both"] { --strip: linear-gradient(90deg, var(--money) 0 50%, var(--items) 50% 100%); }
.card::after { /* pointer glow */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 255, 255, .13), transparent 70%);
  transition: opacity .3s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, .38); box-shadow: 0 22px 44px rgba(0, 0, 0, .45); }
  .card:hover::after { opacity: 1; }
}
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card h4 { font-size: 1.2rem; }
.pop {
  display: inline-flex; align-items: center; gap: .35em; align-self: flex-start; white-space: nowrap; flex: none;
  padding: .25em .7em; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
}
.pop .ico { width: 1em; height: 1em; fill: currentColor; }
.desc { color: var(--muted); font-size: .95rem; flex: 1; }
.eta { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; color: var(--muted); }

.prices { display: grid; gap: 8px; }
.price {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px;
  padding: 9px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25);
  border: 1px solid var(--line); border-left-width: 4px;
  transition: opacity .35s, filter .35s, transform .35s var(--ease), background .35s;
}
.price-money { border-left-color: var(--money); }
.price-items { border-left-color: var(--items); border-radius: 8px; }
.price strong { font-size: 1rem; text-align: right; }
.price-money strong { color: var(--money-text); }
.price-items strong { color: var(--items-text); }
.price.off { background: transparent; border-style: dashed; border-left-color: var(--line); }
.price.off .badge { opacity: .5; text-decoration: line-through; }
.price.off strong { color: var(--muted); font-weight: 600; font-size: .85rem; }

/* switch highlights the chosen payment type inside every card */
.catalog[data-mode="money"] .card .price-items:not(.off),
.catalog[data-mode="items"] .card .price-money:not(.off) { opacity: .4; filter: saturate(.4); }
.catalog[data-mode="money"] .card .price-money:not(.off) { background: rgba(46, 229, 157, .12); }
.catalog[data-mode="items"] .card .price-items:not(.off) { background: rgba(199, 125, 255, .14); }

.card-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .45em;
  padding: .55em 1em; min-height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, .08); border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem;
  transition: background .2s, transform .2s var(--ease);
}
.card-cta:hover { background: rgba(255, 200, 61, .18); border-color: var(--gold); }
.card-cta .ico { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.card-cta:hover .ico { transform: rotate(-14deg) scale(1.15); }

/* ---------- payment section ---------- */
.ways { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.way {
  position: relative; display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 28px 24px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 2px solid;
  transition: transform .4s var(--ease), box-shadow .4s, opacity .4s, filter .4s;
}
.way-money { border-color: rgba(46, 229, 157, .55); box-shadow: inset 0 0 60px rgba(46, 229, 157, .08); }
.way-items { border-color: rgba(199, 125, 255, .6); box-shadow: inset 0 0 60px rgba(199, 125, 255, .09); border-radius: 14px; }
.way-icon { display: grid; place-items: center; width: 64px; height: 64px; }
.way-money .way-icon { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #7dffcb, var(--money-d)); color: #02281a; }
.way-items .way-icon { border-radius: 12px; background: radial-gradient(circle at 35% 30%, #e6bbff, var(--items-d)); color: #200640; }
.way-icon .ico { width: 36px; height: 36px; }
.way h3 { font-size: 1.7rem; }
.way-sub { color: var(--muted); font-weight: 700; margin-top: -6px; }
.ticks { display: grid; gap: 10px; flex: 1; margin: 6px 0 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tick, var(--gold)) center / 10px no-repeat;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06);
}
.way-money .ticks li::before { --tick: var(--money); }
.way-items .ticks li::before { --tick: var(--items); border-radius: 4px; }
.ticks li:empty { display: none; }
.ways[data-mode="money"] .way-items, .ways[data-mode="items"] .way-money { opacity: .45; filter: saturate(.5); transform: scale(.98); }
.ways[data-mode="money"] .way-money { transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(46, 229, 157, .2), 0 24px 48px rgba(0, 0, 0, .4); }
.ways[data-mode="items"] .way-items { transform: translateY(-4px); box-shadow: 0 0 0 4px rgba(199, 125, 255, .25), 0 24px 48px rgba(0, 0, 0, .4); }

/* treasure board (parchment) */
.board {
  margin-top: 28px; padding: clamp(20px, 4vw, 36px); border-radius: 24px; color: var(--ink);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(160deg, var(--parch), var(--parch-d));
  border: 3px solid #9a6a1f;
  box-shadow: 0 0 0 6px rgba(154, 106, 31, .35), 0 26px 50px rgba(0, 0, 0, .45);
}
.board-head { display: grid; gap: 6px; margin-bottom: 20px; }
.board-head h3 { display: flex; align-items: center; gap: .5em; font-size: 1.6rem; }
.board-head p { color: #5c4520; }
.tiers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tier { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .45); border: 2px dashed rgba(90, 60, 15, .45); }
.tier h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 1.1rem; margin-bottom: 12px; }
.stars-row { color: #b27a14; letter-spacing: 2px; font-size: .95rem; }
.tier-list { display: flex; flex-wrap: wrap; gap: 8px; }
.item-chip {
  display: inline-flex; flex-direction: column; padding: 7px 12px; border-radius: 8px;
  background: #2b1346; color: #f0d9ff; border: 1.5px solid var(--items);
  font-weight: 800; font-size: .9rem; line-height: 1.25;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.tiers.in .item-chip { animation: pop-in .55s var(--ease) var(--d, 0ms) backwards; }
.item-chip:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 16px rgba(0, 0, 0, .3); }
.item-chip small { font-weight: 600; font-size: .75rem; color: #c9a7e6; }
.tier-empty { font-size: .9rem; color: #6a5128; }
.tier-high { border-color: #b27a14; background: rgba(255, 220, 120, .5); }
.board-empty { color: #5c4520; font-weight: 700; }
@keyframes pop-in { from { opacity: 0; transform: scale(.7) translateY(8px); } }
.js .tiers:not(.in) .item-chip { opacity: 0; }

/* ---------- steps ---------- */
.steps { position: relative; display: grid; gap: clamp(24px, 4vw, 40px); max-width: 760px; --p: 0; }
.steps::before, .steps::after { /* rail + progress */
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 4px; border-radius: 4px;
}
.steps::before { background: rgba(255, 255, 255, .1); }
.steps::after { background: linear-gradient(180deg, var(--gold), #ff9a3d); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px rgba(255, 200, 61, .6); }
.step { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: start; }
.step-node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font: 900 1.5rem/1 var(--font-display); color: var(--muted);
  background: var(--deep); border: 3px solid rgba(255, 255, 255, .2);
  transition: background .5s var(--ease), color .5s, border-color .5s, transform .6s var(--ease), box-shadow .5s;
}
.step.reached .step-node { background: var(--gold); color: var(--ink); border-color: #fff1b0; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 200, 61, .2), 0 0 26px rgba(255, 200, 61, .5); }
.step-body { padding: 8px 0 0; transition: transform .6s var(--ease), opacity .6s; }
.step-body h3 { margin-bottom: 6px; font-size: 1.4rem; }
.step-body p { color: var(--muted); }
.js .step:not(.reached) .step-body { opacity: .45; transform: translateX(14px); }

/* ---------- trust ---------- */
.trust-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.trust {
  display: grid; gap: 10px; align-content: start; padding: 24px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s;
}
.trust:hover { transform: translateY(-5px); border-color: rgba(255, 200, 61, .5); }
.trust > .ico { width: 24px; height: 24px; padding: 10px; border-radius: 14px; color: var(--gold); background: rgba(255, 200, 61, .12); box-sizing: content-box; }
.trust p { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(255, 200, 61, .55); background: rgba(255, 200, 61, .06); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 56px; border: 0; background: none; text-align: left;
  font-family: var(--font-display); font-weight: 900; font-size: 1.08rem; line-height: 1.25;
}
.plus { position: relative; flex: none; width: 22px; height: 22px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 3px; border-radius: 2px; background: var(--gold); transition: transform .35s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .plus::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.contact-card { display: grid; gap: 16px; padding: clamp(20px, 4vw, 30px); border-radius: 24px; background: rgba(255, 255, 255, .055); border: 1px solid var(--line); }
.handle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.handle { padding: .5em .9em; border-radius: 12px; background: rgba(0, 0, 0, .4); border: 1.5px dashed var(--gold); color: var(--gold); font-size: 1.15rem; font-weight: 800; word-break: break-all; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 800; font-size: .9rem; color: var(--muted); padding: 0; }
.field select, .field textarea, .field input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .4); border: 1.5px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.field select, .field input[type="text"] { min-height: 48px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select:focus, .field textarea:focus, .field input[type="text"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 200, 61, .25); }
.field option, .field optgroup { background: #07213a; color: var(--text); }
.pay-pick { display: grid; gap: 8px; }
.pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .25s, background .25s, opacity .25s; }
.pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }
.pick small { color: var(--muted); font-weight: 600; }
.pick:has(input:checked) { border-color: var(--gold); background: rgba(255, 200, 61, .08); }
.pick.disabled { opacity: .45; cursor: not-allowed; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copied { color: var(--money-text); font-weight: 800; min-height: 1.5em; }


/* ---------- order form ---------- */
.join-card p { color: var(--muted); }
.join-card .btn { justify-self: start; }
.req { color: var(--gold); }
.field > span em { font-style: normal; font-weight: 600; opacity: .8; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff7a86; }
.field-err { color: #ff9aa3; font-weight: 700; font-size: .88rem; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.order-status { display: grid; gap: 12px; padding: 18px; border-radius: 16px; border: 2px solid var(--line); animation: rise .5s var(--ease) backwards; }
.order-status:focus { outline: none; }
.order-status h4 { display: flex; align-items: center; gap: .5em; font-size: 1.25rem; }
.order-status p { color: var(--text); }
.status-ok { background: rgba(46, 229, 157, .1); border-color: rgba(46, 229, 157, .65); }
.status-ok h4 { color: var(--money-text); }
.status-ok h4 .ico { width: 1.4em; height: 1.4em; padding: .2em; border-radius: 50%; background: var(--money); color: #02281a; box-sizing: content-box; stroke-width: 3; }
.status-fail { background: rgba(255, 93, 108, .1); border-color: rgba(255, 122, 134, .7); }
.status-fail h4 { color: #ffb0b7; }
.status-summary { display: grid; gap: 6px; }
.status-summary li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); }
.status-summary span { color: var(--muted); }
.status-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-note { font-weight: 700; font-size: .92rem; }
.fallback-msg { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .4); border: 1.5px solid var(--line); resize: vertical; line-height: 1.5; font-size: .92rem; }
@media (max-width: 480px) {
  .status-actions .btn { width: 100%; }
}

/* ---------- footer ---------- */
.footer { position: relative; margin-top: -1px; background: #030b15; padding: 0 0 36px; }
.footer-waves { width: 100%; height: 50px; fill: #05172a; transform: translateY(-1px); }
.footer-inner { display: grid; gap: 14px; padding-top: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; }
.disclaimer { color: var(--muted); font-size: .9rem; max-width: 70ch; }
.noscript { padding: 16px; text-align: center; background: var(--gold); color: var(--ink); font-weight: 700; }

/* ---------- small screens ---------- */
@media (max-width: 480px) {
  .card { padding: 20px 16px 16px; }
  .cat-head h3 { font-size: 1.3rem; }
  .step { grid-template-columns: 48px 1fr; gap: 14px; }
  .step-node { width: 48px; height: 48px; font-size: 1.25rem; }
  .steps::before, .steps::after { left: 22px; }
  .way { padding: 24px 18px; }
  .hero-copy .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal]:not(.in), .js .reveal:not(.in) { opacity: 1; }
  .js .tiers:not(.in) .item-chip { opacity: 1; }
  .js .step:not(.reached) .step-body { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .trust:hover { transform: none; }
}
