@font-face { font-family: Outfit; src: url(../assets/fonts/Outfit-500.ttf) format("truetype"); font-weight: 500; font-display: block; }
@font-face { font-family: Outfit; src: url(../assets/fonts/Outfit-700.ttf) format("truetype"); font-weight: 700; font-display: block; }
@font-face { font-family: Outfit; src: url(../assets/fonts/Outfit-800.ttf) format("truetype"); font-weight: 800; font-display: block; }
@font-face { font-family: Outfit; src: url(../assets/fonts/Outfit-900.ttf) format("truetype"); font-weight: 900; font-display: block; }

:root {
  --ink: #fff6fb;
  --muted: rgba(255, 240, 250, .72);
  --gold: #ffc94d;
  --gold-dark: #b9781a;
  --pink: #ff9cc8;
  --ice: #8fd8ff;
  --glass: rgba(30, 24, 70, .55);
  --line: rgba(255, 210, 235, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
body[data-mine="1"] { --pink: #8fd8ff; }
body[data-mine="2"] { --pink: #ff8a3d; }

* { box-sizing: border-box; }
html { background: #141a46; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Outfit, system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1150px, 100% - 40px); margin-inline: auto; }
#quarry { position: fixed; top: 0; left: 0; z-index: 0; background: #141a46; touch-action: pan-y; }
main, .footer, .topbar { position: relative; z-index: 2; }
main { pointer-events: none; }
main a, main button, main input, main form, .shots, .handful, .phone { pointer-events: auto; }

.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 800; color: var(--gold); margin: 0 0 12px; }
h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.04; margin: 0 0 16px; font-weight: 900; letter-spacing: -.01em; text-shadow: 0 4px 30px rgba(20, 10, 50, .5); }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 660px; margin: 0 0 36px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 800; padding: 13px 24px; border-radius: 999px; color: #3a2310;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, #f0a92c); box-shadow: 0 5px 0 var(--gold-dark), 0 12px 30px rgba(255, 180, 60, .35); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--gold-dark); }
.btn.small { padding: 8px 16px; font-size: .92rem; box-shadow: 0 3px 0 var(--gold-dark); }
.btn svg { width: 30px; height: 30px; flex: none; }
.btn > span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; font-size: 1.45rem; font-weight: 900; }
.btn small { font-size: .74rem; font-weight: 700; opacity: .85; }
.btn.glass { color: var(--ink); background: rgba(255, 255, 255, .1); border: 1.5px solid var(--line); box-shadow: none; backdrop-filter: blur(8px); }
.btn.gold.big { position: relative; overflow: hidden; }
.btn.gold.big::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); animation: shine 3s 1.2s infinite; }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }

.topbar { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 40px); transition: background .3s; }
.topbar.scrolled { background: rgba(16, 18, 52, .65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.2rem; }
.logo img { border-radius: 22%; }
.logo.small { font-size: .95rem; opacity: .85; }

.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 20px 70px; }
h1 { margin: 0; font-weight: 900; font-size: clamp(4rem, 13vw, 9.6rem); line-height: .9; letter-spacing: -.04em; background: linear-gradient(180deg, #ffffff 30%, #ffd9ec); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(255, 150, 200, .4)); animation: rise 1s var(--ease) both; }
h1 span { background: linear-gradient(180deg, #ffe7a3, var(--gold) 60%, #ff9f43); -webkit-background-clip: text; background-clip: text; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
.tagline { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; margin: 16px 0 8px; animation: rise 1s .15s var(--ease) both; }
.lead { color: var(--muted); max-width: 560px; margin: 0 0 30px; font-size: 1.08rem; animation: rise 1s .25s var(--ease) both; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; animation: rise 1s .35s var(--ease) both; }

.handful { margin-top: 36px; display: flex; align-items: center; gap: 16px; text-align: left; width: min(520px, 100%); padding: 14px 16px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: rise 1s .5s var(--ease) both; }
.hf-ring { --p: 0; flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: conic-gradient(var(--gold) calc(var(--p) * 360deg), rgba(255,255,255,.12) 0); position: relative; transition: transform .2s; }
.hf-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #241c55; }
.hf-ring b, .hf-ring small { position: relative; line-height: 1; }
.hf-ring b { font-size: 1.4rem; font-weight: 900; }
.hf-ring small { font-size: .58rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hf-ring.hot { transform: scale(1.08); box-shadow: 0 0 24px var(--gold); }
.hf-copy { flex: 1; font-size: .9rem; color: var(--muted); }
.hf-copy b { color: var(--ink); }
.hf-copy .tap { display: none; }
@media (hover: none) { .hf-copy .desk { display: none; } .hf-copy .tap { display: inline; } }
.hf-best { text-align: center; }
.hf-best small { display: block; font-size: .6rem; letter-spacing: .12em; color: var(--muted); }
.hf-best b { font-size: 1.6rem; font-weight: 900; }
.hf-best em { font-style: normal; font-size: .9rem; color: var(--muted); }
.handful.done { border-color: var(--gold); }

.band { padding: 110px 0; }

.chainline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.chainline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 70px; height: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); animation: march 1s linear infinite; }
@keyframes march { to { background-position: 20px 0; } }
.chainline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.chainline img { width: 100px; height: 100px; animation: float 4s ease-in-out infinite; }
.chainline li:nth-child(2) img { animation-delay: -.8s; } .chainline li:nth-child(3) img { animation-delay: -1.6s; } .chainline li:nth-child(4) img { animation-delay: -2.4s; } .chainline li:nth-child(5) img { animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
.chainline b { font-size: 1.15rem; margin-top: 6px; }
.val { margin: 6px 0 2px; font-weight: 900; color: #3a2310; background: var(--gold); padding: 1px 12px; border-radius: 99px; }
.val::before { content: "◆ "; font-size: .8em; }
.chainline small { color: var(--muted); }

.mines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mine { all: unset; cursor: pointer; padding: 26px; border-radius: 26px; background: var(--glass); border: 2px solid var(--line); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 8px; transition: transform .25s var(--ease), border-color .25s; min-height: 180px; }
.mine:hover, .mine.active { transform: translateY(-6px); border-color: var(--mc); box-shadow: 0 0 40px color-mix(in srgb, var(--mc), transparent 70%); }
.mine:focus-visible { outline: 2px solid var(--mc); outline-offset: 3px; }
.m-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--mc); border: 1px solid var(--mc); padding: 3px 10px; border-radius: 99px; }
.mine b { font-size: 1.7rem; font-weight: 900; }
.mine > span:last-child { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tiers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tiers li { text-align: center; padding: 14px 6px; border-radius: 18px; background: var(--glass); border: 3px solid var(--tc); box-shadow: 0 0 18px color-mix(in srgb, var(--tc), transparent 65%); }
.tiers b { display: block; font-weight: 900; font-size: 1.15rem; }
.tiers span { color: var(--tc); font-weight: 800; font-size: .9rem; }
.machs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mach { padding: 16px; border-radius: 24px; background: var(--glass); border: 2px solid rgba(255, 201, 77, .6); text-align: center; backdrop-filter: blur(8px); }
.mach img { width: 100%; max-width: 170px; margin: 0 auto; animation: chug 1.6s ease-in-out infinite; }
.mach:nth-child(2) img { animation-delay: -.4s; } .mach:nth-child(3) img { animation-delay: -.8s; } .mach:nth-child(4) img { animation-delay: -1.2s; }
@keyframes chug { 50% { transform: scale(1.04, .97) translateY(2px); } }
.mach b { font-weight: 800; }

.dawn-head { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
.sun-star { width: 200px; animation: pulse 3.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08) rotate(8deg); filter: brightness(1.15); } }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.branch { padding: 22px; border-radius: 24px; background: var(--glass); border: 2px solid color-mix(in srgb, var(--bc), transparent 50%); backdrop-filter: blur(10px); }
.branch h3 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 900; color: var(--bc); }
.branch ol { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 8px; }
.branch li { counter-increment: n; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(0,0,0,.2); }
.branch li::before { content: counter(n); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .85rem; color: #241c55; background: var(--bc); }
.crown { text-align: center; margin: 26px 0 0; color: var(--muted); font-size: 1.1rem; }
.crown b { color: var(--gold); }

.vault-img { width: 100%; max-width: 420px; margin: 0 auto; animation: float 5s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(255, 150, 200, .35)); }
.vaultlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vaultlist li { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.vaultlist img { grid-row: span 2; width: 26px; height: 26px; animation: twinkle 2.4s infinite; }
@keyframes twinkle { 50% { transform: scale(.7) rotate(45deg); opacity: .6; } }
.vaultlist b { font-weight: 800; }
.vaultlist span { color: var(--muted); font-size: .92rem; }

.shots { display: flex; gap: 22px; overflow-x: auto; padding: 30px max(20px, calc((100vw - 1150px) / 2)) 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.phone { flex: none; width: 250px; aspect-ratio: 600 / 1304; padding: 8px; border-radius: 40px; background: #0d0b24; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 70px rgba(10, 5, 40, .6); scroll-snap-align: center; transition: transform .3s var(--ease); }
.phone:hover { transform: translateY(-10px); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }

.signup { text-align: center; display: flex; flex-direction: column; align-items: center; }
#signup-form { display: flex; gap: 12px; width: min(540px, 100%); }
#signup-form input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--glass); border: 1.5px solid var(--line); border-radius: 999px; padding: 14px 20px; outline: none; backdrop-filter: blur(8px); }
#signup-form input:focus { border-color: var(--gold); }
.form-msg { min-height: 1.5em; margin: 16px 0 0; font-weight: 700; }
.form-msg.ok { color: var(--gold); }
.form-msg.err { color: #ff9a9a; }
.fine { color: var(--muted); font-size: .85rem; }
.fine a { color: var(--gold); }

.win { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(10, 8, 30, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.win[hidden] { display: none; }
.win.open { opacity: 1; }
.win-card { position: relative; width: min(430px, 100%); text-align: center; padding: 30px 26px 24px; border-radius: 32px; background: linear-gradient(180deg, #3a2c74, #241c55 60%, #4a2a5c); border: 2px solid var(--gold); box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 70px rgba(255, 201, 77, .3); transform: scale(.9) translateY(20px); transition: transform .45s var(--ease); }
.win.open .win-card { transform: none; }
.win-card img { margin: 0 auto 4px; animation: pulse 2.4s ease-in-out infinite; }
.win-card h3 { font-size: 1.8rem; font-weight: 900; margin: 0 0 8px; }
.win-card p { color: var(--muted); margin: 0 0 22px; }
.win-x { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; }
.win-later { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 22px; text-decoration: none; background: rgba(36, 28, 85, .9); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(150%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta img { border-radius: 22%; }
.sticky-cta span { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta b { font-weight: 900; }
.sticky-cta small { color: var(--muted); }
.sticky-cta em { font-style: normal; font-weight: 900; color: #3a2310; background: var(--gold); padding: 9px 22px; border-radius: 99px; }

.footer { background: rgba(10, 8, 30, .7); border-top: 1px solid var(--line); padding: 30px 0; backdrop-filter: blur(8px); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin: 0; color: var(--muted); font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

.legal-page main { pointer-events: auto; }
.legal { max-width: 800px; margin: 0 auto; padding: 120px 20px 90px; }
.legal-box { background: rgba(30, 24, 70, .88); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 48px); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); letter-spacing: -.02em; margin: 0 0 12px; filter: none; animation: none; }
.legal h2 { font-size: 1.25rem; text-shadow: none; color: var(--gold); margin: 1.8em 0 .5em; }
.legal p, .legal li { color: rgba(255, 240, 250, .85); }
.legal a { color: var(--gold); }
.legal .meta { margin: .2em 0; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .hero { padding-top: 100px; justify-content: flex-start; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
  .ctas .soon { padding: 10px 20px; }
  .ctas .soon > span { font-size: 1.1rem; }
  .chainline { grid-template-columns: repeat(3, 1fr); }
  .chainline::before { display: none; }
  .mines, .branches { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .dawn-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .sun-star { width: 140px; }
  .vaultlist { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  #signup-form { flex-direction: column; }
  .phone { width: 210px; }
}
@media (max-width: 560px) {
  .chainline { grid-template-columns: 1fr 1fr; }
  .band { padding: 80px 0; }
}

/* full-page map with carrier drones (js/drones.js) */
.dronenet { position: absolute; top: 0; left: 0; z-index: 3; pointer-events: none; overflow: visible; }
.station .pad { fill: color-mix(in srgb, var(--c), transparent 80%); stroke: var(--c); stroke-width: 2; stroke-dasharray: 6 6; }
.station .mach { transform-box: fill-box; transform-origin: center bottom; }
.station.busy .mach { animation: machBurst .45s ease-out; }
.station.busy .pad { fill: color-mix(in srgb, var(--c), transparent 55%); }
@keyframes machBurst { 35% { transform: scale(1.14, .88); } 70% { transform: scale(.96, 1.05); } }
.st-label { fill: #ffe7a3; font: 800 14px Outfit, sans-serif; text-anchor: middle; letter-spacing: .08em; text-transform: uppercase; paint-order: stroke; stroke: rgba(20, 16, 60, .7); stroke-width: 4px; }
.d-glow { opacity: .3; filter: blur(5px); }
.ropes line { stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; }
.coins circle { fill: #ffd166; stroke: #b8902c; stroke-width: 1.5; animation: coin 1.1s ease-out forwards; }
@keyframes coin { to { transform: translate(var(--x), var(--y)); opacity: 0; } }
.coin-txt { fill: #ffd166; font: 900 22px Outfit, sans-serif; text-anchor: middle; paint-order: stroke; stroke: #2e2206; stroke-width: 4px; animation: rise 1.1s ease-out forwards; }
@media (max-width: 760px) { .st-label { font-size: 10px; } }
