/* EmacEArt - Levelart by EmacEArt
   Shared stylesheet for index.html, assets.html, bundles.html, about.html.
   Plain CSS, no frameworks. Built from the WWW boards (Web-Home, Web-Assets, Web-Bundles, Web-About), 2026-11-08. */

:root {
  --navy: #1F2238;
  --deep: #12142A;
  --ink: #0b0c1c;
  --cream: #FFF4E2;
  --muted: #B9B6CC;
  --yellow: #FEDF0C;
  --cyan: #7FD2E8;
  --red: #E0435F;
  --green: #7FD86D;
  --blue: #00A8FF;
  --line: #2b2f50;
  --line2: #3a3f66;
  --f-display: 'Unbounded', sans-serif;
  --f-mono: 'Space Mono', monospace;
  --f-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--navy); color: var(--cream); font-family: var(--f-body); }
img { display: block; max-width: 100%; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, label:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- section backgrounds ---------- */
.sec { position: relative; overflow: hidden; padding: 96px 0; }
.bg-navy { background-color: var(--navy); }
.bg-deep { background-color: var(--deep); }
.bg-yellow { background-color: var(--yellow); color: var(--navy); }
.bg-cyan { background-color: var(--cyan); color: var(--navy); }
.zz-navy { background: var(--navy) url(img/zigzag-navy.svg) center top repeat; }
.zz-deep { background: var(--deep) url(img/zigzag-deep.svg) center top repeat; }
.zz-cyan { background: var(--cyan) url(img/zigzag-cyan.svg) center top repeat; color: var(--navy); }
.zz-yellow { background: var(--yellow) url(img/zigzag-yellow.svg) center top repeat; color: var(--navy); }

/* ---------- type ---------- */
.kicker { display: inline-block; font: 700 12px/1 var(--f-mono); letter-spacing: 0.22em; color: var(--navy); background: var(--yellow); padding: 6px 8px 6px 10px; white-space: nowrap; }
.k-cyan { background: var(--cyan); }
.k-green { background: var(--green); }
.k-blue { background: var(--blue); }
.k-dark { color: var(--yellow); background: var(--navy); }

.h1 { margin: 0; font: 900 clamp(40px, 5.6vw, 72px)/1.02 var(--f-display); letter-spacing: -0.02em; color: var(--cream); text-shadow: -3px 0 0 var(--red), 3px 0 0 var(--cyan), 6px 6px 0 var(--deep); overflow-wrap: break-word; }
.h1-bundles { font-size: clamp(40px, 5.4vw, 70px); }
.h1-assets { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: 0; }
.h2 { margin: 0; font: 900 clamp(30px, 4vw, 46px)/1.05 var(--f-display); letter-spacing: -0.01em; color: var(--cream); overflow-wrap: break-word; }
.h2-ink { color: inherit; letter-spacing: 0; }
.lead { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.lead-hero { max-width: 560px; font-size: 19px; line-height: 1.6; }
.mono-label { font: 700 12px var(--f-mono); letter-spacing: 0.22em; color: var(--muted); }

.sec-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sec-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.stack-36 { gap: 36px; }
.gap-32 { gap: 32px; }
.self-start { align-self: flex-start; }
.sec-88 { padding: 88px 0; }
.lead-wide { max-width: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font: 900 15px/1 var(--f-display); letter-spacing: 0.04em; text-decoration: none; padding: 14px 22px; color: var(--navy); background: var(--yellow); border: 3px solid var(--navy); box-shadow: 5px 5px 0 var(--red); cursor: pointer; }
.btn:hover { color: var(--navy); }
.btn-ghost { color: var(--cream); background: transparent; border-color: var(--cream); box-shadow: 5px 5px 0 var(--deep); }
.btn-ghost:hover { color: var(--yellow); border-color: var(--yellow); }
.btn-dark { color: var(--yellow); background: var(--navy); border-color: var(--navy); box-shadow: 5px 5px 0 var(--deep); }
.btn-dark:hover { color: var(--yellow); }
.btn-13 { font-size: 13px; }
.btn-14 { font-size: 14px; }
.btn-16 { font-size: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-8 { gap: 8px; }
.chip { display: inline-block; font: 700 11px/1 var(--f-mono); letter-spacing: 0.08em; border: 1.5px solid currentColor; padding: 5px 7px; white-space: nowrap; }
.c-cyan { color: var(--cyan); }
.c-muted { color: var(--muted); }
.c-cream { color: var(--cream); }
.c-blue { color: var(--blue); }
.c-red { color: var(--red); }
.c-green { color: var(--green); }
.c-yellow { color: var(--yellow); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 24px; }
.g-28 { gap: 28px; }
.g-20 { gap: 20px; }
.g-18 { gap: 18px; }
.fill-320 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.fill-250 { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.fit-260 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.fit-250 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.fit-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.fit-220 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.fit-200 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

/* ---------- header ---------- */
.site-header { background: var(--deep); }
.stripes { height: 18px; background: linear-gradient(var(--yellow) 0 6px, transparent 6px 9px, var(--cyan) 9px 12px, transparent 12px 15px, var(--red) 15px 18px); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 45px; object-fit: contain; }
.wordmark { font: 700 16px var(--f-mono); letter-spacing: 0.18em; color: var(--cream); }
.wordmark b { font-weight: 700; color: var(--yellow); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.nav-links a { font: 700 13px var(--f-mono); letter-spacing: 0.14em; text-decoration: none; padding: 8px 2px; color: var(--cream); border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--yellow); }
.nav-links a[aria-current="page"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.nav-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-discord { font: 700 13px var(--f-mono); letter-spacing: 0.12em; color: var(--cyan); text-decoration: none; border: 2px solid var(--cyan); padding: 11px 14px; }
.btn-discord:hover { color: var(--yellow); border-color: var(--yellow); }
.menu-toggle { display: none; }
.menu-btn { display: none; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; padding: 64px 0 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.foot-brand .brand { gap: 12px; }
.foot-brand .brand img { width: 56px; height: 58px; }
.foot-brand .wordmark { font-size: 18px; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.foot-col h2 { margin: 0; font: 700 12px var(--f-mono); letter-spacing: 0.22em; color: var(--yellow); }
.foot-col a { font-size: 15px; color: var(--cream); text-decoration: none; }
.foot-col a:hover { color: var(--yellow); }
.foot-bottom { position: relative; margin-top: 48px; border-top: 2px solid var(--line); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.foot-bottom span { font: 700 12px var(--f-mono); letter-spacing: 0.12em; color: var(--muted); }
.foot-bar { position: relative; height: 10px; background: var(--yellow); }

/* ---------- hero (home, bundles) ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-home::before { background: radial-gradient(ellipse 50% 70% at 72% 50%, rgba(0,168,255,0.16), rgba(0,0,0,0) 70%); }
.hero-bundles::before { background: radial-gradient(ellipse 45% 70% at 25% 55%, rgba(254,223,12,0.14), rgba(0,0,0,0) 70%); }
.hero-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
.hero-home .hero-in { min-height: 640px; }
.hero-bundles .hero-in { min-height: 660px; flex-wrap: wrap-reverse; }
.hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 660px; }
.hero-bundles .hero-copy { gap: 22px; max-width: 640px; }
.hero-art { flex: 0 1 420px; display: flex; justify-content: center; padding: 20px 0; }
.hero-bundles .hero-art { flex-basis: 440px; }
.made-for { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.made-for .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.made-for .logo { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 12px; background: rgba(18,20,42,0.85); border: 2px solid var(--cream); box-shadow: 3px 3px 0 var(--deep); }
.made-for img { height: 20px; width: auto; }

.boxwrap { position: relative; width: 390px; max-width: 100%; }
.boxwrap-lg { width: 424px; }
.boxwrap::before { content: ""; position: absolute; left: -53%; top: -12%; width: 178%; height: 125%; pointer-events: none; background: radial-gradient(closest-side, rgba(254,223,12,0.45), rgba(254,223,12,0.12) 60%, rgba(254,223,12,0) 100%); }
.boxwrap img { position: relative; width: 100%; height: auto; }
.sticker { position: absolute; right: 10px; top: 18px; z-index: 2; font: 900 18px/1 var(--f-display); color: var(--navy); background: var(--yellow); padding: 12px 14px; border: 3px solid var(--navy); box-shadow: 5px 5px 0 var(--red); transform: rotate(6deg); }

/* ---------- home: numbers band ---------- */
.numbers .grid { padding-top: 30px; padding-bottom: 30px; }
.num { display: flex; align-items: center; gap: 14px; }
.num strong { font: 900 48px/1 var(--f-display); }
.num span { font: 700 13px/1.35 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; max-width: 160px; }

/* ---------- prices ---------- */
.price-block { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.price-was { font: 700 14px var(--f-mono); letter-spacing: 0.1em; color: var(--muted); }
.price-was-13 { font-size: 13px; }
.price { font: 900 56px/1 var(--f-display); color: var(--yellow); }
.price-54 { font-size: 54px; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 6px; }
.buy-row .price-block { gap: 6px; }

/* ---------- edition cards (home) ---------- */
.ed-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; color: var(--navy); border: 3px solid var(--navy); box-shadow: 6px 6px 0 var(--deep); }
.ed-card .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ed-card .top span { font: 700 12px var(--f-mono); letter-spacing: 0.2em; }
.ed-card .top strong { font: 900 40px/0.9 var(--f-display); }
.ed-card p { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.5; }
/* foot of an edition card: how many packs this price buys and the price itself, both large (Maciej 2026-11-13).
   The number is the total for that price (10, 20, 30, 41), not the packs of one edition. */
.ed-card .foot-line { margin-top: auto; padding-top: 12px; border-top: 3px solid var(--navy); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; font: 700 11px var(--f-mono); letter-spacing: 0.12em; }
.ed-card .foot-line span { display: flex; flex-direction: column; gap: 6px; }
.ed-card .foot-line .fl-p { align-items: flex-end; text-align: right; }
.ed-card .foot-line b { font: 900 34px/0.9 var(--f-display); letter-spacing: 0; }
.ed-card .foot-line .fl-p b { padding: 7px 10px 6px; font-size: 26px; color: var(--yellow); background: var(--navy); }
/* Bundles: the chip with the price of an edition set, filled so it stands out from the outlined ones */
.chip-price { color: var(--navy); background: var(--yellow); border-color: var(--yellow); font-size: 13px; padding: 6px 9px; }
.bgc-1 { background: var(--blue); }
.bgc-2 { background: var(--red); }
.bgc-3 { background: var(--green); }
.bgc-4 { background: var(--yellow); }

/* ---------- pack cards (home featured, assets library) ---------- */
.pack { display: flex; flex-direction: column; background: var(--deep); border-top: 6px solid var(--red); box-shadow: 6px 6px 0 var(--ink); }
.pack.ed-1 { border-top-color: var(--blue); }
.pack.ed-2 { border-top-color: var(--red); }
.pack.ed-3 { border-top-color: var(--green); }
.pack.ed-4 { border-top-color: var(--yellow); }
.pack .media { position: relative; display: block; aspect-ratio: 63 / 50; overflow: hidden; background: var(--deep); }
.pack .media img { width: 100%; height: 100%; object-fit: contain; }
.pack .body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.eyebrow { font: 700 11px var(--f-mono); letter-spacing: 0.2em; color: var(--muted); }
.card-title { margin: 0; font: 700 18px/1.25 var(--f-display); color: var(--cream); overflow-wrap: break-word; }
.card-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: auto; align-self: flex-start; font: 700 13px var(--f-mono); letter-spacing: 0.12em; color: var(--yellow); text-decoration: none; }
.more:hover { color: var(--cream); }

/* ---------- free packs ---------- */
.free { display: flex; flex-direction: column; background: var(--navy); border-top: 6px solid var(--green); box-shadow: 6px 6px 0 var(--ink); }
.free .media { position: relative; aspect-ratio: 63 / 50; overflow: hidden; background: #262a46; }
.free .media img { width: 100%; height: 100%; object-fit: cover; }
.badge-free { position: absolute; left: 12px; top: 12px; font: 900 14px var(--f-display); color: var(--navy); background: var(--green); padding: 7px 10px; border: 2px solid var(--navy); }
.free .body { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.free .card-title { font-size: 17px; }
.more-green { margin-top: 0; color: var(--green); }

/* ---------- stores ---------- */
.store { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 18px; text-decoration: none; background: var(--navy); border: 3px solid var(--cream); box-shadow: 5px 5px 0 var(--deep); }
.store strong { font: 700 18px/1.2 var(--f-display); color: var(--cream); }
.store span { font: 700 12px var(--f-mono); letter-spacing: 0.14em; color: var(--yellow); }
.store:hover { border-color: var(--yellow); }

/* ---------- call to action bands ---------- */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.band-copy { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.band-copy p { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.55; }
.community { padding: 80px 0; }
.community .h2 { font-size: clamp(30px, 4vw, 44px); }
.sale { padding: 64px 0; }
.sale .band { gap: 28px; }
.sale .band-copy { gap: 12px; max-width: none; }
.sale .band-copy p { font-size: 17px; line-height: normal; }

/* ---------- bundles: editions ---------- */
.ed-list { display: flex; flex-direction: column; gap: 22px; }
.ed-row { display: flex; flex-wrap: wrap; align-items: stretch; background: var(--deep); border: 3px solid var(--deep); box-shadow: 6px 6px 0 var(--ink); }
.ed-num { flex: 0 0 220px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 26px; color: var(--navy); }
.ed-num span { font: 700 12px var(--f-mono); letter-spacing: 0.22em; }
.ed-num strong { font: 900 72px/0.9 var(--f-display); }
.ed-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px 30px; }
.ed-body h3 { margin: 0; font: 900 26px/1.1 var(--f-display); color: var(--cream); }
.ed-body p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }
.ed-packs { margin: 4px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 6px 20px; }
.ed-packs li { font-size: 14px; line-height: 1.4; color: var(--cream); padding-left: 14px; border-left: 3px solid var(--blue); }
.ed-2 .ed-packs li { border-left-color: var(--red); }
.ed-3 .ed-packs li { border-left-color: var(--green); }
.ed-4 .ed-packs li { border-left-color: var(--yellow); }

/* ---------- bundles: godot volumes ---------- */
.godot-tag { display: flex; align-items: center; gap: 10px; }
.godot-tag img { width: 40px; height: 38px; object-fit: contain; }
.godot-tag span { font: 900 20px var(--f-display); color: var(--cream); }
.vol { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--navy); border: 3px solid currentColor; box-shadow: 6px 6px 0 var(--ink); }
.vol .top { display: flex; align-items: center; justify-content: space-between; }
.vol .top span { font: 700 12px var(--f-mono); letter-spacing: 0.2em; }
.vol .top strong { font: 900 56px/0.9 var(--f-display); }
.vol h3 { margin: 0; font: 700 20px/1.2 var(--f-display); color: var(--cream); }
.vol p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.vol a { margin-top: auto; font: 700 13px var(--f-mono); letter-spacing: 0.12em; color: inherit; text-decoration: none; }
.vol a:hover { color: var(--cream); }

/* ---------- bundles: faq ---------- */
.faq-wrap { max-width: 900px; }
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--deep); border: 3px solid var(--deep); box-shadow: 5px 5px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 20px 22px; font: 700 18px/1.3 var(--f-display); color: var(--cream); }
.faq details p { margin: 0; padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- about ---------- */
.about-hero { position: relative; overflow: hidden; background: var(--deep); }
.about-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,42,0.96) 0%, rgba(18,20,42,0.8) 45%, rgba(18,20,42,0.2) 100%); }
.about-hero .wrap { position: relative; z-index: 1; min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding-top: 72px; padding-bottom: 72px; }
.about-hero .h1 { max-width: 820px; }
.about-hero p { margin: 0; font-size: 19px; line-height: 1.65; color: var(--cream); max-width: 640px; }
.principle { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--deep); border-top: 6px solid var(--yellow); box-shadow: 6px 6px 0 var(--ink); }
.principle.t-cyan { border-top-color: var(--cyan); }
.principle.t-red { border-top-color: var(--red); }
.principle.t-green { border-top-color: var(--green); }
.principle h3, .service h3 { margin: 0; font: 700 20px/1.2 var(--f-display); color: var(--cream); }
.principle p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 3px solid var(--navy); background: var(--yellow); box-shadow: 6px 6px 0 var(--red); color: var(--navy); }
.stat strong { font: 900 52px/1 var(--f-display); }
.stat span { font: 700 13px/1.4 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.service { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--navy); border: 3px solid var(--cream); box-shadow: 5px 5px 0 var(--deep); }
.service h3 { font-size: 19px; }
.service p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 22px; }
.channels { display: flex; flex-direction: column; gap: 12px; }
.channels a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; background: var(--deep); border-left: 6px solid var(--yellow); }
.channels strong { font: 700 17px var(--f-display); color: var(--cream); }
.channels span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.channels a:hover strong { color: var(--yellow); }
.form { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--navy); border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 700 12px var(--f-mono); letter-spacing: 0.18em; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 16px var(--f-body); color: var(--cream); background: var(--deep); border: 2px solid var(--line2); border-radius: 0; }
.field input, .field select { min-height: 50px; padding: 0 14px; }
.field select { padding: 0 12px; }
.field textarea { padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.form .btn { align-self: flex-start; min-height: 50px; padding: 14px 24px; }
.form-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- assets: hero ---------- */
.lib-hero { padding: 28px 0 22px; }
.lib-hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 36px; }
.lib-intro { display: flex; align-items: center; gap: 20px; flex: 1 1 560px; }
.lib-intro > img { width: 72px; height: 74px; object-fit: contain; flex: none; }
.lib-intro .copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lib-intro p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 620px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); gap: 10px; flex: 0 1 460px; }
.facts div { padding: 8px 12px; background: var(--navy); border-left: 5px solid var(--yellow); }
.facts div:nth-child(2) { border-left-color: var(--cyan); }
.facts div:nth-child(3) { border-left-color: var(--red); }
.facts div:nth-child(4) { border-left-color: var(--green); }
.facts dt { font: 700 11px var(--f-mono); letter-spacing: 0.2em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font: 900 22px var(--f-display); color: var(--cream); }

/* ---------- assets: filters (pure CSS, radio buttons) ---------- */
.browse { background: var(--navy); border-bottom: 2px solid var(--line); }
.browse .wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; cursor: pointer; font: 900 14px var(--f-display); letter-spacing: 0.04em; color: var(--cream); background: transparent; border: 3px solid var(--line2); user-select: none; }
.tab span { font: 700 12px var(--f-mono); padding: 3px 6px; background: rgba(0,0,0,0.25); }
.engines { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.engines .mono-label { letter-spacing: 0.2em; margin-right: 6px; }
.eng { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; cursor: pointer; font: 700 12px var(--f-mono); letter-spacing: 0.14em; color: var(--cream); background: transparent; border: 2px solid var(--line2); user-select: none; }
.showing { font: 700 13px var(--f-mono); letter-spacing: 0.12em; color: var(--cream); }
.showing b { color: var(--yellow); }
.count-n::before { content: "10"; }
.count-l::before { content: "PACKS"; }
.empty { display: none; margin: 0; text-align: center; font: 900 22px var(--f-display); color: var(--muted); }

/* ---------- assets: details (opened with #pack-...) ---------- */
.detail { display: none; background: var(--deep); border-bottom: 6px solid var(--yellow); }
.detail:target { display: block; }
.detail > .wrap { display: flex; flex-wrap: wrap; gap: 28px 36px; padding-top: 32px; padding-bottom: 36px; }
.detail-media { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.detail-media img { width: 100%; aspect-ratio: 63 / 50; object-fit: contain; background: var(--deep); border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); }
.tag { font: 700 11px var(--f-mono); letter-spacing: 0.08em; color: var(--muted); border: 1.5px solid var(--muted); padding: 5px 7px; }
.detail-info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.detail-top > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ed-chip { align-self: flex-start; font: 700 12px var(--f-mono); letter-spacing: 0.2em; color: var(--navy); padding: 6px 8px; }
.detail h2 { margin: 0; font: 900 32px/1.1 var(--f-display); color: var(--cream); overflow-wrap: break-word; }
.close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; font: 900 18px var(--f-display); color: var(--cream); text-decoration: none; border: 3px solid var(--cream); }
.close:hover { color: var(--yellow); border-color: var(--yellow); }
.detail-info > p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.eng-chip { font: 700 12px var(--f-mono); letter-spacing: 0.1em; color: var(--navy); background: var(--cyan); padding: 6px 8px; }
.meta { font: 700 12px var(--f-mono); letter-spacing: 0.12em; color: var(--muted); }
.files { display: flex; flex-direction: column; border-top: 2px solid var(--line); }
.files h3 { margin: 0; font: 700 12px var(--f-mono); letter-spacing: 0.2em; color: var(--yellow); padding: 12px 0 6px; }
.files div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.files div span:first-child { color: var(--cream); overflow-wrap: anywhere; }
.files div span:last-child { font: 700 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.detail .btns { gap: 14px; margin-top: 6px; }
.detail .btn { padding: 0 22px; }
.detail .btn-ghost { box-shadow: 5px 5px 0 var(--ink); }

/* ---------- assets: library ---------- */
.library { padding: 24px 0 96px; }
.library .pack .media img { aspect-ratio: 63 / 50; }
.pack-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.pack-foot .meta { letter-spacing: 0; }
.details-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font: 700 12px var(--f-mono); letter-spacing: 0.12em; color: var(--yellow); text-decoration: none; border: 2px solid var(--yellow); }
.details-btn:hover { color: var(--navy); background: var(--yellow); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .nav { position: relative; }
  .menu-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font: 700 13px var(--f-mono); letter-spacing: 0.14em; color: var(--cream); border: 2px solid var(--cream); cursor: pointer; user-select: none; }
  .menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--cyan); outline-offset: 3px; }
  .menu-toggle:checked + .menu-btn { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
  .nav-links, .nav-cta { display: none; width: 100%; }
  .menu-toggle:checked ~ .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
  .menu-toggle:checked ~ .nav-cta { display: flex; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .sec { padding: 64px 0; }
  .kicker { white-space: normal; line-height: 1.4; }
  .h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero-in { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-home .hero-in, .hero-bundles .hero-in { min-height: 0; }
  .hero-copy { flex-basis: 100%; }
  .hero-art { flex-basis: 100%; }
  .boxwrap, .boxwrap-lg { width: 280px; }
  .sticker { font-size: 14px; padding: 9px 11px; }
  .num strong { font-size: 40px; }
  .price, .price-54 { font-size: 46px; }
  .ed-num { flex-basis: 100%; flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 20px; }
  .ed-num strong { font-size: 56px; }
  .ed-body { padding: 22px 20px; }
  .ed-body h3 { font-size: 22px; }
  .community, .sale { padding: 56px 0; }
  .about-hero .wrap { min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .about-hero::after { background: linear-gradient(180deg, rgba(18,20,42,0.92) 0%, rgba(18,20,42,0.85) 100%); }
  .form { padding: 20px; }
  .lib-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
  .lib-intro > img { width: 80px; height: 83px; }
  .facts { flex-basis: 100%; }
  .facts dd { font-size: 24px; }
  .detail h2 { font-size: 26px; }
  .stat strong { font-size: 44px; }
  .site-footer { padding-top: 48px; }
}

/* assets.html filters: generated from the pack list */
#vol-1:checked ~ .library .pack:not(.v1) { display: none; }
#vol-2:checked ~ .library .pack:not(.v2) { display: none; }
#vol-3:checked ~ .library .pack:not(.v3) { display: none; }
#vol-4:checked ~ .library .pack:not(.v4) { display: none; }
#eng-godot:checked ~ .library .pack:not(.e-godot) { display: none; }
#eng-unity:checked ~ .library .pack:not(.e-unity) { display: none; }
#eng-blender:checked ~ .library .pack:not(.e-blender) { display: none; }
#eng-fbx:checked ~ .library .pack:not(.e-fbx) { display: none; }
#eng-gltf:checked ~ .library .pack:not(.e-gltf) { display: none; }
#vol-0:checked ~ .browse label[for="vol-0"] { color: #1F2238; background: #FFF4E2; border-color: #FFF4E2; }
#vol-0:focus-visible ~ .browse label[for="vol-0"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#vol-1:checked ~ .browse label[for="vol-1"] { color: #1F2238; background: #00A8FF; border-color: #00A8FF; }
#vol-1:focus-visible ~ .browse label[for="vol-1"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#vol-2:checked ~ .browse label[for="vol-2"] { color: #1F2238; background: #E0435F; border-color: #E0435F; }
#vol-2:focus-visible ~ .browse label[for="vol-2"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#vol-3:checked ~ .browse label[for="vol-3"] { color: #1F2238; background: #7FD86D; border-color: #7FD86D; }
#vol-3:focus-visible ~ .browse label[for="vol-3"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#vol-4:checked ~ .browse label[for="vol-4"] { color: #1F2238; background: #FEDF0C; border-color: #FEDF0C; }
#vol-4:focus-visible ~ .browse label[for="vol-4"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#eng-all:checked ~ .browse label[for="eng-all"] { color: #1F2238; background: #7FD2E8; border-color: #7FD2E8; }
#eng-all:focus-visible ~ .browse label[for="eng-all"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#eng-godot:checked ~ .browse label[for="eng-godot"] { color: #1F2238; background: #7FD2E8; border-color: #7FD2E8; }
#eng-godot:focus-visible ~ .browse label[for="eng-godot"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#eng-unity:checked ~ .browse label[for="eng-unity"] { color: #1F2238; background: #7FD2E8; border-color: #7FD2E8; }
#eng-unity:focus-visible ~ .browse label[for="eng-unity"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#eng-blender:checked ~ .browse label[for="eng-blender"] { color: #1F2238; background: #7FD2E8; border-color: #7FD2E8; }
#eng-blender:focus-visible ~ .browse label[for="eng-blender"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#eng-fbx:checked ~ .browse label[for="eng-fbx"] { color: #1F2238; background: #7FD2E8; border-color: #7FD2E8; }
#eng-fbx:focus-visible ~ .browse label[for="eng-fbx"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#eng-gltf:checked ~ .browse label[for="eng-gltf"] { color: #1F2238; background: #7FD2E8; border-color: #7FD2E8; }
#eng-gltf:focus-visible ~ .browse label[for="eng-gltf"] { outline: 3px solid #7FD2E8; outline-offset: 3px; }
#vol-0:checked ~ #eng-all:checked ~ .browse .count-n::before { content: "41"; }
#vol-0:checked ~ #eng-godot:checked ~ .browse .count-n::before { content: "31"; }
#vol-0:checked ~ #eng-unity:checked ~ .browse .count-n::before { content: "39"; }
#vol-0:checked ~ #eng-blender:checked ~ .browse .count-n::before { content: "31"; }
#vol-0:checked ~ #eng-fbx:checked ~ .browse .count-n::before { content: "33"; }
#vol-0:checked ~ #eng-gltf:checked ~ .browse .count-n::before { content: "27"; }
#vol-1:checked ~ #eng-all:checked ~ .browse .count-n::before { content: "10"; }
#vol-1:checked ~ #eng-godot:checked ~ .browse .count-n::before { content: "10"; }
#vol-1:checked ~ #eng-unity:checked ~ .browse .count-n::before { content: "9"; }
#vol-1:checked ~ #eng-blender:checked ~ .browse .count-n::before { content: "7"; }
#vol-1:checked ~ #eng-fbx:checked ~ .browse .count-n::before { content: "7"; }
#vol-1:checked ~ #eng-gltf:checked ~ .browse .count-n::before { content: "7"; }
#vol-2:checked ~ #eng-all:checked ~ .browse .count-n::before { content: "10"; }
#vol-2:checked ~ #eng-godot:checked ~ .browse .count-n::before { content: "9"; }
#vol-2:checked ~ #eng-unity:checked ~ .browse .count-n::before { content: "9"; }
#vol-2:checked ~ #eng-blender:checked ~ .browse .count-n::before { content: "10"; }
#vol-2:checked ~ #eng-fbx:checked ~ .browse .count-n::before { content: "9"; }
#vol-2:checked ~ #eng-gltf:checked ~ .browse .count-n::before { content: "6"; }
#vol-3:checked ~ #eng-all:checked ~ .browse .count-n::before { content: "10"; }
#vol-3:checked ~ #eng-godot:checked ~ .browse .count-n::before { content: "10"; }
#vol-3:checked ~ #eng-unity:checked ~ .browse .count-n::before { content: "10"; }
#vol-3:checked ~ #eng-blender:checked ~ .browse .count-n::before { content: "7"; }
#vol-3:checked ~ #eng-fbx:checked ~ .browse .count-n::before { content: "9"; }
#vol-3:checked ~ #eng-gltf:checked ~ .browse .count-n::before { content: "9"; }
#vol-4:checked ~ #eng-all:checked ~ .browse .count-n::before { content: "11"; }
#vol-4:checked ~ #eng-godot:checked ~ .browse .count-n::before { content: "2"; }
#vol-4:checked ~ #eng-unity:checked ~ .browse .count-n::before { content: "11"; }
#vol-4:checked ~ #eng-blender:checked ~ .browse .count-n::before { content: "7"; }
#vol-4:checked ~ #eng-fbx:checked ~ .browse .count-n::before { content: "8"; }
#vol-4:checked ~ #eng-gltf:checked ~ .browse .count-n::before { content: "5"; }

/* ---------- legal text (privacy policy) ---------- */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { margin: 28px 0 0; font: 700 22px/1.25 var(--f-display); color: var(--cream); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
/* ---------- assets page: filters stay in view, files under the pack ---------- */
.detail .files { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); column-gap: 32px; }
.detail .files h3 { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .browse { position: sticky; top: 0; z-index: 5; box-shadow: 0 6px 14px rgba(0,0,0,0.35); }
  .detail { scroll-margin-top: 150px; }
  .library { scroll-margin-top: 150px; }
}
/* ---------- privacy notice bar ---------- */
.privacy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 24px; background: var(--deep); border-top: 4px solid var(--yellow); box-shadow: 0 -8px 20px rgba(0,0,0,0.4); }
.privacy-bar[hidden] { display: none; }
.privacy-bar p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cream); }
.privacy-bar a { color: var(--cyan); margin-left: 8px; }
.privacy-bar .btn { flex: none; }
/* ---------- back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 24px; z-index: 40; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font: 900 30px/1 var(--f-display); color: var(--navy); background: var(--yellow); border: 3px solid var(--navy); box-shadow: 5px 5px 0 var(--red); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--cyan); }
.privacy-bar:not([hidden]) ~ .to-top { bottom: 110px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
/* ---------- Ultimate Godot Bundle feature ---------- */
.ugb-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.ugb-art { display: block; border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); background: var(--deep); }
.ugb-art img { width: 100%; height: auto; aspect-ratio: 63 / 50; }
.ugb-vols { grid-template-columns: 1fr; gap: 16px; }
@media (max-width: 900px) { .ugb-feature { grid-template-columns: 1fr; } }
/* ---------- featured kits on home: full scene shot, no cover text ---------- */
.featured .pack .media { aspect-ratio: 16 / 9; }
.featured .pack .media img { object-fit: cover; }
/* ---------- small edition boxes in the coloured cards ---------- */
.ed-card .ed-box { height: 150px; display: flex; align-items: center; justify-content: center; background: #181b35; border: 3px solid var(--navy); }
.ed-card .ed-box img { width: 100%; height: 100%; object-fit: contain; }
/* ---------- bundle banners: never wider than the source, so no upscaling ---------- */
.ugb-banner { display: block; max-width: 1000px; width: 100%; margin: 0 auto; border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); }
.ugb-banner img, .aio-banner img { display: block; width: 100%; height: auto; }
.sec-band { padding: 56px 0; }
.aio-banner { display: block; max-width: 1440px; margin: 0 auto; }
/* ---------- All in One box: gentle float and sway, sticker on its own rhythm (parallax) ---------- */
.boxwrap { perspective: 900px; }
.boxwrap img { transform-origin: 50% 60%; animation: box-float 6.5s ease-in-out infinite; will-change: transform; }
.boxwrap .sticker { animation: sticker-float 5.5s ease-in-out infinite; will-change: transform; }
@keyframes box-float {
  0%, 100% { transform: translateY(0) rotateY(-6deg) rotateZ(-0.6deg); }
  50%      { transform: translateY(-14px) rotateY(6deg) rotateZ(0.6deg); }
}
@keyframes sticker-float {
  0%, 100% { transform: translate(0, 0) rotate(6.5deg); }
  50%      { transform: translate(1px, -5px) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .boxwrap img, .boxwrap .sticker, .boxwrap::before { animation: none; }
}
/* ---------- bundles: All in One banner on top, only the button is a link ---------- */
.aio-top { padding: 40px 0 48px; }

.aio-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 28px; }
.aio-cta-note { font: 700 13px var(--f-mono); letter-spacing: 0.14em; color: var(--muted); }
.btn-pulse { animation: btn-pulse 2.4s ease-in-out infinite; }
.btn-pulse:hover { animation-play-state: paused; }
@keyframes btn-pulse {
  0%, 100% { transform: translate(0, 0); box-shadow: 5px 5px 0 var(--red); }
  50%      { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--red), 0 0 0 6px rgba(254, 223, 12, 0.18); }
}
@media (prefers-reduced-motion: reduce) { .btn-pulse { animation: none; } }
/* ---------- home hero fits one screen: box level with the kicker, logos under the box ---------- */
@media (min-width: 761px) {
  .hero-home .hero-in { min-height: 0; align-items: flex-start; padding-top: 36px; padding-bottom: 44px; gap: 40px; }
  .hero-home .hero-copy { gap: 18px; }
  .hero-home .h1 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.04; }
  .hero-home .lead-hero { font-size: 17px; line-height: 1.55; }
  .hero-home .hero-art { flex-direction: column; align-items: center; gap: 22px; padding: 0; }
  .hero-home .boxwrap { width: 300px; }
}
.hero-home .hero-art .made-for { align-items: center; margin-top: 0; }
/* yellow glow behind the box drifts slowly, same calm rhythm */
.boxwrap::before { animation: glow-drift 9s ease-in-out infinite; }
@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50%      { transform: translate(6px, -8px) scale(1.04); opacity: 0.85; }
}
/* ---------- rotating home banner: All in One / Ultimate Godot Bundle ---------- */
.hero-slides { display: grid; }
.hero-slides .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slides .slide.is-active { opacity: 1; visibility: visible; }
.boxwrap-wide { width: 440px; }
.boxwrap-wide .sticker { top: 0; right: 0; }
.made-for .logo-text { font: 700 12px var(--f-mono); letter-spacing: 0.14em; color: var(--cream); }
.slide-dots { position: relative; display: flex; justify-content: center; gap: 12px; padding-bottom: 22px; margin-top: -18px; }
.slide-dots .dot { width: 34px; height: 8px; padding: 0; border: 2px solid var(--cream); background: transparent; cursor: pointer; }
.slide-dots .dot.is-active { background: var(--yellow); border-color: var(--yellow); }
@media (min-width: 761px) { .hero-home .boxwrap-wide { width: 420px; } }
@media (max-width: 760px) { .boxwrap-wide { width: 300px; } }
@media (prefers-reduced-motion: reduce) { .hero-slides .slide { transition: none; } }
/* bundles top: full-width yellow band, banner + button fit one screen */
.aio-top { padding: 12px 0 22px; }
.aio-top .aio-banner { box-shadow: none; max-width: none; text-align: center; }
.aio-top .aio-banner img { width: auto; max-width: 100%; max-height: calc(100vh - 190px); min-height: 260px; margin: 0 auto; object-fit: contain; }
.aio-top .aio-cta { margin-top: 10px; }
.aio-top .aio-cta-note { color: var(--navy); }
.aio-top .btn-pulse { animation-name: btn-pulse-dark; }
@keyframes btn-pulse-dark {
  0%, 100% { transform: translate(0, 0); box-shadow: 5px 5px 0 var(--red); }
  50%      { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--red), 0 0 0 6px rgba(31, 34, 56, 0.15); }
}
/* slide 2 placeholder until transparent UGB boxes arrive from the designer */
.boxwrap-cover::before { display: none; }
.boxwrap-cover img { animation: none; box-shadow: 8px 8px 0 var(--ink); }

/* ---------- designer assets: banner B with real button, transparent boxes, pricing cards ---------- */
.aio-top .aio-banner.aio-banner-slot { position: relative; width: 100%; max-width: min(1440px, calc((100vh - 120px) * 2.318)); margin: 0 auto; }
.aio-top .aio-banner.aio-banner-slot img { width: 100%; height: auto; max-height: none; min-height: 0; }
.banner-btn { position: absolute; left: 9.43%; top: 64.01%; width: 28.13%; height: 10.39%; min-height: 0; padding: 0; justify-content: center; font-size: clamp(11px, 1.25vw, 21px); }
.banner-btn.banner-btn-right { left: 62.448%; } /* UGB banner with boxes on the left (designer order no. 7, 2026-11-10): empty slot 1199,530 540x86 of 1920x828 */
.ed-card .ed-box { background: transparent; border: 0; height: 170px; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; align-items: stretch; background: var(--deep); border: 3px solid var(--navy); box-shadow: 6px 6px 0 var(--ink); }
.pcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 16px; color: var(--navy); }
.pcard-head span { font: 700 11px var(--f-mono); letter-spacing: 0.18em; }
.pcard-head strong { font: 900 26px/1 var(--f-display); }
.pcard.c-blue .pcard-head { background: #00A8FF; } .pcard.c-red .pcard-head { background: #E0435F; } .pcard.c-green .pcard-head { background: #7FD86D; }
.pcard > img { width: 100%; height: 210px; object-fit: contain; padding: 18px 14px 6px; }
.pcard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 10px 16px; border-top: 2px solid var(--line); }
.pcard-stats dt { font: 700 9px var(--f-mono); letter-spacing: 0.14em; color: var(--muted); order: 2; }
.pcard-stats div { display: flex; flex-direction: column; gap: 4px; }
.pcard-stats dd { margin: 0; font: 900 20px/1 var(--f-display); color: var(--cream); }
.pcard-price { padding: 6px 16px 0; font: 900 40px/1 var(--f-display); color: var(--cream); }
.pcard-price s { font-size: 20px; color: var(--muted); margin-right: 6px; }
.pcard-btn { margin: 14px 16px 16px; justify-content: center; }
.pcard-aio { background: var(--yellow); border-color: var(--navy); box-shadow: 8px 8px 0 var(--red); }
.pcard-aio .pcard-head { background: var(--navy); color: var(--yellow); }
.pcard-aio .pcard-stats { border-top-color: rgba(31,34,56,0.25); }
.pcard-aio .pcard-stats dt { color: var(--navy); opacity: 0.75; } .pcard-aio .pcard-stats dd, .pcard-aio .pcard-price { color: var(--navy); }
.pcard-aio .pcard-price s { color: var(--navy); opacity: 0.6; }
.pcard-flag { position: absolute; top: -16px; right: 12px; z-index: 2; font: 900 13px/1 var(--f-display); padding: 8px 10px; background: #7FD2E8; color: var(--navy); border: 3px solid var(--navy); transform: rotate(4deg); }
/* home banner: content centred vertically, equal space above and below */
@media (min-width: 761px) {
  .hero-home .hero-in { align-items: center; padding-top: 44px; padding-bottom: 44px; }
  .hero-slides .slide { align-self: center; }
  .slide-dots { margin-top: -26px; padding-bottom: 18px; }
}

/* ---------- UGB banner as a full-width band at the bottom of Bundles ---------- */
.ugb-band { background: #4E27F0; border-top: 6px solid var(--yellow); border-bottom: 6px solid var(--yellow); }
.ugb-band-link { display: block; max-width: 1000px; margin: 0 auto; }
.ugb-band-link img { display: block; width: 100%; height: auto; }

/* ---------- every button: colour change, slight grow and tilt on hover ---------- */
.btn, .btn-discord, .details-btn, .to-top, .store, .close, .dot { transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.store:hover, .store:focus-visible { border-color: var(--yellow); transform: scale(1.05) rotate(-1.5deg); }
.close:hover, .close:focus-visible { background: var(--yellow); color: var(--navy); border-color: var(--yellow); transform: scale(1.05) rotate(-1.5deg); }
.slide-dots .dot:hover, .slide-dots .dot:focus-visible { background: var(--cyan); border-color: var(--cyan); }
.bn-dots .dot:hover, .bn-dots .dot:focus-visible { background: var(--cyan); }

/* ---------- small card button (SEE ON ITCH.IO, DOWNLOAD FREE, VISIT STORE): lower and narrower than the banner buttons, same hover ---------- */
.pack .body, .free .body { padding-bottom: 20px; }
.free .body { flex: 1; }
.pack .body .chips, .free .body .chips { margin-bottom: 12px; }
.more, .store span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 8px 14px; font: 700 13px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--navy); background: var(--yellow); border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--red); text-decoration: none; transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.more { margin-top: auto; align-self: flex-start; }
.more.more-green { margin-top: auto; background: var(--green); box-shadow: 3px 3px 0 var(--ink); }
.store span { align-self: flex-start; }
.more:hover, .more:focus-visible, .store:hover span, .store:focus-visible span { color: var(--navy); background: var(--cyan); border-color: var(--navy); transform: scale(1.05) rotate(-1.5deg); }
@media (prefers-reduced-motion: reduce) { .more:hover, .store:hover span { transform: none; } }

/* ---------- trailers: play badge, pop-up (Assets), big player (home) ---------- */
.media.has-film { position: relative; display: block; cursor: pointer; }
.play-badge { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font: 700 13px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--navy); background: var(--yellow); border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--red); transform: translate(-50%, -50%); transition: transform .18s ease, background-color .18s ease; pointer-events: none; }
.play-badge.big { padding: 14px 24px; font-size: 18px; border-width: 3px; box-shadow: 5px 5px 0 var(--red); }
.media.has-film:hover .play-badge, .media.has-film:focus-visible .play-badge, .film-stage:hover .play-badge, .film-stage:focus-visible .play-badge { background: var(--cyan); transform: translate(-50%, -50%) scale(1.05) rotate(-1.5deg); }
.film-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 12, 32, .88); }
.film-modal[hidden] { display: none; }
.film-box { position: relative; width: min(1200px, 100%, (100vh - 140px) * 16 / 9); }
.film-frame { aspect-ratio: 16 / 9; background: #000; border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); }
.film-frame iframe, .film-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.film-x { position: absolute; right: 0; top: -58px; width: 48px; height: 48px; font: 900 18px var(--f-display); color: var(--navy); background: var(--yellow); border: 3px solid var(--navy); cursor: pointer; transition: transform .18s ease, background-color .18s ease; }
.film-x:hover, .film-x:focus-visible { background: var(--cyan); transform: scale(1.05) rotate(-1.5deg); }
.film-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
html.film-open { overflow: hidden; }
.film-hero { margin-bottom: 8px; }
.film-stage { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; background: #000; border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--ink); cursor: pointer; }
.film-stage img { width: 100%; height: 100%; object-fit: cover; }
.film-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.film-tab { margin-top: 0; border: 2px solid var(--navy); cursor: pointer; }
.film-tab.is-active { background: var(--cream); }
@media (prefers-reduced-motion: reduce) { .media.has-film:hover .play-badge, .film-stage:hover .play-badge, .film-x:hover { transform: translate(-50%, -50%); } .film-x:hover { transform: none; } }
.btn:hover, .btn:focus-visible { background: var(--cyan); color: var(--navy); transform: scale(1.05) rotate(-1.5deg); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--yellow); color: var(--navy); border-color: var(--navy); }
.btn-discord:hover, .btn-discord:focus-visible { background: var(--cyan); color: var(--navy); transform: scale(1.05) rotate(-1.5deg); }
.details-btn:hover, .details-btn:focus-visible { transform: scale(1.05) rotate(-1.5deg); }
.to-top.show:hover { transform: scale(1.08) rotate(-3deg); }
.btn-pulse:hover, .btn-pulse:focus-visible { animation: none; }
.banner-btn:hover, .banner-btn:focus-visible { transform: scale(1.05) rotate(-1.5deg); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn-discord:hover, .details-btn:hover, .to-top.show:hover, .banner-btn:hover, .store:hover, .close:hover { transform: none; } }

/* ---------- pricing: All in One card text fits ---------- */
.pcard-aio .pcard-head strong { font-size: 20px; white-space: nowrap; }
.pcard-stats dd { font-size: 18px; white-space: nowrap; }
.pcard-price { white-space: nowrap; }
.pcard-aio .pcard-price { font-size: 36px; }
/* banner button: yellow on the dark card, cyan on hover */
.aio-top .banner-btn { background: var(--yellow); color: var(--navy); border-color: var(--navy); }
.aio-top .banner-btn:hover, .aio-top .banner-btn:focus-visible { background: var(--cyan); color: var(--navy); }
.aio-top .btn-pulse { animation-name: btn-pulse; }

/* ---------- bundles top: AIO / UGB banner rotation (alpha PNG 1920x828 on the yellow zigzag) ---------- */
.aio-top.bn-top { padding: 0 0 6px; }
.bn-rot { position: relative; display: grid; width: 100%; max-width: min(1920px, calc((100vh - 104px) * 2.3188)); margin: 0 auto; }
.bn-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.bn-slide.is-active { opacity: 1; visibility: visible; }
.bn-slide img { width: 100%; height: auto; }
.bn-dots { position: absolute; left: 50%; top: 86.4%; transform: translate(-50%, -50%); display: flex; gap: 10px; z-index: 3; }
.bn-dots .dot { width: 34px; height: 8px; padding: 0; border: 2px solid var(--navy); background: transparent; cursor: pointer; }
.bn-dots .dot.is-active { background: var(--navy); }
@media (prefers-reduced-motion: reduce) { .bn-slide { transition: none; } }
/* bundles bottom: kinetic UGB banners 1920x280 (edges #4E27F0 = band colour, no seam on wide screens) */
.ugb-band .bn-rot-kinetic { max-width: 1920px; }
.bn-rot-kinetic .bn-slide { display: block; }

/* ---------- home hero: faint town screenshots ON the zigzag (navy + zigzag -> town blended -> content) ---------- */
/* the town layer is blended (soft-light .35) with the navy AND the zigzag below it - variant B, chosen 2026-11-09:
   the town stays visible, the zigzag shows through it, the text keeps its contrast */
.hero-home.zz-navy { isolation: isolate; }
.hero-bgs { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .35; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s ease; }
.hero-bg.is-active { opacity: 1; }
.hero-home::before { z-index: 1; }
.hero-home .hero-slides { position: relative; z-index: 2; }
.hero-home .slide-dots { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-bg { transition: none; } }
/* fading-out slide must not swallow clicks during the 0.7 s cross-fade */
.hero-slides .slide:not(.is-active), .bn-slide:not(.is-active) { pointer-events: none; }
