@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #080d14;
  --panel: #101923;
  --text: #f4f7fa;
  --muted: #98a6b5;
  --cyan: #56e3ef;
  --line: rgba(173, 205, 228, .13);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at 82% 30%, #0b2530 0, transparent 42%), var(--bg); }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button, a, progress { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-width { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 16px; background: var(--panel); }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.brand-light { font-weight: 400; }
.brand small { display: block; color: var(--muted); font-size: 9px; letter-spacing: 2px; margin-top: 5px; font-weight: 500; }
.header-link { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c4d0dc; padding-block: 14px; }
.header-link .icon { color: var(--cyan); width: 17px; height: 17px; }
.header-link > span:last-child { margin-left: 10px; color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 410px; grid-template-rows: auto auto; column-gap: 64px; row-gap: 33px; padding: 54px 0 49px; align-items: start; }
.hero-intro { padding-top: 13px; }
.eyebrow { color: #a8bac7; font-size: 10px; line-height: 1.6; font-weight: 600; letter-spacing: 1.7px; display: flex; align-items: center; gap: 9px; margin: 0 0 20px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px #3ad5d789; flex-shrink: 0; }
h1 { font-size: clamp(48px, 5.8vw, 78px); font-weight: 550; letter-spacing: -4px; line-height: 1.03; margin: 0 0 23px; }
h1 span { color: var(--cyan); }
.hero-description { color: #aab6c4; font-size: 16px; max-width: 465px; line-height: 1.7; margin: 0 0 18px; }
.hero-description strong { color: #dce7ee; font-weight: 600; }
.hero-prompt { color: #dce7ee; font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.hero-prompt strong { font-weight: 600; }
.try-link { display: inline-flex; align-items: center; gap: 23px; color: var(--text); padding: 10px 0; font-size: 14px; font-weight: 600; border-bottom: 1px solid #4f626b; }
.try-link .icon { width: 17px; color: var(--cyan); transition: transform .2s; }
.small-note { color: #8897a8; font-size: 12px; line-height: 1.7; margin: 12px 0 0; }
.hero-art { grid-column: 1; margin: 0; position: relative; }
.hero-art img { width: 100%; height: auto; border: 1px solid #1f3542; border-radius: 17px; }
.hero-art figcaption { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 1.3px; color: #8595a7; margin-top: 14px; }
.caption-line { width: 24px; height: 1px; background: #44818d; }
.demo-column { grid-column: 2; grid-row: 1 / 3; width: 100%; }
.preview-label { display: flex; justify-content: space-between; align-items: center; color: #92a7b7; font-size: 9px; letter-spacing: 1.8px; margin: 0 10px 13px; }
.preview-label > span:last-child { font-size: 17px; color: var(--cyan); }
.mini-app { background: linear-gradient(145deg, #141f2c, #0b131e 64%); position: relative; border: 1px solid #304d5a; border-radius: 26px; box-shadow: 0 24px 64px #0007, 0 0 70px #10bfd408, inset 0 1px 0 #a7eeff12; padding: 24px; scroll-margin-top: 20px; }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.guest-profile { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.guest-profile small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.guest-avatar { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #194754; color: #91ecf4; border: 1px solid #2f6877; font-size: 14px; font-weight: 500; }
.demo-badge { border: 1px solid #356271; border-radius: 5px; color: #8edae3; background: #12313c; font-size: 9px; font-weight: 650; letter-spacing: 1.4px; padding: 6px 7px; }
.game-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.stat { padding: 13px 16px; background: #1b27367d; border: 1px solid #2a3a4e; border-radius: 11px; }
.stat-label { color: #a0aebd; font-size: 11px; display: block; margin-bottom: 8px; }
.stat strong { font-size: 17px; display: flex; align-items: center; gap: 5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .icon { color: #70d8eb; width: 17px; height: 17px; margin-right: 2px; }
.stat-unit { font-size: 12px; color: #b4c0ce; font-weight: 400; }
.coin-stage { position: relative; display: grid; place-items: center; height: 238px; isolation: isolate; }
.coin-stage::before { content: ""; position: absolute; inset: -16px -24px; background: url("./assets/clicker-bg.png") center / 335px no-repeat; opacity: .17; z-index: -2; pointer-events: none; }
.coin-halo { width: 185px; height: 185px; position: absolute; border-radius: 50%; background: #00c8e0; filter: blur(50px); opacity: .14; z-index: -1; pointer-events: none; }
.coin-button { width: 213px; height: 213px; border: 0; padding: 0; border-radius: 50%; background: transparent; user-select: none; position: relative; transition: transform .13s, filter .15s; }
.coin-button img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 8px 22px #00c9ed25); }
.coin-button:active, .coin-button.is-tapping { transform: scale(.94); filter: brightness(1.16); }
.coin-button:disabled { cursor: default; }
.coin-button:focus-visible { outline-offset: -6px; }
.coin-button.is-idle { animation: coin-breathe 3.5s ease-in-out infinite; }
.tap-effects { position: absolute; inset: 0; pointer-events: none; }
.tap-particle { position: absolute; left: var(--tap-x, 50%); top: var(--tap-y, 45%); color: #c4fbff; font-size: 28px; font-weight: 750; text-shadow: 0 0 16px #05c5ff; animation: points-up .75s ease-out forwards; }
.tap-hint { text-align: center; color: #a9c1cb; font-size: 12px; margin: -1px 0 19px; min-height: 18px; }
.balance { text-align: center; margin: 0 0 21px; }
.balance-label { color: #a6b5c4; display: block; font-size: 9px; letter-spacing: 1.7px; margin-bottom: 7px; }
.balance > div { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.balance output { font-size: 42px; letter-spacing: -1px; line-height: 1.05; font-weight: 600; font-variant-numeric: tabular-nums; }
.balance-unit { color: #91a4b6; font-size: 12px; }
.energy-section { margin-bottom: 12px; }
.bar-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; color: #aabac7; font-size: 10px; }
.bar-label > span:first-child { display: flex; align-items: center; gap: 4px; }
.bar-label .icon { width: 12px; height: 12px; color: var(--cyan); }
progress { appearance: none; display: block; width: 100%; height: 5px; border: 0; border-radius: 10px; overflow: hidden; background: #243342; accent-color: var(--cyan); }
progress::-webkit-progress-bar { background: #243342; border-radius: 10px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #0983bd, #54e2e9); border-radius: 10px; transition: width .18s; }
progress::-moz-progress-bar { background: #54e2e9; border-radius: 10px; }
.rank-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #8e9fb1; font-size: 10px; margin-bottom: 7px; }
.rank-row strong { font-weight: 500; color: #c1cfdd; }
.rank-progress { height: 3px; opacity: .7; }
.is-low strong, .is-low .icon { color: #ffd28c; }
.app-bottom { margin-top: 24px; }
.primary-button { min-height: 52px; padding: 14px 16px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #9beaf1; border-radius: 10px; background: linear-gradient(105deg, #5bdfec, #9aeee9); color: #06282f; font-size: 13px; font-weight: 750; text-align: center; box-shadow: 0 4px 22px #0edde017; transition: transform .18s, box-shadow .18s, filter .18s; }
.primary-button .icon { width: 18px; height: 18px; }
.primary-button .button-arrow { width: 16px; margin-left: auto; }
.preview-note { display: block; text-align: center; color: #8e9fb1; font-size: 10px; margin-top: 12px; }
.preview-caption { display: flex; justify-content: center; align-items: center; gap: 6px; color: #91a7b6; font-size: 11px; margin-top: 16px; }
.preview-caption .icon { width: 14px; height: 14px; color: var(--cyan); }
.result-panel { min-height: 561px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; animation: result-in .4s ease-out; }
.result-icon { width: 73px; height: 73px; display: grid; place-items: center; border: 1px solid #366875; border-radius: 21px; background: linear-gradient(145deg, #143b4a, #0c2231); color: var(--cyan); box-shadow: 0 0 60px #00d9e424; margin: 8px 0 27px; }
.result-icon svg { width: 33px; height: 33px; }
.result-panel .eyebrow { justify-content: center; font-size: 9px; color: #81c7d1; margin-bottom: 13px; }
.result-panel h2 { font-size: 27px; font-weight: 550; line-height: 1.3; letter-spacing: -.9px; margin: 0; }
.result-panel h2 span { color: var(--cyan); }
.result-panel h2:focus { outline: none; }
.result-total { margin: 23px 0 17px; display: flex; flex-direction: column; gap: 5px; }
.result-total strong { font-size: 48px; line-height: 1; font-weight: 550; letter-spacing: -2px; color: #eaffff; }
.result-total > span { color: #a8bdc9; font-size: 11px; }
.result-description { color: #a9bac7; font-size: 13px; line-height: 1.7; max-width: 280px; margin: 0 0 23px; }
.result-cta { width: 100%; }
.result-note { color: #96a7b9; font-size: 11px; line-height: 1.7; max-width: 265px; margin: 13px 0 0; }
.replay-button { color: #a9b9c8; background: transparent; border: 0; font-size: 11px; padding: 14px; min-height: 44px; margin-top: 10px; }
.no-script { color: #c0d0df; font-size: 13px; line-height: 1.6; }
.how-it-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.step { display: flex; align-items: baseline; gap: 17px; }
.step-number { color: #638796; font-size: 12px; font-variant-numeric: tabular-nums; }
.step h2 { font-size: 14px; font-weight: 550; margin: 0 0 9px; }
.step p { color: #8e9cab; font-size: 12px; line-height: 1.6; margin: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; color: #8b9aaa; font-size: 10px; }
.site-footer > span:first-child { color: #bac7d2; font-size: 11px; }
.site-footer p { margin: 0; text-align: center; line-height: 1.6; }
.locale { letter-spacing: 1px; white-space: nowrap; }
@keyframes points-up { from { opacity: 1; transform: translate(-50%, -40%) scale(.85); } to { opacity: 0; transform: translate(-50%, -135px) scale(1.08); } }
@keyframes coin-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes result-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) {
  .header-link:hover, .replay-button:hover { color: var(--cyan); }
  .try-link:hover .icon { transform: translateX(5px); }
  .primary-button:hover { transform: translateY(-2px); box-shadow: 0 7px 27px #35ddec32; filter: brightness(1.06); }
  .coin-button:not(:disabled):hover { filter: brightness(1.1); }
}
@media (max-width: 1050px) {
  .page-width { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 35px; }
  h1 { letter-spacing: -3px; }
  .hero-description { font-size: 15px; }
  .mini-app { padding: 20px; }
  .hero-art { align-self: end; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
}
@media (max-width: 760px) {
  .page-width { width: min(520px, calc(100% - 36px)); }
  .site-header { min-height: 79px; gap: 12px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand img { width: 35px; height: 35px; }
  .brand small { font-size: 8px; letter-spacing: 1.4px; }
  .header-link { gap: 6px; font-size: 11px; }
  .header-link > span:last-child { display: none; }
  .header-link .icon { width: 15px; height: 15px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding: 30px 0 28px; }
  .hero-intro { padding: 0; width: 100%; margin-bottom: 25px; }
  .eyebrow { font-size: 8px; margin-bottom: 13px; letter-spacing: 1.2px; }
  h1 { font-size: clamp(37px, 10.3vw, 55px); letter-spacing: -2.2px; margin-bottom: 13px; }
  h1 br { display: none; }
  .hero-description { font-size: 13px; line-height: 1.65; margin-bottom: 13px; max-width: 420px; }
  .hero-prompt { font-size: 13px; margin-bottom: 7px; }
  .try-link { font-size: 11px; gap: 14px; }
  .small-note { font-size: 11px; margin-top: 10px; }
  .preview-label { display: none; }
  .demo-column { order: 2; }
  .hero-art { order: 3; width: 100%; margin-top: 31px; }
  .hero-art figcaption { font-size: 8px; }
  .mini-app { max-width: 420px; margin: 0 auto; border-radius: 21px; padding: 20px; }
  .app-header { margin-bottom: 18px; }
  .coin-stage { height: 214px; }
  .coin-button { width: 194px; height: 194px; }
  .coin-stage::before { background-size: 290px; }
  .tap-hint { margin-bottom: 17px; }
  .balance { margin-bottom: 18px; }
  .balance output { font-size: 37px; }
  .app-bottom { margin-top: 19px; }
  .primary-button { font-size: 13px; min-height: 52px; }
  .result-panel { min-height: 525px; }
  .how-it-works { grid-template-columns: 1fr; gap: 23px; padding: 25px 0; }
  .step h2 { margin-bottom: 5px; }
  .step { gap: 20px; }
  .site-footer { flex-wrap: wrap; gap: 14px; padding-block: 23px; }
  .site-footer p { width: 100%; order: 3; text-align: left; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 28px); }
  .brand { font-size: 15px; }
  .header-link { font-size: 10px; }
  .mini-app { padding: 17px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 16px; }
  .primary-button { padding-inline: 12px; font-size: 12px; }
  .result-panel h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
