/* Ansel's local landing page: deep space, cool light and clear glass. */
:root {
    color-scheme: dark;
    --bg: #080d16;
    --surface: #111b28;
    --text: #edf3f5;
    --muted: #8a99ad;
    --teal: #82dcc5;
    --ice: #a9dfff;
    --line: rgba(172, 197, 214, .12);
}
* { box-sizing: border-box; }
h1, h2, h3, p { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.home-body { min-height: 100vh; background: #030812; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }
button:focus:not(:focus-visible) { outline: none; }
[hidden] { display: none !important; }
::selection { background: #80dcc546; color: white; }
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .9; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-paw { fill: currentColor; stroke: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #a4b4b9; font-size: 12px; letter-spacing: 2px; font-weight: 500; }
.home-container { position: relative; z-index: 1; overflow: clip; }
.page-width { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; background: var(--teal); color: var(--bg); padding: 12px 20px; top: -90px; left: 24px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
/* The entrance stays centered, like a small solar system in a vivid night sky. */
.home-cover { min-height: 100svh; display: flex; flex-direction: column; position: relative; padding-bottom: 18px; background: linear-gradient(180deg, #03081200 60%, #03081250 100%); }
.home-header { position: relative; z-index: 3; display: flex; justify-content: center; align-items: center; flex: 0 0 auto; height: 102px; gap: 28px; }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 13px; }
.brand-mark { color: #ffad3d; font-size: 40px; line-height: 1; text-shadow: 0 0 26px #ff9e3560; }
.cover-brand-name { color: #b3fff4; font-size: 25px; letter-spacing: 3px; font-weight: 650; }
.language-switch { position: absolute; right: 0; display: flex; gap: 10px; align-items: center; color: #526a82; font-size: 14px; white-space: nowrap; padding: 5px 12px; border: 1px solid #94c7eb1c; border-radius: 22px; background: #1f345a35; }
.language-switch .icon { width: 17px; height: 17px; margin-right: 3px; color: #98b8cd; }
.language-switch button { background: transparent; padding: 5px 0; border: 0; font-size: 14px; color: #899db9; transition: color .2s; }
.language-switch button[aria-pressed="true"] { color: #8ce9da; text-shadow: 0 0 14px #6ed9cc50; }
.cover-hero { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: clamp(20px, 3.3svh, 36px); padding: 10px 24px 28px; text-align: center; }
.cover-orbital { --orbit-size: clamp(230px, 40svh, 380px); position: relative; width: var(--orbit-size); height: var(--orbit-size); flex: 0 0 auto; isolation: isolate; }
.cover-orbital::before { content: ''; position: absolute; inset: -25%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse at 28% 27%, #9557ff2c, transparent 54%), radial-gradient(ellipse at 74% 64%, #25e3d42b, transparent 48%), radial-gradient(circle, #fba33e12, transparent 65%); filter: blur(15px); }
.cover-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid #71d2d13d; border-radius: 50%; animation: cover-orbit-spin var(--duration) linear infinite; }
.cover-orbit::before { content: ''; position: absolute; inset: -1px; border: 1px solid transparent; border-top-color: #89e3d65c; border-right-color: #69b5ea14; border-radius: 50%; transform: rotate(-30deg); }
.cover-orbit-eth { width: 47%; height: 47%; --duration: 24s; --start: -65deg; border-color: #b49cff80; box-shadow: 0 0 20px #a37cf715; }
.cover-orbit-sol { width: 74%; height: 74%; --duration: 37s; --start: -115deg; border-color: #64ddd85c; }
.cover-orbit-bnb { width: 100%; height: 100%; --duration: 52s; --start: -32deg; border-color: #6aaff065; }
.cover-coin { position: absolute; left: 50%; top: 0; width: calc(var(--orbit-size) * .108); height: calc(var(--orbit-size) * .108); margin-top: calc(var(--orbit-size) * -.054); margin-left: calc(var(--orbit-size) * -.054); border-radius: 50%; display: grid; place-items: center; font-size: clamp(10px, 1.35svh, 12px); font-weight: 700; color: #fff; animation: cover-coin-spin var(--duration) linear infinite; box-shadow: inset 1px 1px 4px #ffffff50, inset -4px -5px 9px #0003, 0 0 22px #a8b8fc45; }
.cover-coin span { white-space: nowrap; }
.cover-eth { background: radial-gradient(circle at 30% 23%, #b1b3ff, #727ee1 48%, #434b9b); }
.cover-sol { background: linear-gradient(135deg, #a669fa 12%, #6556dd 35%, #27c9b2 72%, #24df9e); box-shadow: inset 1px 1px 4px #ffffff60, 0 0 20px #35c9b449; }
.cover-bnb { background: radial-gradient(circle at 30% 23%, #ffe475, #ebba27 55%, #b98218); box-shadow: inset 1px 1px 4px #ffffff70, 0 0 20px #edb73d44; }
.cover-bitcoin { position: absolute; left: 50%; top: 50%; width: 27%; height: 27%; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; color: #fff5dd; background: radial-gradient(circle at 32% 26%, #ffcf77 0, #ffaf3e 25%, #f49223 55%, #ce661b 87%); box-shadow: inset 2px 3px 8px #ffe5ae9c, inset -6px -8px 14px #a14e1e70, 0 0 38px #ff9e3b70, 0 0 90px #ff9b3130, 8px 12px 30px #0003; }
.cover-bitcoin::before { content: ''; position: absolute; inset: 5%; border: 1px solid #ffe4ac47; border-radius: 50%; }
.cover-bitcoin span { font-size: calc(var(--orbit-size) * .16); line-height: 1; font-weight: 650; text-shadow: 1px 3px 4px #9c4d2170; }
/* Holographic geometry frames the planetary system without covering the copy. */
.orbital-hud { position: absolute; z-index: -1; width: 154%; height: 154%; inset: -27%; pointer-events: none; opacity: .8; filter: drop-shadow(0 0 4px #56c9e52b); }
.hud-scan-arcs { transform-origin: 300px 300px; animation: hud-scan 90s linear infinite; }
.cover-orbital::after { content: ''; position: absolute; z-index: -2; inset: -16%; border-radius: 50%; background: conic-gradient(from 10deg, transparent 0 52deg, #83c9ff09 55deg 75deg, transparent 80deg 210deg, #b384f90a 213deg 234deg, transparent 239deg); mask-image: radial-gradient(circle, transparent 57%, black 58% 68%, transparent 69%); animation: hud-scan 80s linear infinite reverse; }
@keyframes hud-scan { to { transform: rotate(360deg); } }
.cover-copy { position: relative; z-index: 2; max-width: 860px; text-shadow: none; }

.cover-kicker { color: #c4d3e9; font-size: clamp(17px, 2.3svh, 23px); font-weight: 400; letter-spacing: 7px; }
h1 { font-size: clamp(36px, 5.7svh, 58px); line-height: 1.3; font-weight: 650; letter-spacing: 5px; margin: 10px 0 0; background: linear-gradient(105deg, #b6fff0 7%, #bdeeff 48%, #d0d6ff 78%, #ead0ff 100%); background-clip: text; -webkit-background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 2px 2px #0009) drop-shadow(0 0 18px #a4dfff24); }
.cover-subtitle { margin-top: 22px; color: #f5f8ff; font-weight: 500; text-shadow: 0 1px 3px #000c; font-size: clamp(16px, 2.3svh, 20px); }
.cover-description { margin-top: 11px; color: #c5d5e9; text-shadow: 0 1px 2px #000c; font-size: clamp(14px, 1.8svh, 16px); line-height: 1.8; }
.cover-scroll { display: flex; position: relative; flex: 0 0 auto; flex-direction: column; align-items: center; align-self: center; gap: 7px; padding: 12px 24px 2px; color: #98b8c4; min-width: 220px; text-align: center; }
.scroll-light { display: block; position: relative; width: min(440px, 70vw); height: 2px; margin-bottom: 8px; background: linear-gradient(90deg, transparent, #599de2a3 18%, #8be2d7 50%, #a98af1a3 82%, transparent); box-shadow: 0 0 12px #60d7d460, 0 0 28px #6eb8f530; border-radius: 50%; }
.scroll-light::after { content: ''; position: absolute; inset: -7px 10%; background: linear-gradient(90deg, transparent, #71dace2c, transparent); filter: blur(6px); }
.scroll-label { color: #c6e3e8; font-size: 12px; letter-spacing: 3px; transition: color .2s; }
.scroll-chevron { width: 19px; height: 19px; fill: none; stroke: #9ee1da; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: scroll-invite 2.5s ease-in-out infinite; filter: drop-shadow(0 0 5px #62dace80); }
.cover-scroll:hover .scroll-label { color: #b9f7e8; }
@keyframes cover-orbit-spin { from { transform: translate(-50%, -50%) rotate(var(--start)); } to { transform: translate(-50%, -50%) rotate(calc(var(--start) + 360deg)); } }
@keyframes cover-coin-spin { from { transform: rotate(calc(-1 * var(--start))); } to { transform: rotate(calc(-1 * var(--start) - 360deg)); } }
@keyframes scroll-invite { 0%, 100% { transform: translateY(-2px); opacity: .5; } 50% { transform: translateY(3px); opacity: 1; } }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 600; letter-spacing: .3px; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button .icon { width: 18px; height: 18px; }
/* The game is the first feature, with the actual unlockable cat collection. */
.game-feature { position: relative; padding: 35px 38px 26px; border: 1px solid #80c9e447; border-radius: 15px; background: radial-gradient(ellipse at 87% 0, #437dd518, transparent 52%), linear-gradient(120deg, #172329eb, #141d2ae8); box-shadow: inset 0 1px 0 #b4e4ff0c, 0 18px 50px #0003; }
.game-feature::before { position: absolute; content: ''; height: 1px; top: -1px; left: 6%; right: 35%; background: linear-gradient(90deg, transparent, #9edfff75, transparent); }
.game-feature-top { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-bottom: 30px; }
.game-intro { max-width: 750px; }
.game-eyebrow { color: #9dddf5; font-size: 12px; letter-spacing: 1.6px; }
.game-eyebrow .icon { width: 15px; height: 15px; }
.game-intro h2 { font-size: 29px; font-weight: 500; letter-spacing: -.6px; line-height: 1.5; margin-top: 12px; }
.accent-text { color: #c5c6ff; }
.game-intro p { max-width: 640px; margin-top: 10px; font-size: 16px; color: #9ba8b4; line-height: 1.85; }
.game-details { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; color: #879a9f; font-size: 12px; }
.detail-dot { color: #69776d; }
.button-game { flex: 0 0 auto; min-width: 142px; color: #061f35; background: linear-gradient(135deg, #c6f4ff, #79b5fa); border-color: #d8f8ff; box-shadow: inset 0 1px 0 #e1fbff7a, 0 6px 20px #0002; }
.button-game .icon { width: 16px; fill: currentColor; stroke-width: 0; }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #b4bec512; padding-top: 20px; margin-bottom: 16px; }
.gallery-title { display: flex; align-items: center; gap: 12px; }
.gallery-title h3 { font-size: 14px; color: #c0cace; font-weight: 500; letter-spacing: 1px; }
.collection-count { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 8px; border: 1px solid #9aafac22; border-radius: 4px; font-size: 12px; color: #a3b7b5; white-space: nowrap; }
.gallery-hint { color: #637a86; font-size: 12px; }
.carousel-controls { display: flex; align-items: center; gap: 8px; }
.carousel-pause, .text-button { border: 0; padding: 4px; background: transparent; font-size: 14px; color: #8c9da4; }
.carousel-pause { margin-right: 7px; }
.carousel-pause:hover, .text-button:hover { color: var(--ice); }
.icon-button { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #84939d3b; border-radius: 50%; background: #080d161c; transition: background .2s; }
.icon-button .icon { width: 14px; height: 14px; }
.icon-button:hover { background: #83c7f025; }
.prev-button .icon { transform: rotate(180deg); }
.cat-track { display: flex; overflow-x: auto; gap: 15px; scrollbar-width: thin; scrollbar-color: #5b6b6650 transparent; padding: 0 0 13px; overscroll-behavior-x: contain; scroll-padding-inline: 0; min-height: 188px; }
.cat-track::-webkit-scrollbar { height: 3px; }
.cat-track::-webkit-scrollbar-thumb { background: #7c8d7d60; border-radius: 2px; }
.cat-card { flex: 0 0 140px; min-width: 0; display: block; padding: 7px 7px 10px; border: 1px solid #a1b6c01a; border-radius: 9px; background: #080d1640; transition: border-color .25s, background .25s, transform .25s; }
.cat-card:hover { border-color: #91d8ff66; background: #182c40; transform: translateY(-2px); }
.cat-art { aspect-ratio: 1.28; position: relative; overflow: hidden; border-radius: 5px; background: #39404a; }
.cat-image { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: filter .4s, transform .5s; }
.is-locked .cat-image { filter: grayscale(1) brightness(.58); }
.is-locked .cat-art::after { content: ''; position: absolute; inset: 0; background: #7a839c28; pointer-events: none; }
.cat-lock { position: absolute; z-index: 1; inset: 0; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; gap: 3px; padding-bottom: 8px; color: #d3d7db; font-size: 12px; background: linear-gradient(transparent 23%, #1c2432b3); }
.cat-lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cat-card:hover .cat-image { transform: scale(1.07); }
.cat-name { font-size: 14px; font-weight: 500; line-height: 1.4; margin: 9px 4px 2px; color: #bdc8d0; }
.cat-meta { font-size: 12px; color: #657c89; margin-inline: 4px; line-height: 1.5; }
.is-unlocked { border-color: #88cffa45; }
.is-unlocked .cat-name { color: #b4e7ff; }
.cat-loading, .cat-error { font-size: 14px; color: #91a2ad; padding: 24px 0; }
.cat-error { display: flex; align-items: center; gap: 20px; }
/* Quiet, legible entry points with an illuminated top edge. */
.explore-section { padding-top: 73px; padding-bottom: 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 28px; }
.section-heading .eyebrow { font-size: 12px; color: #6e9290; }
.section-heading h2 { font-weight: 500; font-size: 29px; letter-spacing: -.8px; margin-top: 10px; }
.section-heading > p { font-size: 14px; color: #f2f8ff; font-weight: 600; padding-bottom: 5px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 235px; padding: 25px; border: 1px solid #93a8be1a; border-radius: 10px; background: linear-gradient(125deg, #1b29336e, #121c2b91); box-shadow: inset 0 1px 0 #d2e5ff05, 0 10px 24px #00000012; transition: border-color .25s, box-shadow .25s; }
.feature-card::before { content: ''; position: absolute; z-index: 0; inset: 0; opacity: 0; background: radial-gradient(250px circle at var(--mouse-x, 50%) var(--mouse-y, 20%), #b5e9e910, transparent 80%); transition: opacity .25s; pointer-events: none; }
.feature-card:hover { border-color: #9ed5c23e; box-shadow: 0 15px 35px #0003; }
.feature-card:hover::before { opacity: 1; }
.feature-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #90dac027; border-radius: 9px; background: linear-gradient(135deg, #8acfb71c, #80bdc006); color: #85cbb7; box-shadow: inset 0 1px 0 #c8e6da0a; }
.feature-icon .icon { width: 21px; height: 21px; }
.icon-blue { color: #a0bddd; border-color: #7798c02a; background: #7798c010; }
.icon-purple { color: #b4a0d9; border-color: #a28dc02a; background: #a28dc010; }
.icon-cyan { color: #9fdfee; border-color: #79b8d12a; background: #79b8d110; }
.feature-tag { font-size: 12px; color: #728993; letter-spacing: .6px; }
.feature-card h3 { position: relative; z-index: 1; font-size: 18px; font-weight: 500; letter-spacing: -.3px; }
.feature-card p { position: relative; z-index: 1; font-size: 16px; color: #8295a4; margin-top: 8px; max-width: 290px; line-height: 1.8; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 23px; margin-top: auto; color: #a4bbb9; font-size: 14px; }
.card-spark { color: #5b7d7d; font-size: 19px; line-height: 1; }
.feature-prediction { border-color: #85c6ac2d; background: linear-gradient(125deg, #1a302f94, #14222db3); }
.mini-chart { position: absolute; width: 52%; height: 63px; right: 0; bottom: 0; opacity: .5; pointer-events: none; }
.feature-prediction .card-bottom { position: relative; z-index: 1; }
.transparency-link { position: relative; overflow: hidden; --accent-rgb: 127, 201, 255; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; border: 1px solid #aabfd513; border-radius: 8px; padding: 22px 25px; background: #14203050; transition: border-color .2s; }
.transparency-link:hover { border-color: #a6cbc249; }
.transparency-icon { color: #7c96a6; display: flex; }
.transparency-link h3 { font-size: 18px; color: #a9dfff; font-weight: 600; white-space: nowrap; }
.transparency-link p { font-size: 14px; color: #f5f9ff; font-weight: 600; line-height: 1.7; }
.transparency-link p + p { margin-top: 3px; }
.transparency-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.transparency-copy { position: relative; z-index: 1; margin-left: auto; max-width: 70%; text-align: right; }
.home-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 105px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #b1b2a5; font-size: 24px; }
.footer-brand span { font-size: 12px; letter-spacing: 1.7px; color: #77908f; }
.home-footer p { color: #5e7483; font-size: 12px; }
.copyright { color: #5e7483; font-size: 12px; white-space: nowrap; }
/* Keep translucent surfaces in normal painting above the live starfield.
   Decorative reflections stay below the content in each local stacking context. */
.game-feature, .feature-card, .transparency-link { isolation: isolate; }
.game-feature::before { z-index: 0; pointer-events: none; }
.game-feature > *, .transparency-link > * { position: relative; z-index: 1; }
/* Cool holographic light and transparent glass for the adventure and tools. */
.game-feature {
    border-color: #8ad5f266;
    background: linear-gradient(135deg, #b6edff0b, transparent 40%, #67dce307), radial-gradient(ellipse at 100% 0, #597ffb12, transparent 58%), #060d1b38;
    box-shadow: inset 0 1px 0 #c9f5ff36, inset 0 -1px 0 #81d8e112, 0 20px 55px #0004;
}
.game-feature::before { background: linear-gradient(90deg, transparent, #a3eaffb3, #9caeff70, transparent); }
.game-eyebrow { color: #b4e9ff; }
.accent-text { color: #c5d4ff; }
.game-intro p { color: #d1ddea; text-shadow: 0 1px 2px #0009; }
.game-details, .gallery-hint { color: #9bafbd; }
.button-game { color: #062039; background: linear-gradient(125deg, #c4f4ff, #82baff); border-color: #d2f7ff; box-shadow: inset 0 1px 0 #e4fcff, 0 5px 26px #5baaff26; }
.collection-count { color: #a5ead5; background: #2f8b7323; border-color: #71d7b74d; }
.cat-card { background: linear-gradient(145deg, #d1e8ff08, #0a132333); border-color: #b3d2ef2e; box-shadow: inset 0 1px 0 #e3f2ff12; }
.cat-card:hover { background: linear-gradient(145deg, #8bbfe912, #0d1a293d); border-color: #91d8ff99; }
.cat-name { color: #d1dce9; }
.cat-meta { color: #9bafc1; }
.cat-card.is-unlocked { border-color: #88cffa6b; box-shadow: inset 0 1px 0 #b5eaff1c; }
.is-unlocked .cat-name { color: #b9eaff; }
.feature-card { --accent: #88ead0; --accent-rgb: 96, 218, 181; }
.feature-card:nth-child(2) { --accent: #a1c8ff; --accent-rgb: 109, 159, 247; }
.feature-card:nth-child(3) { --accent: #cfb0ff; --accent-rgb: 167, 116, 242; }
.feature-card:nth-child(4) { --accent: #a6e4ff; --accent-rgb: 91, 190, 243; }
.feature-card:nth-child(5) { --accent: #86ddeb; --accent-rgb: 64, 190, 213; }
.feature-card:nth-child(6) { --accent: #b9b9ff; --accent-rgb: 140, 133, 244; }
.feature-card {
    border-color: rgba(var(--accent-rgb), .36);
    background: linear-gradient(140deg, #e3f3ff0a, transparent 40%, rgba(var(--accent-rgb), .045)), rgba(5, 13, 27, .22);
    box-shadow: inset 0 1px 0 #e3f4ff33, inset 1px 0 0 rgba(var(--accent-rgb), .08), inset 0 -1px 0 #718cad18, 0 14px 34px #0003;
}
/* Animate only a narrow 2D reflection; the frame and text never move with it. */
.feature-card::after, .transparency-link::after { content: ''; position: absolute; z-index: 0; inset: 0 auto 0 0; width: 45%; pointer-events: none; background: linear-gradient(112deg, transparent 10%, rgba(var(--accent-rgb), .035) 35%, #e9faff24 50%, rgba(var(--accent-rgb), .07) 65%, transparent 90%); opacity: 0; transform: translateX(-110%); animation: glass-shimmer 16s ease-in-out infinite; }
.transparency-link::after { animation-duration: 19s; animation-delay: -4s; }
.feature-card:nth-child(2)::after { animation-delay: -3s; }
.feature-card:nth-child(3)::after { animation-delay: -6s; }
.feature-card:nth-child(4)::after { animation-delay: -9s; }
.feature-card:nth-child(5)::after { animation-delay: -12s; }
.feature-card:nth-child(6)::after { animation-delay: -14s; }
@keyframes glass-shimmer {
    0%, 48% { transform: translateX(-110%); opacity: 0; }
    53% { opacity: .5; }
    66% { transform: translateX(330%); opacity: .5; }
    70%, 100% { transform: translateX(330%); opacity: 0; }
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card > .mini-chart { position: absolute; z-index: 0; }
.feature-card::before { background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 20%), rgba(var(--accent-rgb), .10), transparent 80%); }
.feature-card:hover { border-color: rgba(var(--accent-rgb), .62); box-shadow: 0 16px 38px #0005, 0 0 28px rgba(var(--accent-rgb), .08); }
.feature-card .feature-icon { color: var(--accent); border-color: rgba(var(--accent-rgb), .5); background: linear-gradient(135deg, #e8f6ff0d, rgba(var(--accent-rgb), .055)); box-shadow: 0 0 20px rgba(var(--accent-rgb), .09), inset 0 1px 0 #eeffff29; }
.feature-card h3 { color: var(--accent); font-weight: 600; text-shadow: 0 1px 2px #000b; }
.feature-card p { color: #f6faff; font-weight: 600; text-shadow: 0 1px 2px #000b; }
.feature-card .feature-tag, .feature-card .card-bottom { color: var(--accent); }
.feature-card .card-spark { color: var(--accent); opacity: .7; }
.transparency-link { background: linear-gradient(115deg, #73dbd309, #a18ce209), #07132522; border-color: #b0e4ed35; box-shadow: inset 0 1px 0 #d5f7ff1a; }
.transparency-icon { color: #8ccfcd; }
.game-intro h2, .section-heading h2 { color: #f7fbff; text-shadow: 0 1px 2px #000b; }
.explore-section .section-heading h2 { color: #bce8ff; }
/* Keep the cover and collections comfortable on laptops and touch screens. */
#cat-adventure { scroll-margin-top: 30px; margin-top: 42px; }
@media (max-width: 1100px) {
    .page-width { width: calc(100% - 72px); }
    .cover-brand-name { font-size: 22px; }
    .brand-mark { font-size: 36px; }
    .game-feature { padding: 28px 28px 20px; }
    .game-intro h2 { font-size: 25px; }
    .game-intro p { max-width: 560px; }
    .gallery-hint { display: none; }
    .feature-grid { gap: 14px; }
    .feature-card { padding: 22px; }
    .home-footer { flex-wrap: wrap; gap: 8px 18px; padding-block: 24px; }
    .home-footer p { order: 3; width: 100%; }
}
@media (max-width: 800px) {
    .page-width { width: calc(100% - 48px); }
    .home-header { height: 90px; justify-content: flex-start; }
    .brand { gap: 9px; }
    .cover-brand-name { font-size: 18px; letter-spacing: 1.5px; }
    .brand-mark { font-size: 31px; }
    .cover-orbital { --orbit-size: clamp(225px, 37svh, 340px); }
    .cover-hero { gap: 27px; }
    .cover-copy { max-width: 620px; }
    .cover-subtitle { font-size: 18px; }
    .cover-description { font-size: 14px; }
    .game-feature-top { align-items: flex-start; gap: 20px; margin-bottom: 25px; }
    .game-intro h2 { font-size: 25px; }
    .game-intro h2 span { display: block; }
    .game-feature-top .button-game { margin-top: 38px; min-width: 125px; padding: 11px 14px; }
    .game-details { gap: 8px; font-size: 12px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading > p { display: none; }
    .explore-section { padding-top: 53px; padding-bottom: 45px; }
    .section-heading h2 { font-size: 26px; }
    .transparency-link { padding: 20px; gap: 13px; }
}
@media (max-width: 500px) {
    .page-width { width: calc(100% - 40px); }
    .home-header { height: 85px; gap: 12px; justify-content: space-between; }
    .cover-brand-name { font-size: 16px; letter-spacing: .5px; }
    .brand-mark { font-size: 28px; }
    .brand { gap: 6px; }
    .language-switch { position: static; flex: 0 0 auto; gap: 7px; padding: 3px 9px; }
    .language-switch .icon { display: none; }
    .language-switch button { font-size: 12px; }
    .cover-hero { padding: 12px 20px 25px; gap: 31px; }
    .cover-orbital { --orbit-size: min(clamp(225px, 35svh, 300px), calc(100vw - 112px)); }
    .orbital-hud { inset: -12.5%; width: 125%; height: 125%; opacity: .65; }
    .cover-orbital::after { inset: -10%; }
    .cover-coin { font-size: 10px; }
    .cover-kicker { font-size: 17px; letter-spacing: 6px; }
    h1 { font-size: 36px; letter-spacing: 3px; margin-top: 11px; }
    .cover-subtitle { margin-top: 20px; font-size: 16px; }
    .cover-description { margin-top: 10px; font-size: 14px; max-width: 325px; }
    .cover-scroll { gap: 6px; padding-top: 10px; }
    .scroll-light { width: 220px; }
    .scroll-label { font-size: 12px; }
    html[lang="en"] .cover-brand-name { font-size: 13px; letter-spacing: .6px; }
    html[lang="en"] .cover-subtitle { max-width: 325px; }
    html[lang="en"] .cover-description { max-width: 320px; }
    #cat-adventure { margin-top: 30px; }
    .game-feature { padding: 23px 20px 16px; border-radius: 12px; }
    .game-feature-top { flex-direction: column; gap: 0; margin-bottom: 23px; }
    .game-intro h2 { font-size: 24px; line-height: 1.45; }
    .game-intro p { font-size: 16px; margin-top: 12px; }
    .game-details { font-size: 12px; gap: 6px; margin-top: 14px; }
    .game-feature-top .button-game { margin-top: 21px; min-width: 129px; }
    .gallery-heading { flex-wrap: wrap; gap: 10px; padding-top: 17px; }
    .gallery-title { gap: 7px; }
    .gallery-title h3 { font-size: 14px; letter-spacing: .3px; }
    .collection-count { font-size: 12px; padding-inline: 5px; }
    .carousel-pause { font-size: 12px; margin-right: 2px; }
    .carousel-controls { gap: 8px; margin-left: auto; }
    .icon-button { width: 30px; height: 30px; }
    .cat-card { flex-basis: 128px; }
    .cat-track { gap: 10px; min-height: 170px; }
    .section-heading h2 { font-size: 24px; }
    .feature-grid { gap: 12px; }
    .feature-card { padding: 18px 16px; min-height: 260px; }
    .feature-card-top { margin-bottom: 16px; align-items: flex-start; }
    .feature-tag { display: none; }
    .feature-card h3 { font-size: 16px; }
    .feature-card p { font-size: 14px; }
    .card-bottom { font-size: 12px; padding-top: 19px; }
    .transparency-link { flex-direction: column; align-items: stretch; padding: 20px 16px; gap: 15px; }
    .transparency-copy { max-width: 100%; align-self: flex-end; }
    .transparency-icon { display: flex; }
    .transparency-icon .icon { width: 21px; height: 21px; }
    .transparency-link h3 { font-size: 17px; }
    .home-footer p { font-size: 12px; line-height: 1.9; }
    html[lang="en"] .gallery-heading { flex-wrap: wrap; gap: 10px; }
    html[lang="en"] .carousel-controls { margin-left: auto; }
}
@media (max-height: 700px) and (min-width: 650px) {
    .home-header { height: 77px; }
    .cover-orbital { --orbit-size: 230px; }
    .cover-hero { gap: 18px; padding-block: 8px 17px; }
    h1 { font-size: 38px; }
    .cover-kicker { font-size: 16px; }
    .cover-subtitle { margin-top: 13px; font-size: 16px; }
    .cover-description { margin-top: 6px; font-size: 14px; }
    .cover-scroll { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .feature-card::after, .transparency-link::after { transform: none; opacity: .15; width: 100%; }
    .cover-orbit { transform: translate(-50%, -50%) rotate(var(--start)); }
    .cover-coin { transform: rotate(calc(-1 * var(--start))); }
}
