/* Wallet of Satoshi homepage. Shared tokens and components live in wos.css. */

/* Hero: full-screen black with "Bitcoin. Simple." typed in. The Sat Dash scene is the backdrop; copy floats over it until Play. */
.hero { --ground: 72px; position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; background: #000; overflow: hidden; padding-block: calc(80px + env(safe-area-inset-top, 0px)) calc(var(--ground) + var(--ch, 60px) + 118px); }
.hero .wrap { width: 100%; }
.hero-type { font-family: var(--font-display); font-optical-sizing: auto; font-variation-settings: "opsz" 32; font-weight: 800; font-size: clamp(52px, min(11vw, 20svh), 160px); line-height: .95; letter-spacing: -.035em; }
.hero-type .t1 { color: var(--text); } .hero-type .t2 { color: var(--primary); }
.caret { display: inline-block; width: .07em; height: .82em; margin-left: .06em; vertical-align: -.04em; background: var(--primary); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 599px) { .hero-type .br { display: block; height: 0; } }
.hero-sub { margin: clamp(20px, 3vw, 32px) auto 0; max-width: 30em; font-size: clamp(17px, 1.7vw, 21px); color: var(--medium); }
.hero-sub b { color: var(--text); font-weight: 600; }
.hero .badges { justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; min-height: 92px; }
.hero .counter-card { display: inline-grid; padding: 12px 28px 14px; }
.rise { animation: rise .8s var(--ease) both; }
.hero-sub.rise { animation-delay: 1.9s; } .hero .badges.rise { animation-delay: 2.15s; } .hero .counter-card.rise { animation-delay: 2.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: calc(var(--ground) + 8px); transform: translateX(-50%); display: grid; place-items: center; width: 56px; height: 56px; color: var(--primary); text-decoration: none; animation: rise .8s 3s var(--ease) both; }
.scroll-cue svg { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(223, 171, 41, .5)); animation: nudge 1.4s 3.4s ease-in-out infinite; }
.scroll-cue:hover { color: var(--primary-tint); }
@keyframes nudge { 50% { transform: translateY(6px); } }
.hero.playing .scroll-cue, .hero.ended .scroll-cue { visibility: hidden; animation: none; pointer-events: none; }
@media (max-width: 767px) and (max-height: 720px) { .hero { padding-top: calc(72px + env(safe-area-inset-top, 0px)); } .hero .hero-type { font-size: 44px; } .hero-sub { font-size: 15px; margin-top: 10px; } .hero-sub .s2 { display: none; } .hero .badges { margin-top: 16px; } .hero .badges img { height: 44px; } .hero-cta { min-height: 0; margin-top: 12px; } .hero .counter-card { padding: 6px 18px 8px; } .hero .counter-card .count { font-size: 34px; } .hero .counter-card .count-lbl { font-size: 13px; } }

/* Sat Dash overlays: HUD, fact cards, pause and end screens, the Play bubble */
.game-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; touch-action: manipulation; outline: none; }
.hero-content { position: relative; z-index: 2; transition: opacity .35s var(--ease), visibility 0s .35s; }
.hero.playing .hero-content, .hero.ended .hero-content { opacity: 0; visibility: hidden; pointer-events: none; }
.g-hud { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: calc(84px + env(safe-area-inset-top, 0px)); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.g-hud > div { display: grid; gap: 8px; }
.g-hud .r { justify-items: end; }
.g-hud small { font: 400 clamp(11px, 1.2vw, 14px)/1 var(--font-pixel); color: var(--medium); text-transform: uppercase; letter-spacing: .06em; }
.g-hud span { font: 400 clamp(44px, 7vw, 96px)/.9 var(--font-counter); color: var(--primary); font-variant-numeric: tabular-nums; }
.g-hud .r span { color: var(--text); }
.g-ctrl { position: absolute; z-index: 5; left: 50%; top: calc(84px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); display: flex; gap: 8px; }
.g-quit, .g-sound { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--pill); background: rgba(54, 54, 54, .85); color: var(--text); font: 400 11px/1 var(--font-pixel); text-transform: uppercase; cursor: pointer; }
.g-sound { padding: 0; width: 40px; justify-content: center; }
.g-sound .on, .g-sound[aria-pressed="true"] .off { display: none; }
.g-sound[aria-pressed="true"] .on { display: block; }
.g-sound[aria-pressed="true"] { color: var(--primary); }
.g-quit:hover, .g-sound:hover { background: #4d4d4d; }
@media (max-width: 767px) { .g-ctrl { left: auto; right: var(--gutter); transform: none; top: calc(84px + env(safe-area-inset-top, 0px) + clamp(44px, 7vw, 96px) + 34px); } }
.g-tip { position: absolute; z-index: 3; left: 50%; top: 34%; transform: translateX(-50%); width: max-content; max-width: min(92%, 680px); display: grid; gap: 10px; justify-items: center; padding: 18px 26px 20px; border-radius: 22px; background: var(--primary); color: #000; text-align: center; pointer-events: none; box-shadow: 0 0 0 4px #000, 0 0 0 8px var(--primary), 0 24px 60px rgba(0, 0, 0, .55); }
.g-tip-k { font: 400 clamp(11px, 1.3vw, 14px)/1 var(--font-pixel); text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.g-tip-t { font: 800 clamp(22px, 3.2vw, 38px)/1.12 var(--font-display); font-variation-settings: "opsz" 32; letter-spacing: -.02em; text-wrap: balance; }
.g-tip.t-dollar { background: var(--success); box-shadow: 0 0 0 4px #000, 0 0 0 8px var(--success), 0 24px 60px rgba(0, 0, 0, .55); }
.g-tip.t-coin, .g-tip.t-keys { background: var(--btc-orange); box-shadow: 0 0 0 4px #000, 0 0 0 8px var(--btc-orange), 0 24px 60px rgba(0, 0, 0, .55); }
.g-tip.t-jump { background: #fff; box-shadow: 0 0 0 4px #000, 0 0 0 8px #fff, 0 24px 60px rgba(0, 0, 0, .55); }
.g-tip.t-poo { background: #8a5a2b; color: #fff; box-shadow: 0 0 0 4px #000, 0 0 0 8px #8a5a2b, 0 24px 60px rgba(0, 0, 0, .55); }
.g-tip.pop { animation: tip-pop .45s var(--ease) both; }
@keyframes tip-pop { 0% { opacity: 0; transform: translateX(-50%) scale(.7); } 60% { opacity: 1; transform: translateX(-50%) scale(1.06); } 100% { transform: translateX(-50%) scale(1); } }
.g-over { position: absolute; z-index: 4; inset: 0 0 var(--ground); display: grid; place-content: center; justify-items: center; gap: 12px; padding: 96px var(--gutter) 24px; text-align: center; }
.g-over .g-title { font: 400 clamp(40px, 6vw, 64px)/1 var(--font-counter); color: var(--primary); letter-spacing: .04em; }
.g-kicker { font: 600 clamp(16px, 1.8vw, 20px)/1.2 var(--font-tight); color: var(--medium); }
.g-final { font: 400 clamp(56px, 10vw, 120px)/1 var(--font-counter); color: var(--primary); }
.g-best { font: 500 clamp(18px, 1.6vw, 20px)/1.2 var(--font-inter); color: var(--medium); min-height: 20px; }
.g-hud .btc, .g-final .btc { margin-right: .12em; }
.g-cta { margin-top: clamp(12px, 2vw, 24px); font: 800 clamp(40px, 7vw, 96px)/.95 var(--font-display); font-variation-settings: "opsz" 32; letter-spacing: -.03em; text-wrap: balance; }
.g-cta span { color: var(--primary); }
.g-over .badges { justify-content: center; margin-top: 10px; }
.g-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.play-bubble { position: absolute; z-index: 3; left: max(8px, calc(var(--px, 160px) - 18px)); bottom: calc(var(--ground) + var(--ch, 60px) + 18px); display: grid; gap: 7px; justify-items: start; padding: 14px 16px 12px; border: 0; background: var(--primary); color: #000; cursor: pointer; text-align: left;
  box-shadow: 0 -4px 0 0 #000, 0 4px 0 0 #000, -4px 0 0 0 #000, 4px 0 0 0 #000, 0 -8px 0 0 var(--primary), 0 8px 0 0 var(--primary), -8px 0 0 0 var(--primary), 8px 0 0 0 var(--primary), 10px 14px 0 0 rgba(223,171,41,.25);
  animation: rise .6s 2.7s var(--ease) both, hop 1.6s 3.4s steps(2, jump-none) infinite; transform-origin: 20% 100%; }
.play-bubble::after { content: ""; position: absolute; left: 22px; bottom: -20px; width: 16px; height: 12px; background: var(--primary); clip-path: polygon(0 0, 100% 0, 0 100%); box-shadow: none; }
.play-bubble::before { content: ""; position: absolute; left: 18px; bottom: -26px; width: 24px; height: 18px; background: #000; clip-path: polygon(0 0, 100% 0, 0 100%); }
.pb-main { display: flex; align-items: center; gap: 10px; font: 400 clamp(16px, 1.8vw, 22px)/1 var(--font-pixel); letter-spacing: .02em; }
.pb-sub { font: 400 10px/1 var(--font-pixel); opacity: .7; }
.play-bubble:hover, .play-bubble:focus-visible { animation: none; transform: scale(1.06) rotate(-2deg); background: #f0bf3a; }
.play-bubble:active { transform: scale(.97); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero.playing .play-bubble, .hero.ended .play-bubble { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
.g-over .g-title { font-family: var(--font-pixel); font-size: clamp(22px, 3.4vw, 36px); }
.g-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r); background: var(--primary); color: #1e1e1e; font: 700 17px/1 var(--font-tight); cursor: pointer; }
.g-btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--medium); }
.g-btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--text); }

/* Product moment on Brand Yellow: real app screenshots with tappable buttons */
.moment { background: var(--primary); color: var(--ink-on-color); padding-block: clamp(72px, 10vw, 128px); overflow: hidden; }
.moment .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .moment .wrap { grid-template-columns: 1fr auto; gap: 72px; } }
.moment h2 { font: 800 clamp(44px, 7.5vw, 112px)/.92 var(--font-display); font-variation-settings: "opsz" 32; letter-spacing: -.028em; }
.phone { position: relative; width: min(100%, 340px); margin: 0 auto; aspect-ratio: 1320 / 2868; border-radius: 46px; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #0b0b0b, 0 50px 90px -30px rgba(0, 0, 0, .6); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .35s var(--ease); }
.phone[data-view="home"] .s-home, .phone[data-view="send"] .s-send, .phone[data-view="receive"] .s-receive, .phone[data-view="convert"] .s-convert { opacity: 1; }
.hot { position: absolute; z-index: 2; display: none; border: 0; padding: 0; background: transparent; border-radius: 18px; cursor: pointer; }
.hot { -webkit-tap-highlight-color: transparent; transition: background-color .08s; }
.hot:active { background: rgba(0, 0, 0, .28); }
.hot:focus { outline: none; }
.hot:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.phone[data-view="home"] .h-home, .phone[data-view="send"] .h-send, .phone[data-view="receive"] .h-receive, .phone[data-view="convert"] .h-convert { display: block; }
.views { display: flex; justify-content: center; margin: 22px auto 0; padding: 4px; width: fit-content; max-width: 100%; border-radius: var(--pill); background: rgba(0, 0, 0, .14); }
.views button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--pill); background: transparent; color: #000; font: 600 15px/1 var(--font-tight); cursor: pointer; }
.views button[aria-pressed="true"] { background: #000; color: var(--primary); }

/* Pillars */
.pillars { padding-block: clamp(56px, 8vw, 104px) 72px; }
.pillars h2 { font: 800 clamp(40px, 6.4vw, 88px)/.94 var(--font-display); font-variation-settings: "opsz" 32; letter-spacing: -.028em; text-wrap: balance; max-width: 14em; }
.pillars h2 .y { color: var(--primary); }
.pgrid { display: grid; gap: 16px; margin-top: clamp(32px, 4.5vw, 56px); }
@media (min-width: 860px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.pcard { position: relative; min-width: 0; border-radius: 32px; padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 300px; overflow: hidden; color: var(--ink-on-color); }
.pcard h3 { font: 800 clamp(44px, 4.6vw, 64px)/.92 var(--font-display); font-variation-settings: "opsz" 32; letter-spacing: -.028em; position: relative; z-index: 1; }
.pcard p { margin-top: auto; max-width: 20em; font-size: 18px; font-weight: 500; line-height: 1.4; position: relative; z-index: 1; }
.pcard .glyph { position: absolute; right: -36px; top: -24px; font-size: 220px; opacity: .16; color: #000; transform: rotate(-10deg); transition: transform .8s var(--ease); }
.pcard:hover .glyph { transform: rotate(0) scale(1.05); }
.pc-light { background: var(--primary); }
.pc-btc { background: var(--btc-orange); }
.pc-usd { background: var(--usdb-green); color: #fff; }
.pc-usd .glyph { color: #fff; opacity: .14; }
.pc-sc { background: var(--sc-card); color: #fff; min-height: 0; display: grid; gap: 24px 48px; align-items: center; }
@media (min-width: 860px) { .pc-sc { grid-column: 1 / -1; grid-template-columns: auto 1fr; } }
.pc-sc h3 { color: var(--primary); }
.pc-sc p { margin: 0; max-width: 34em; color: #d6d9e0; }
.pc-sc p b { color: #fff; font-weight: 600; }
.keychips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; max-width: 540px; }
@media (min-width: 480px) { .keychips { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .keychips { grid-template-columns: repeat(6, 1fr); } }
.keychips i { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(15, 25, 35, .65); font: 600 14px/1 var(--font-tight); font-style: normal; letter-spacing: .06em; color: #d6d9e0; white-space: nowrap; overflow: hidden; }
.keychips b { min-width: 1.4em; font: 500 11px/1 var(--font-inter); letter-spacing: 0; color: var(--medium); }

/* Closing call to action with the download QR */
.cta { background: var(--primary); color: #000; padding-block: clamp(72px, 10vw, 136px); }
.cta .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1fr auto; gap: 72px; } }
.cta-main { min-width: 0; }
.cta h2 { font: 800 clamp(48px, 8.4vw, 128px)/.92 var(--font-display); font-variation-settings: "opsz" 32; letter-spacing: -.03em; text-wrap: balance; }
.cta-proof { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: clamp(24px, 3vw, 36px); }
.cta-proof .count { font-size: clamp(36px, 4.6vw, 60px); line-height: 1; color: #000; }
.cta-proof p { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; }
.qr-wrap { display: none; position: relative; padding-top: 128px; }
@media (min-width: 900px) and (hover: hover) { .qr-wrap { display: block; } }
.qr { display: grid; padding: 22px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); transform: rotate(2deg); backface-visibility: hidden; }
.qr svg { width: 188px; height: 188px; display: block; }
.qr-note { position: absolute; top: 0; right: 150px; font: 700 38px/.95 var(--font-hand); color: #000; white-space: nowrap; transform: rotate(-7deg); text-align: center; }
.qr-arrow { position: absolute; z-index: 2; top: 70px; right: 96px; width: 76px; height: 62px; overflow: visible; }
.qr-arrow path { fill: none; stroke: #000; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.cta .bolt { fill: #000; animation: none; filter: none; }
