/* [CSS:HK-NAV] owner #275 (TASK-122): home header — Log in + strong Sign up CTA with a peeking robot. Motion = transform/opacity only,
   paused when the tab is hidden, disabled for prefers-reduced-motion. */
.hk-nav-auth { display: flex; align-items: center; gap: 8px; flex: none; }
.gm-btn.hk-nav-up { padding-left: 40px; }
.hk-nav-up { position: relative; isolation: isolate; overflow: visible; padding-left: 40px; animation: hk-up-pulse 2.4s ease-in-out infinite; }
.hk-nav-up::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) -150% 0 / 200% 100% no-repeat; animation: hk-up-sheen 2.8s ease-in-out infinite; }
.hk-nav-up::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid #ffc933; opacity: 0; pointer-events: none; animation: hk-up-ring 2.4s ease-out infinite; }
.hk-nav-bot { position: absolute; left: 6px; bottom: 2px; width: 28px; height: 32px; transform-origin: 50% 100%; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); animation: hk-up-bot 1.8s ease-in-out infinite; }
@keyframes hk-up-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes hk-up-sheen { 0%, 40% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
@keyframes hk-up-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15, 1.4); } }
@keyframes hk-up-bot { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-4px) rotate(6deg); } }
@media (max-width: 479px) {
	.gm-top .hd-word i { display: none; }
	.hk-nav-auth { gap: 4px; }
	.hk-nav-in { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 359px) { .gm-top .hd-word { display: none; } .gm-btn.hk-nav-in, .gm-btn.hk-nav-up { font-size: 14px; } .gm-btn.hk-nav-in { padding: 0 8px; } .gm-btn.hk-nav-up { padding: 0 8px 0 30px; } .hk-nav-bot { left: 2px; width: 24px; height: 28px; } .gm-top .gm-wrap { gap: 4px; } }
html.gm-hidden .hk-nav-up, html.gm-hidden .hk-nav-up::before, html.gm-hidden .hk-nav-up::after, html.gm-hidden .hk-nav-bot { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hk-nav-up, .hk-nav-up::before, .hk-nav-up::after, .hk-nav-bot { animation: none !important; } }
/* owner #276: "Claim tutorial" CTA between the hero card and the demo (first screen on mobile) */
.gm-btn.hk-claim { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; align-items: center; gap: 12px; margin: 16px 0 0; padding: 8px 16px; min-height: 64px; text-align: left; position: relative; isolation: isolate; animation: hk-claim-pulse 2.4s ease-in-out infinite; }
@keyframes hk-claim-pulse { 50% { transform: scale(1.02); } }
@keyframes hk-claim-ring { 0% { opacity: .9; transform: none; } 100% { opacity: 0; transform: scale(1.02, 1.25); } }
.hk-claim::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%) -150% 0 / 200% 100% no-repeat; animation: hk-up-sheen 2.8s ease-in-out infinite; }
.hk-claim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 3px solid #ffc933; opacity: 0; pointer-events: none; animation: hk-claim-ring 2.4s ease-out infinite; }
.hk-claim-bot { width: 40px; height: 45px; transform-origin: 50% 100%; animation: hk-up-bot 1.8s ease-in-out infinite; }
.hk-claim-t { display: grid; gap: 4px; min-width: 0; }
.hk-claim-t b { font-size: 20px; line-height: 1.2; }
.hk-claim-t small { font: 800 12px/16px var(--gm-f-body, sans-serif); text-transform: none; letter-spacing: 0; opacity: .95; }
.hk-claim-go { width: 24px; height: 24px; animation: hk-go-nudge 1.2s ease-in-out infinite; }
@keyframes hk-go-nudge { 50% { transform: translateX(4px); } }
@media (min-width: 900px) { .gm-btn.hk-claim { display: none; } }
html.gm-hidden .hk-claim, html.gm-hidden .hk-claim::before, html.gm-hidden .hk-claim::after, html.gm-hidden .hk-claim-bot, html.gm-hidden .hk-claim-go { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hk-claim, .hk-claim::before, .hk-claim::after, .hk-claim-bot, .hk-claim-go { animation: none !important; } }
/* owner #276: exit-intent sheet (js/hk-exit.js) — shown once per visitor */
.hk-exit { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 20, .75); opacity: 0; transition: opacity .25s ease; }
.hk-exit.on { opacity: 1; }
.hk-exit-in { position: relative; width: 100%; max-width: 400px; padding: 24px 16px 16px; border: 3px solid #34427a; border-radius: 24px; text-align: center; color: #eef3ff;
	background: linear-gradient(160deg, rgba(38, 49, 94, .98), rgba(21, 29, 66, .99)); box-shadow: 0 0 48px rgba(255, 201, 51, .3); transform: translateY(24px) scale(.96); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.hk-exit.on .hk-exit-in { transform: none; }
.hk-exit-bot { width: 72px; height: 81px; margin: -64px auto 8px; display: block; animation: hk-up-bot 1.8s ease-in-out infinite; }
.hk-exit h2 { margin: 0 0 8px; font: 400 24px/1.2 var(--gm-f-title, sans-serif); color: #ffc933; }
.hk-exit p { margin: 0 0 16px; font-size: 14px; line-height: 1.45; color: #b4c2e6; }
.hk-exit .gm-btn { width: 100%; }
.hk-exit-no { display: block; width: 100%; min-height: 44px; margin-top: 8px; border: 0; background: none; color: #b4c2e6; font: 700 14px/1 inherit; cursor: pointer; }
/* owner #277: 5-second claim sheet with a big 10-second countdown ring (js/hk-exit.js HK-CLAIM-TIMER) */
.hk-cp .hk-exit-in { padding-top: 16px; }
.hk-cp-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #eef3ff; font-size: 20px; cursor: pointer; }
.hk-cp-ring { position: relative; width: 160px; height: 160px; margin: 0 auto 12px; display: grid; place-items: center; }
.hk-cp-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hk-cp-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.hk-cp-fg { fill: none; stroke: #ffc933; stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(255, 201, 51, .7)); }
.hk-cp .hk-exit-bot { margin: 0; width: 64px; height: 72px; }
.hk-cp-n { position: absolute; right: 4px; bottom: 4px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(#ffc04d, #f07800);
	color: #1b1300; font: 400 32px/1 var(--gm-f-title, sans-serif); box-shadow: 0 4px 0 #a34f00, 0 0 24px rgba(255, 154, 31, .6); }
.hk-cp-n.tick { animation: hk-cp-tick .5s cubic-bezier(.22, 1, .36, 1); }
@keyframes hk-cp-tick { 0% { transform: scale(1.35); } 100% { transform: none; } }
.hk-cp h2 { font-size: 32px; }
@media (prefers-reduced-motion: reduce) { .hk-cp-n.tick { animation: none; } }
/* owner #280: looping 10-second countdown badge on the Claim button */
.gm-btn.hk-claim { grid-template-columns: 40px minmax(0, 1fr) 44px 24px; }
.hk-claim-cd { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.hk-claim-cd svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hk-claim-cd circle { fill: rgba(27, 19, 0, .35); stroke: rgba(255, 255, 255, .25); stroke-width: 4; }
.hk-claim-cd .hk-claim-cd-fg { fill: none; stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.hk-claim-cd.run .hk-claim-cd-fg { animation: hk-cd-ring 11s linear forwards; }
@keyframes hk-cd-ring { to { stroke-dashoffset: 100; } }
.hk-claim-cd b { position: relative; font: 400 20px/1 var(--gm-f-title, sans-serif); color: #fff; }
.hk-claim-cd b.tick { animation: hk-cp-tick .5s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 359px) { .gm-btn.hk-claim { grid-template-columns: 32px minmax(0, 1fr) 44px; gap: 8px; } .hk-claim-go { display: none; } .hk-claim-bot { width: 32px; height: 36px; } }
@media (prefers-reduced-motion: reduce) { .hk-claim-cd.run .hk-claim-cd-fg, .hk-claim-cd b.tick { animation: none; } }
@media (max-width: 419px) { .hk-claim-t b { font-size: 18px; white-space: nowrap; } .gm-btn.hk-claim { gap: 8px; padding: 8px 12px; } }
@media (max-width: 359px) { .hk-claim-t b { font-size: 16px; } .hk-claim-go { display: none !important; } }
/* owner #281: "start with your wallet address" form under the hero trust chip (js/hk-wallet.js) */
.hk-wf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; width: 100%; max-width: 440px; margin: 12px auto 0; }
.hk-wf-f { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 2px solid #34427a; border-radius: 16px; background: rgba(11, 16, 36, .8); transition: border-color .2s ease, box-shadow .2s ease; }
.hk-wf-f:focus-within { border-color: #5ef0ff; box-shadow: 0 0 0 4px rgba(94, 240, 255, .15); }
.hk-wf.ok .hk-wf-f { border-color: #86e85c; }
.hk-wf.bad .hk-wf-f { border-color: #ff6b6b; animation: hk-wf-shake .3s ease; }
.hk-wf-ic { width: 28px; height: 28px; flex: none; }
.hk-wf-f input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: #eef3ff; font: 700 14px/1 var(--gm-f-body, sans-serif); outline: none; }
.hk-wf-f input::placeholder { color: #8d9bc4; }
.hk-wf .gm-btn { min-height: 48px; }
.hk-wf-net { grid-column: 1 / -1; margin: 0; text-align: center; font: 700 12px/16px var(--gm-f-body, sans-serif); color: #b4c2e6; }
.hk-wf.ok .hk-wf-net { color: #86e85c; }
.hk-wf.bad .hk-wf-net { color: #ff9b9b; }
@keyframes hk-wf-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .hk-wf.bad .hk-wf-f { animation: none; } }
.hk-wf-net:empty { display: none; }
.hk-wf-coins { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hk-wf-c { position: relative; width: 24px; height: 24px; }
.hk-wf-c img { display: block; width: 24px; height: 24px; }
.hk-wf-c .hk-wf-b { position: absolute; right: -4px; bottom: -4px; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px #0b1024; }
.hk-wf .gm-btn { width: auto; padding: 0 16px; } @media (max-width: 359px) { .hk-wf .gm-btn { padding: 0 12px; font-size: 14px; } .hk-wf-f { padding: 0 8px; } }
.hk-wf-f { min-width: 0; overflow: hidden; } .hk-wf-f input { width: 100%; }
/* owner #282: wallet form lives inside the hero box (.hk-eq) — full-width row, selectable coin chips */
.hk-eq .hk-wf { grid-column: 1 / -1; max-width: none; margin: 12px 0 0; padding-top: 12px; border-top: 2px dashed rgba(94, 240, 255, .2); }
.hk-wf-coins { order: -1; }
button.hk-wf-c { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 2px solid transparent; border-radius: 50%; background: rgba(0, 0, 0, .25); cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
button.hk-wf-c img:first-child { width: 24px; height: 24px; }
button.hk-wf-c .hk-wf-b { right: 0; bottom: 0; }
button.hk-wf-c.on { border-color: #ffc933; transform: scale(1.1); box-shadow: 0 0 12px rgba(255, 201, 51, .5); }
.hk-wf-coins { gap: 8px; }
.hk-wf-k { grid-column: 1 / -1; order: -2; margin: 0; text-align: center; font: 900 12px/16px var(--gm-f-body, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #5ef0ff; }
/* owner #283: coin chips always in ONE row — 10 equal fluid columns, capped at 36px */
.hk-wf-coins { display: grid; grid-template-columns: repeat(10, minmax(0, 36px)); justify-content: center; gap: clamp(2px, 1.2vw, 8px); }
button.hk-wf-c { width: 100%; height: auto; aspect-ratio: 1; }
button.hk-wf-c img:first-child { width: 70%; height: 70%; }
button.hk-wf-c .hk-wf-b { width: 40%; height: 40%; }
button.hk-wf-c.on { transform: none; }
.hk-wf-c { position: relative; }
button.hk-wf-c { padding: 0; border-width: 2px; } button.hk-wf-c img:first-child { width: 86%; height: 86%; } .hk-wf-coins { grid-template-columns: repeat(10, minmax(0, 40px)); gap: clamp(2px, 1vw, 6px); }
.hk-wf-coins { gap: clamp(4px, 1vw, 6px); }
