/* Station Colony: the game's own look (deep space navy, steel panels, orange and yellow highlights,
   cyan for the HUD) from tools/gen_art.gd, on the Arcade Night kit's Rubik font. */

@font-face { font-family: "Rubik"; src: url(kit/fonts/Rubik.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root { --void: #05060d; --ink: #0d1019; --wall-dk: #161b28; --wall: #222a3b; --wall-lt: #323c52; --rim: #4a5670; --steel-hi: #a5afc0; --white: #eef2f7; --cyan: #4fd6ea; --orange: #e3893a; --orange-dk: #a5531f; --yellow: #f2cf4a; --r: 6px; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); scroll-padding-top: 72px; }
body { margin: 0; color: var(--white); background: var(--void); font: 400 18px/1.6 "Rubik", system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3 { font-family: "Rubik", system-ui, sans-serif; font-weight: 800; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 60; background: var(--yellow); color: var(--ink); font-weight: 600; padding: 12px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Nav: the mark and name, links, and the play button. */
nav { position: sticky; top: 0; z-index: 20; background: rgba(13,16,25,.96); border-bottom: 3px solid var(--orange); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; color: var(--yellow); }
.brand img { width: 36px; height: 36px; image-rendering: pixelated; }
.menu { display: flex; gap: 6px; align-items: center; }
.menu a:not(.btn) { text-decoration: none; white-space: nowrap; padding: 12px 10px; font-size: 15px; font-weight: 500; color: var(--steel-hi); }
.menu a:not(.btn):hover { color: var(--white); }
.menu .btn { padding: 10px 18px; min-height: 44px; font-size: 15px; white-space: nowrap; }
@media (max-width: 900px) { .menu a:not(.btn) { display: none; } }

/* Buttons: orange like the game's highlight, ink text, a hard edge underneath. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--orange); color: var(--ink); text-decoration: none; padding: 14px 26px; border: 0; border-radius: var(--r); font: 800 17px/1.2 "Rubik", sans-serif; cursor: pointer; box-shadow: 0 4px 0 var(--orange-dk); position: relative; top: 0; transition: top .08s, box-shadow .08s; }
.btn:hover { top: -2px; box-shadow: 0 6px 0 var(--orange-dk); }
.btn:active { top: 3px; box-shadow: 0 1px 0 var(--orange-dk); }

.tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); border: 2px solid var(--cyan); padding: 3px 10px; border-radius: var(--r); }
.title { font-size: clamp(26px, 3.2vw, 40px); color: var(--white); }
.title em { font-style: normal; color: var(--yellow); }
.lede { font-size: 20px; max-width: 58ch; margin: 14px 0 0; color: var(--steel-hi); }

/* Pictures: a real capture in a steel frame, pixels left sharp. */
.pic { margin: 0; border: 4px solid var(--wall-lt); border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: 0 10px 0 rgba(0,0,0,.45); }
.pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

section { padding: 64px 0; }
.alt { background: var(--ink); }

/* Hero: the line, what it is, the play button; the cover beside it. */
.hero { padding: 56px 0 64px; background: radial-gradient(120% 90% at 85% 10%, #1b2440 0, var(--void) 60%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 58px); margin: 18px 0 20px; }
.hero h1 em { display: block; font-style: normal; color: var(--yellow); font-size: .6em; margin-top: 10px; line-height: 1.2; }
.hero p { font-size: 20px; margin: 0 0 28px; max-width: 46ch; color: var(--steel-hi); }
.hero p b { color: var(--white); }
.hero .small { font-size: 16px; margin: 20px 0 0; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 36px 0 48px; } }

/* Split sections: a picture and the words beside it. */
.split .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.split.flip .wrap { grid-template-columns: 1fr 1.15fr; }
.split.flip .pic { order: 2; }
.split p { margin: 18px 0 0; max-width: 52ch; color: var(--steel-hi); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; max-width: 52ch; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; background: var(--orange); box-shadow: 4px 4px 0 var(--orange-dk); }
@media (max-width: 900px) { .split .wrap, .split.flip .wrap { grid-template-columns: 1fr; gap: 28px; } .split.flip .pic { order: 0; } }

/* Parts: real 16 px sprites from the game, scaled with nearest neighbour. */
.parts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; }
.parts li { display: grid; justify-items: center; gap: 6px; font-size: 14px; color: var(--steel-hi); width: 76px; text-align: center; line-height: 1.2; }
.parts img { height: 56px; width: auto; image-rendering: pixelated; }

/* Cards: steel panels, a picture over each one's words. */
.head { max-width: 62ch; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.card { background: var(--wall); border: 3px solid var(--wall-lt); border-radius: var(--r); overflow: hidden; box-shadow: 0 8px 0 rgba(0,0,0,.45); }
.card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 30%; image-rendering: pixelated; }
.card .body { padding: 18px 26px 24px; }
.card h3 { font-size: 22px; margin: 0 0 8px; }
.card p { margin: 0; font-size: 17px; color: var(--steel-hi); }
.duo .card img { aspect-ratio: 16 / 6; object-position: center top; }
.card a { font-weight: 600; color: var(--white); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .card img, .duo .card img { aspect-ratio: 16 / 9; } }

/* FAQ: answers on steel cards, two across. */
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 26px; }
.answers .card { padding: 20px 26px; box-shadow: 0 6px 0 rgba(0,0,0,.45); }
.answers .card h3 { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
@media (max-width: 900px) { .answers { grid-template-columns: 1fr; } }

/* The close: one more play button on an orange band. */
.play { background: var(--orange); color: var(--ink); }
.board { background: var(--ink); color: var(--white); border-radius: var(--r); padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; box-shadow: 0 10px 0 rgba(0,0,0,.35); }
.board p { margin: 14px 0 0; color: var(--steel-hi); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--wall-lt); padding-bottom: 8px; font-size: 17px; }
.facts b { color: var(--yellow); font-weight: 700; text-align: right; }
.board .btn { margin-top: 24px; }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; gap: 28px; } }

/* Footer. */
footer { background: var(--void); color: var(--steel-hi); padding: 28px 0 48px; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: center; }
footer span:first-child { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
footer img { image-rendering: pixelated; }
footer .credits { flex-basis: 100%; }
footer a { color: var(--white); }

/* The privacy page, and the not-found page Laravel renders in this stylesheet. */
.prose { padding: 56px 0 72px; }
.prose > * { max-width: 70ch; }
.prose h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; color: var(--yellow); }
.prose h2 { font-size: 18px; margin: 30px 0 8px; }
.prose p { color: var(--steel-hi); }
.prose a { font-weight: 600; }
