:root {
  --bg: #080b11;
  --text: #f2f3ed;
  --muted: #909ba8;
  --line: #ffffff14;
  --cyan: #7ee9de;
  --purple: #af7aee;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Arial', 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--font); }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--cyan); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--cyan); color: var(--bg); z-index: 20; }
.skip-link:focus { top: 1rem; }
.page-shell { width: min(100% - 7rem, 1280px); margin: auto; }
.site-header { display: flex; align-items: center; gap: 2.5rem; min-height: 96px; }
.brand { font: 900 1.125rem/1 'Arial Black', 'Arial', sans-serif; letter-spacing: -.035em; white-space: nowrap; }
.brand-dot { color: var(--cyan); }
.site-header nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; font-size: .875rem; color: #b3bdc8; }
.site-header nav a { padding: .6rem 0; transition: color .2s; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--cyan); }
.site-header nav a span { margin-left: .4rem; color: var(--cyan); }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 540px; padding: 3rem 0 4rem; }
.hero::before { content: ''; position: absolute; z-index: -1; pointer-events: none; inset: -4rem -2rem -2rem; background: radial-gradient(ellipse at 87% 40%, #6633881c, transparent 55%), radial-gradient(ellipse at 40% 75%, #23636313, transparent 50%); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { font-size: .8125rem; color: var(--muted); letter-spacing: .15em; margin: 0 0 1.25rem; }
.hero h1 { font-family: 'Arial Black', 'Arial', sans-serif; font-size: clamp(4rem, 8.8vw, 8.1rem); font-weight: 900; line-height: .89; letter-spacing: -.045em; margin: 0; }
.hero-word { display: block; width: fit-content; }
.word-little { font-size: .78em; padding-bottom: .16em; }
.word-recoil { text-shadow: 0 5px 0 #324956; }
.hero-dot { color: var(--cyan); text-shadow: 0 5px 0 #20574f; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; }
.primary-link { display: inline-flex; gap: 2.25rem; align-items: center; padding: .95rem 1.25rem; border-radius: 6px; background: var(--cyan); color: #0b2426; font-size: .9375rem; font-weight: 700; box-shadow: 0 4px 0 #3b817d; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.primary-link span { font-size: 1.4rem; line-height: 1; }
.primary-link:hover { transform: translateY(-2px); background: #a5f6ed; box-shadow: 0 6px 0 #3b817d; }
.primary-link:active { transform: translateY(3px); box-shadow: 0 1px 0 #3b817d; }
.demo-status { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .75rem; }
.demo-status > span { width: 5px; height: 5px; border-radius: 50%; background: #747f8d; }
.hero-art { position: relative; min-width: 0; aspect-ratio: 1.4; }
.art-orbit { position: absolute; inset: 9% 1% 3%; border: 1px solid #8f91b51a; border-radius: 50%; transform: rotate(-23deg); background: radial-gradient(ellipse, #6679a017, transparent 68%); }
.art-orbit::after { content: ''; position: absolute; inset: 12%; border: 1px dashed #8f91b519; border-radius: 50%; }
.hero-gun { position: absolute; }
.hero-gun-player { width: 84%; left: -4%; top: 27%; rotate: -17deg; filter: drop-shadow(0 15px 28px #7fd3e622); }
/* Follow the original pixel silhouette; the source screenshot stays unchanged. */
.hero-gun-player img { width: 100%; clip-path: polygon(7.495% 9.434%, 14.991% 9.434%, 14.991% 11.321%, 15.905% 11.321%, 15.905% 12.893%, 16.819% 12.893%, 16.819% 14.465%, 90.676% 14.465%, 90.676% 19.182%, 94.516% 19.182%, 94.516% 30.503%, 90.676% 30.503%, 90.676% 37.107%, 39.488% 37.107%, 39.488% 43.711%, 38.574% 43.711%, 38.574% 83.962%, 37.660% 83.962%, 37.660% 90.566%, 20.658% 90.566%, 20.658% 83.962%, 19.744% 83.962%, 19.744% 43.711%, 18.830% 43.711%, 18.830% 37.107%, 5.484% 37.107%, 5.484% 14.465%, 7.495% 14.465%); }
.hero-gun-purple { width: 41%; right: -2%; top: -8%; rotate: 159deg; filter: drop-shadow(0 8px 25px #9a42fa29); }
.hero-gun-yellow { width: 29%; right: 3%; bottom: -1%; rotate: -24deg; filter: drop-shadow(0 8px 24px #dcbc241b); }
.hero-gun-purple img, .hero-gun-yellow img { width: 100%; image-rendering: pixelated; }
.art-trail { position: absolute; width: 15%; height: 2px; border-radius: 50%; background: linear-gradient(90deg, transparent, var(--purple)); rotate: -17deg; opacity: .65; }
.trail-one { top: 22%; right: 30%; }
.trail-two { top: 26%; right: 17%; width: 9%; }
.trail-three { bottom: 12%; right: 32%; width: 14%; background: linear-gradient(90deg, var(--cyan), transparent); rotate: -28deg; }
.art-cross { position: absolute; width: 12px; height: 12px; opacity: .45; }
.art-cross::before, .art-cross::after { content: ''; position: absolute; background: var(--cyan); }
.art-cross::before { width: 12px; height: 1px; top: 5px; }
.art-cross::after { width: 1px; height: 12px; left: 5px; }
.cross-one { top: 6%; left: 24%; }
.cross-two { bottom: 0; left: 30%; rotate: 45deg; }
.art-dot { position: absolute; width: 3px; height: 3px; background: var(--purple); border-radius: 50%; }
.dot-one { top: 17%; left: 2%; }.dot-two { bottom: 17%; left: 6%; background: var(--cyan); }.dot-three { top: 48%; right: 1%; }
.overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.overview > div { display: flex; align-items: center; gap: .75rem; }
.feature-index { color: #566273; font: .625rem/1.5 'Courier New', monospace; }
.overview h2 { margin: 0; font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.overview small { display: inline-block; margin-left: .5rem; color: var(--muted); font-size: .6875rem; }
.screens-section { padding: 3.5rem 0; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.section-header h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.04em; font-weight: 600; }
.section-header h2 > span { color: var(--cyan); }
.section-header p { margin: 0; color: #667282; font-size: .6875rem; letter-spacing: .08em; }
.screenshot-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 1rem; }
.screenshot-card { position: relative; min-width: 0; background: #060912; color: var(--text); border: 1px solid #1c2533; padding: 0; border-radius: 8px; overflow: hidden; text-align: left; transition: border-color .3s, transform .4s var(--ease); }
.screenshot-featured { grid-column: span 2; grid-row: span 2; }
.screenshot-media { display: block; height: 100%; }
.screenshot-card img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s var(--ease); }
.screenshot-featured img { aspect-ratio: auto; object-fit: contain; }
.screenshot-card:last-child img { object-fit: contain; }
.screenshot-label { position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; padding: 2rem 1rem .75rem; background: linear-gradient(transparent, #03070ef0); color: #d2dbe5; font-size: .75rem; }
.screenshot-featured .screenshot-label { padding: 3rem 1.25rem 1rem; font-size: .875rem; }
.image-open { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #ffffff28; border-radius: 50%; color: var(--cyan); transition: transform .3s, background .3s; }
.screenshot-card:focus-visible { border-color: var(--cyan); }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem; color: #778391; font-size: .75rem; }
.site-footer > a:first-child { font-weight: 900; letter-spacing: -.04em; color: #aab4bf; }
.site-footer > a:first-child span { color: var(--cyan); }
.site-footer > a:last-child span { display: inline-block; margin-left: .5rem; color: var(--cyan); transition: transform .3s; }
.site-footer > a:last-child:hover span { transform: translateY(-3px); }
.gallery-dialog { width: min(1160px, calc(100% - 3rem)); max-height: calc(100svh - 3rem); margin: auto; padding: 1.25rem; border: 1px solid #35414f; border-radius: 12px; background: #0a0f19; color: var(--text); overflow: auto; box-shadow: 0 30px 100px #0009; }
.gallery-dialog::backdrop { background: #03060dee; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.gallery-toolbar p { margin: 0; font-size: .875rem; }
.gallery-toolbar button, .gallery-controls button { border: 1px solid #34424f; border-radius: 6px; color: var(--text); background: #121c29; min-height: 44px; padding: .4rem .85rem; transition: background .2s, transform .2s; }
.gallery-toolbar button:hover, .gallery-controls button:hover { background: #25374a; }
.gallery-toolbar button:active, .gallery-controls button:active { transform: scale(.97); }
.gallery-dialog > img { width: 100%; height: min(65svh, 650px); max-height: calc(100svh - 12rem); object-fit: contain; border-radius: 5px; }
.gallery-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1rem; }
.gallery-controls > span { color: var(--muted); font-size: .875rem; min-width: 2.8rem; text-align: center; }
.is-pending { opacity: 0; }
.is-revealed { animation: section-in .7s var(--ease) var(--reveal-delay, 0ms) both; }
.hero-word { animation: title-in .85s var(--ease) both; }
.word-recoil { animation-delay: .09s; }
.hero-gun-player { animation: gun-float 6s ease-in-out infinite alternate; }
.hero-gun-purple { animation: gun-float 7s ease-in-out -2s infinite alternate-reverse; }
.hero-gun-yellow { animation: gun-float 5s ease-in-out -3s infinite alternate; }
.art-trail { animation: trail-drift 5s ease-in-out infinite; }
.trail-two { animation-delay: -2.5s; }
.trail-three { animation-delay: -1.5s; }
.gallery-dialog[open] { animation: modal-in .25s var(--ease) both; }
.gallery-dialog[open]::backdrop { animation: backdrop-in .25s ease both; }
html.hero-away .hero-gun, html.hero-away .art-trail, html.page-hidden .hero-gun, html.page-hidden .art-trail { animation-play-state: paused; }
@keyframes title-in { from { opacity: 0; transform: translateY(24px) rotate(-2deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes section-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes gun-float { from { transform: translateY(-6px) rotate(-1deg); } to { transform: translateY(6px) rotate(1deg); } }
@keyframes trail-drift { 0%, 100% { transform: translateX(0); opacity: .2; } 50% { transform: translateX(-15px); opacity: .8; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .screenshot-card:hover { border-color: #7ee9de66; transform: translateY(-3px); }
  .screenshot-card:hover img { transform: scale(1.035); }
  .screenshot-card:hover .image-open { background: #7ee9de15; transform: rotate(5deg); }
}
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 4rem); }
  .hero { min-height: 460px; padding: 2rem 0 3rem; }
  .hero h1 { font-size: 9vw; }
  .hero-actions { gap: 1rem; margin-top: 2rem; }
  .demo-status { width: 100%; }
  .overview { gap: 1rem; }
  .overview small { display: block; margin: 0; }
  .screenshot-grid { gap: .75rem; }
}
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 80px; gap: 1rem; }
  .site-header nav { gap: 1.25rem; font-size: .8125rem; }
  .brand { font-size: 1rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 2.5rem 0 2rem; }
  .hero::before { inset: 0; }
  .eyebrow { font-size: .75rem; margin-bottom: 1rem; }
  .hero h1 { font-size: 19vw; }
  .hero-copy { padding: 0; }
  .hero-actions { margin-top: 1.75rem; gap: 1.25rem; }
  .demo-status { width: auto; font-size: .6875rem; }
  .primary-link { padding: .8rem 1rem; font-size: .8125rem; gap: 1.5rem; }
  .hero-art { width: 100%; max-width: 420px; margin: 1.5rem auto 1rem; aspect-ratio: 1.55; }
  .hero-gun-player { top: 22%; width: 74%; left: 0; }
  .hero-gun-purple { top: -2%; right: 0; width: 35%; }
  .hero-gun-yellow { bottom: -3%; right: 5%; width: 23%; }
  .art-orbit { inset: 0 5%; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.25rem 0; gap: 1.25rem .75rem; }
  .overview h2 { font-size: .8125rem; }
  .overview small { display: inline-block; margin-left: .3rem; font-size: .5625rem; }
  .feature-index { font-size: .5625rem; }
  .overview > div { gap: .5rem; }
  .screens-section { padding: 2rem 0; }
  .section-header { margin-bottom: 1rem; }
  .section-header h2 { font-size: 1.375rem; }
  .section-header p { font-size: .5625rem; letter-spacing: 0; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .screenshot-featured { grid-column: span 2; grid-row: auto; }
  .screenshot-card.screenshot-featured img { aspect-ratio: 16/9; }
  .screenshot-card img { aspect-ratio: 16/11; }
  .screenshot-label { padding: 2rem .65rem .5rem; font-size: .6875rem; }
  .screenshot-featured .screenshot-label { padding: 2rem .8rem .65rem; font-size: .75rem; }
  .image-open { width: 20px; height: 20px; }
  .site-footer { padding: 1.5rem 0 2rem; font-size: .6875rem; }
  .gallery-dialog { width: calc(100% - 1.25rem); max-height: calc(100svh - 1.25rem); padding: .8rem; }
  .gallery-toolbar p { font-size: .8rem; }
  .gallery-controls { gap: 1rem; }
}
@media (max-width: 370px) {
  .site-header { gap: .6rem; }
  .site-header nav { gap: .75rem; font-size: .75rem; }
  .hero-actions { gap: .9rem; }
  .demo-status { font-size: .625rem; }
  .overview small { display: block; margin: 0; }
}
