/* The home page (public/index.html). Hand-written from the owner's Claude Design export
   "Cartridge Landing Web" (8 Oct 2026). The floating cartridges live in cartridges.css. */
@font-face { font-family: Urbanist; src: url('./assets/Urbanist.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0E0F12;
  --text: #F2F3F5;
  --muted: #8A8F99;
  --soft: #B4B9C2;
  --accent: #5FD9F2;
  --accent-hover: #86E4F6;
  --surface: #16181D;
  --raised: #1E2127;
  --line: #1E2127;
  --line-2: #262A31;
  --ring: #3A3F48;
  --gutter: 32px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Urbanist, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section[id], #main { scroll-margin-top: 80px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--bg); font-weight: 800; }
.skip-link:focus { top: 10px; color: var(--bg); }
.page { min-height: 100vh; background: var(--bg); overflow-x: clip; position: relative; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 800; white-space: nowrap; transition: background-color .15s ease; }
.lp-btn-primary { background: var(--accent); color: var(--bg); }
.lp-btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.lp-btn-dark { padding: 16px 26px; background: var(--bg); color: var(--text); font-size: 16px; min-height: 48px; }
.lp-btn-dark:hover { background: #23262D; color: var(--text); }
.lp-btn-lg { padding: 18px 30px; font-size: 18px; min-height: 56px; }
.lp-btn-header { height: 40px; padding: 0 clamp(14px, 1.4vw, 20px); font-size: 15px; }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 18, .96); box-shadow: inset 0 -1px 0 var(--line); }
.lp-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 2.6vw, 32px); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.lp-wordmark { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }

/* Hero */
.lp-hero-wrap { position: relative; }
.lp-hero { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(80px, 10.4vw, 150px) clamp(20px, 3vw, 32px) 116px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-hero h1 { max-width: 8.2em; font-weight: 800; font-size: clamp(54px, 8.4vw, 124px); line-height: .94; letter-spacing: -.04em; }
.lp-hero-lede { margin-top: clamp(22px, 2.2vw, 32px); max-width: 720px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--muted); font-weight: 600; text-wrap: pretty; }
.lp-hero-actions { margin-top: clamp(28px, 2.6vw, 38px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-hero-check { margin-top: 28px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
.lp-hero-check span { color: var(--accent); font-weight: 800; }

/* Sections */
.lp-section { box-sizing: content-box; max-width: 1200px; margin: 0 auto; padding: 80px var(--gutter) 20px; }
.lp-how { position: relative; z-index: 1; }
.lp-h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.025em; text-wrap: pretty; }
.lp-copy { margin-top: 18px; font-size: 17px; line-height: 1.5; color: var(--muted); font-weight: 600; text-wrap: pretty; }
.lp-copy-narrow { max-width: 480px; }
.lp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.lp-split-420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.lp-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--ring); font-size: 13px; font-weight: 800; color: var(--soft); }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; }
.lp-chips-dark { margin-top: 22px; }
.lp-chips-dark li { padding: 8px 14px; background: var(--bg); font-size: 13px; }

/* How it works */
.lp-steps { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px 40px; }
.lp-step { display: flex; flex-direction: column; gap: 20px; }
.lp-step-title { font-weight: 800; font-size: 22px; letter-spacing: -.015em; }
.lp-step-copy { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); font-weight: 600; text-wrap: pretty; }
.lp-illo { position: relative; height: 170px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.lp-cover { position: absolute; display: block; border-radius: 12px; overflow: hidden; }
.lp-cover img { width: 100%; height: 100%; object-fit: cover; }
/* The art's own colours, shown until (or instead of) the cover. */
.cover-hades { background: radial-gradient(120% 80% at 28% 18%, #FF6A3D 0%, rgba(255,106,61,0) 55%), radial-gradient(90% 70% at 85% 95%, #8A1E36 0%, rgba(138,30,54,0) 60%), linear-gradient(160deg, #3F0D16, #120507); }
.cover-outer { background: radial-gradient(circle at 68% 30%, #FFB347 0%, #FFB347 10%, #E8702A 11%, #E8702A 14%, rgba(232,112,42,0) 15%), radial-gradient(100% 80% at 20% 90%, #145C63, rgba(20,92,99,0) 60%), linear-gradient(180deg, #0E1B2B, #05080E); }
.cover-celeste { background: radial-gradient(80% 50% at 50% 100%, #2FD3C6 0%, rgba(47,211,198,0) 55%), linear-gradient(200deg, #FF8FB1 0%, #7B4BC7 48%, #1E1240 100%); }
.lp-illo-chip { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; }
.lp-illo-chip span { padding: 4px 10px; border-radius: 999px; font-size: 11px; }
@keyframes breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes scanLine { 0% { top: 22px; } 100% { top: 132px; } }
@keyframes resolve { 0%, 20% { filter: blur(12px); transform: rotate(-4deg) scale(1.1); opacity: .6; } 45%, 100% { filter: blur(0); transform: rotate(-4deg) scale(1); opacity: 1; } }
@keyframes foundChip { 0%, 40% { opacity: 0; transform: translateY(8px); } 55%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes scanLineOp { 0%, 40% { opacity: 1; } 50%, 100% { opacity: 0; } }
.scan-corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--accent); animation: breathe 1.4s ease-in-out infinite; }
.scan-tl { left: 16px; top: 16px; border-left-width: 3px; border-top-width: 3px; border-radius: 5px 0 0 0; }
.scan-tr { right: 16px; top: 16px; border-right-width: 3px; border-top-width: 3px; border-radius: 0 5px 0 0; }
.scan-bl { left: 16px; bottom: 16px; border-left-width: 3px; border-bottom-width: 3px; border-radius: 0 0 0 5px; }
.scan-br { right: 16px; bottom: 16px; border-right-width: 3px; border-bottom-width: 3px; border-radius: 0 0 5px 0; }
.scan-line { position: absolute; left: 28px; right: 28px; top: 22px; height: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); z-index: 2; animation: scanLine 1.6s ease-in-out infinite alternate, scanLineOp 6s ease-in-out infinite; }
.scan-cover { left: 50%; top: 24px; width: 78px; height: 104px; margin-left: -39px; transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(0,0,0,.6); animation: resolve 6s ease-in-out infinite; }
.scan-chip { animation: foundChip 6s ease-in-out infinite; }
.scan-chip span { background: var(--accent); color: var(--bg); font-weight: 800; }
.lp-illo-rate { padding: 18px; }
.rate-tabs { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.rate-tabs span { flex: 1; padding: 7px 0; text-align: center; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.rate-tabs .is-on { background: var(--accent); color: var(--bg); }
.rate-stars { margin-top: 14px; display: flex; gap: 5px; font-size: 22px; line-height: 1; color: var(--accent); }
.rate-stars span { color: var(--line-2); }
.rate-review { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.rate-review span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rate-count { color: var(--muted); font-weight: 600; font-size: 12px; flex: none; }
.fan { left: 50%; top: 30px; width: 74px; height: 100px; margin-left: -37px; box-shadow: 0 10px 24px rgba(0,0,0,.55); }
.fan-left { transform: translateX(-60px) rotate(-10deg); }
.fan-mid { top: 24px; z-index: 2; }
.fan-right { transform: translateX(60px) rotate(10deg); z-index: 3; }
.share-chip span { background: var(--raised); color: var(--text); font-weight: 700; }

/* From your feed to your Library */
.lp-feed { margin-top: clamp(48px, 7vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: center; }
.lp-feed-title { font-weight: 800; font-size: clamp(40px, 5.4vw, 78px); line-height: .98; letter-spacing: -.04em; text-wrap: pretty; }
.lp-feed-copy { margin-top: 24px; max-width: 480px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--muted); font-weight: 600; text-wrap: pretty; }
.lp-feed-chips { margin-top: 30px; }
.shelf-stage { min-width: 0; display: flex; justify-content: flex-end; perspective: 1800px; }
.shelf-phone { width: 402px; height: 874px; flex: none; position: relative; margin-right: clamp(-80px, -4vw, 0px); border-radius: 54px; background: var(--bg); padding: 64px 24px 0; transform: rotateY(-24deg) rotateX(5deg) rotateZ(3deg); transform-style: preserve-3d; box-shadow: 0 0 0 1px var(--line-2), 0 0 0 13px var(--surface), 0 70px 140px rgba(0,0,0,.8); }
.shelf-head { display: flex; align-items: center; justify-content: space-between; }
.shelf-title { font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.shelf-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.shelf-sort { width: 34px; height: 34px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.shelf-label { margin-top: 22px; font-weight: 700; font-size: 17px; }
.shelf-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 20px; }
.shelf-row, .shelf-names { display: flex; justify-content: space-between; gap: 21px; }
.shelf-row { align-items: flex-end; }
.shelf-slot { position: relative; width: 104px; height: 135px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.04); }
.shelf-slot > [data-shelf-slot] { position: absolute; inset: 0; }
.shelf-plank { margin-top: 1px; height: 10px; border-radius: 3px; background: linear-gradient(180deg, #2C323C 0%, #1A1E25 100%); box-shadow: 0 9px 20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.10); }
.shelf-names { margin-top: 9px; }
.shelf-names > div { width: 104px; text-align: center; }
.shelf-names b { display: block; font-weight: 700; font-size: 12px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf-names span { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; color: var(--muted); }
.shelf-tabs { position: absolute; left: 24px; right: 24px; bottom: 34px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.shelf-tabs > div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; }
.shelf-tabs .is-on { color: var(--accent); }
.shelf-tabs .shelf-add { width: 46px; height: 46px; margin-top: -10px; border-radius: 16px; background: var(--accent); color: var(--bg); justify-content: center; font-size: 28px; line-height: 1; }

/* Verdicts */
.verdicts { display: flex; flex-wrap: wrap; gap: 32px 28px; }
.verdict { flex: 1 1 220px; border-top: 1px solid var(--line-2); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.verdict-game { display: flex; align-items: center; gap: 12px; }
.verdict-cover { position: relative; flex: none; width: 40px; height: 54px; border-radius: 9px; overflow: hidden; }
.verdict-cover img { width: 100%; height: 100%; object-fit: cover; }
.verdict-status { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ring); color: var(--text); display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 800; }
.verdict-status.is-done { background: var(--accent); color: var(--bg); }
.verdict-name { font-weight: 700; font-size: 14px; }
.verdict-meta { font-size: 12px; font-weight: 600; color: var(--muted); }
.stars { color: var(--accent); }
.verdict-line { font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; text-wrap: pretty; }

/* Stacks */
.stack-stage { display: flex; justify-content: center; }
.stack-card { width: 270px; height: 480px; flex: none; border-radius: 24px; position: relative; overflow: hidden; background: var(--bg); box-shadow: 0 30px 70px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-3deg); }
.stack-card > * { position: absolute; }
.stack-tag { left: 24px; top: 26px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 10px; font-weight: 800; }
.stack-fan { left: 50%; top: 100px; width: 84px; height: 112px; margin-left: -42px; box-shadow: 0 12px 26px rgba(0,0,0,.6); }
.stack-left { transform: translateX(-62px) rotate(-10deg); }
.stack-mid { top: 94px; z-index: 2; }
.stack-right { transform: translateX(62px) rotate(10deg); z-index: 3; }
.stack-name { left: 24px; right: 24px; top: 250px; font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -.02em; text-wrap: pretty; }
.stack-note { left: 24px; right: 24px; top: 352px; font-size: 12px; font-weight: 600; color: var(--muted); }
.stack-pills { left: 24px; top: 384px; display: flex; gap: 6px; }
.stack-pills span { padding: 3px 8px; border-radius: 999px; background: var(--raised); font-size: 9px; font-weight: 700; white-space: nowrap; }
.stack-url { left: 24px; bottom: 22px; font-size: 9px; font-weight: 600; color: var(--muted); }
.stack-brand { right: 24px; bottom: 18px; display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; letter-spacing: -.02em; }

/* Bring your games */
.platforms { border-top: 1px solid var(--line); }
.platform { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.platform-icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--raised); color: var(--text); display: flex; align-items: center; justify-content: center; }
.platform-text { flex: 1; min-width: 0; }
.platform-name { font-weight: 800; font-size: 16px; }
.platform-sub { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.platform-on { flex: none; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--accent); }
.platform-on span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.platform-pill { flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--ring); display: flex; align-items: center; font-size: 14px; font-weight: 800; }

/* Playtime */
.playtime-intro { max-width: 640px; }
.playtime { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.pt-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.pt-tabs button { padding: 9px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background-color .2s, color .2s; }
.pt-tabs button:hover { color: var(--text); }
.pt-tabs button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.pt-total { margin-top: 28px; font-weight: 800; font-size: clamp(88px, 11vw, 160px); line-height: .86; letter-spacing: -.05em; }
.pt-sub { margin-top: 16px; font-size: 17px; font-weight: 600; color: var(--muted); }
.pt-rows { border-top: 1px solid var(--line); }
.pt-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pt-row img { flex: none; width: 44px; height: 57px; object-fit: contain; }
.pt-body { flex: 1; min-width: 0; }
.pt-line { display: flex; align-items: baseline; gap: 12px; font-weight: 800; font-size: 16px; }
.pt-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-hours { flex: none; }
.pt-bar { margin-top: 8px; height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.pt-bar span { display: block; height: 100%; border-radius: 3px; background: var(--accent); transition: width .4s ease; }
.pt-src { margin-top: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(16px, 5vw, 64px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 20px 0; font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary svg { flex: none; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin-top: -10px; padding-bottom: 20px; font-size: 15px; line-height: 1.5; color: var(--muted); font-weight: 600; }

/* Download */
.lp-download-section { padding-bottom: 40px; }
.lp-download { position: relative; border-radius: 32px; background: var(--accent); color: var(--bg); padding: clamp(32px, 5vw, 64px); overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.lp-download-copy { max-width: 560px; }
.lp-download h2 { font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.03em; text-wrap: pretty; }
.lp-download-copy p { margin-top: 14px; font-size: 17px; line-height: 1.5; font-weight: 700; color: rgba(14, 15, 18, .78); text-wrap: pretty; }
.lp-download-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lp-download-note { font-size: 13px; font-weight: 700; color: rgba(14, 15, 18, .78); }
.lp-download :focus-visible { outline-color: var(--bg); }

/* Footer */
.lp-footer { box-sizing: content-box; max-width: 1200px; margin: 0 auto; padding: 24px var(--gutter) 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.lp-footer-brand { display: flex; align-items: center; gap: 10px; }
.lp-footer-brand .lp-wordmark { font-size: 16px; }
.lp-copyright { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 13px; font-weight: 600; }
.lp-footer-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.lp-footer-links a:hover { color: var(--accent); }
.lp-footer-note { font-size: 12px; font-weight: 600; color: var(--muted); }

/* The Library phone, centred once its section is a single column. */
@media (max-width: 909px) {
  .shelf-stage { justify-content: center; }
  .shelf-phone { margin-right: 0; }
}

/* One column, 20px margins, full-width buttons. */
@media (max-width: 833px) {
  :root { --gutter: 20px; }
  .lp-hero { padding: 80px 20px 240px; }
  .lp-hero-actions { width: 100%; }
  .lp-hero-actions .lp-btn { width: 100%; }
  .lp-btn-header { height: 48px; padding: 0 20px; }
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-split, .lp-split-420, .lp-feed, .playtime, .faq { grid-template-columns: minmax(0, 1fr); }
  .lp-feed { gap: 48px; }
  .lp-download-actions { width: 100%; align-items: stretch; }
  .lp-download-actions .lp-btn { width: 100%; }
  .pt-tabs { display: flex; width: 100%; }
  .pt-tabs button { flex: 1; min-height: 44px; padding: 9px 4px; }
  .lp-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .shelf-phone { zoom: .78; }
  .lp-download { border-radius: 24px; }
}
@media (max-width: 374px) {
  .shelf-phone { zoom: .7; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scan-line { display: none; }
}
