@font-face { font-family: "Lilita One"; src: url(fonts/LilitaOne-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(fonts/NunitoSans-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url(fonts/NunitoSans-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

/* Game UI kit colours (docs/ui/ui-kit.md) */
:root {
  --ink: #02080B; --deep: #071820; --panel: #0E2A33; --panel2: #123844;
  --cream: #F6EBD3; --gold: #F6D88A; --brass: #C9A045; --muted: #9FC4C0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--deep); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--cream); font: 600 17px/1.5 "Nunito Sans", system-ui, sans-serif; background: var(--deep); }
h1, h2, h3 { font-family: "Lilita One", system-ui, sans-serif; font-weight: 400; letter-spacing: .01em; margin: 0; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img, video { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Hero: the key art sits right, the text on a dark fade at the left */
.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; display: block; }
.hero-art img { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; }
.hero-art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--deep) 0%, var(--deep) calc(100% - 1050px), rgba(7,24,32,.55) calc(100% - 860px), rgba(7,24,32,0) calc(100% - 700px)),
              linear-gradient(0deg, var(--deep) 0%, rgba(7,24,32,0) 20%); }
.hero > .wrap { position: relative; max-width: none; width: 100%; padding-left: max(24px, 5vw); }
.hero-text { max-width: 540px; padding: 64px 0; }
.logo { width: 100%; max-width: 540px; height: auto; display: block; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.sub { font-family: "Lilita One", system-ui, sans-serif; font-size: 34px; color: var(--gold); margin: 18px 0 8px;
  text-shadow: 0 2px 0 var(--ink), 0 0 12px rgba(0,0,0,.6); }
.lead { font-size: 18px; margin: 0 0 26px; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
/* Apple badge: official artwork, unchanged; clear space >= 1/4 badge height */
.badge { display: inline-block; padding: 0; }
.badge img { height: 56px; width: auto; display: block; }
/* Plain text, not a button: nothing to tap before release */
.soon { margin: 0; font: 400 24px "Lilita One", system-ui, sans-serif; color: var(--cream); text-shadow: 0 2px 0 var(--ink); }
.free { color: var(--muted); font-size: 14px; margin: 18px 0 0; }

/* Sections */
section { padding: 56px 0; }
.title { font-size: 34px; color: var(--gold); text-align: center; margin-bottom: 24px; text-shadow: 0 2px 0 var(--ink); }

.clip { position: relative; border-radius: 18px; overflow: hidden; border: 3px solid var(--brass);
  box-shadow: 0 12px 40px rgba(0,0,0,.5); background: #000; cursor: pointer; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 590; object-fit: cover; }
.sound { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: rgba(2,8,11,.75); color: var(--cream);
  font: 800 15px "Nunito Sans", system-ui, sans-serif; border: 1px solid rgba(246,235,211,.35); cursor: pointer; }
.sound svg { width: 20px; height: 20px; }
/* Round play / pause (bottom left) and full screen (top right) buttons, 44 px touch targets (Apple HIG) */
.ctl { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0;
  background: none; color: var(--cream); cursor: pointer; }
.ctl::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(2,8,11,.75);
  border: 1px solid rgba(246,235,211,.35); }
.ctl svg { position: relative; width: 22px; height: 22px; }
.play { left: 14px; bottom: 14px; }
.full { right: 14px; top: 14px; }
.play .play-icon, .play.paused .pause-icon { display: none; }
.play.paused .play-icon { display: block; }
.sound .on, .sound[aria-pressed="true"] .off { display: none; }
.sound[aria-pressed="true"] .on { display: block; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shots img { width: 100%; height: auto; display: block; border-radius: 12px; border: 2px solid rgba(201,160,69,.6); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid rgba(201,160,69,.55);
  border-radius: 14px; padding: 18px; }
.card h3 { font-size: 22px; color: var(--gold); margin-bottom: 6px; }
.card ul { margin: 0; padding-left: 18px; font-size: 15px; }
.card li { margin: 4px 0; }

.band { background: var(--panel); border-top: 2px solid rgba(201,160,69,.4); border-bottom: 2px solid rgba(201,160,69,.4); text-align: center; }
.band h2 { font-size: 26px; color: var(--gold); margin-bottom: 8px; }
.band p { margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px;
  font: 400 19px "Lilita One", system-ui, sans-serif; text-decoration: none; }
.btn-gold { background: linear-gradient(180deg, #FBE08A, #EDB840 55%, #C98A1E); color: #3A2008;
  border: 2px solid #4A2C0C; box-shadow: 0 3px 0 #4A2C0C; }
.btn svg { width: 20px; height: 20px; }

footer { padding: 32px 0 44px; font-size: 14px; color: var(--muted); text-align: center; }
footer nav { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 12px; font: 800 16px "Nunito Sans", system-ui, sans-serif; }
footer nav a { color: var(--cream); text-decoration: none; padding: 6px 2px; }
.legal { font-size: 12px; opacity: .8; max-width: 640px; margin: 10px auto 0; }

/* Narrower than the side-by-side hero fits (text would cover the parrot): art on top, text below */
@media (max-width: 1279px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-art { position: relative; height: min(52vw, 560px); }
  .hero-art img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
  .hero-art::after { background: linear-gradient(0deg, var(--deep) 0%, rgba(7,24,32,0) 45%); }
  .hero > .wrap { padding: 0 20px; }
  .hero-text { max-width: 640px; margin: -90px auto 0; padding: 0 0 44px; text-align: center; }
  .logo { max-width: 460px; margin: 0 auto; }
  .features { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  .hero-art { height: 300px; }
  .hero-text { margin-top: -70px; padding-bottom: 36px; }
  .logo { max-width: 340px; }
  .sub { font-size: 24px; }
  .lead { font-size: 16px; }
  .badge img { height: 50px; }
  section { padding: 40px 0; }
  .title { font-size: 28px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 6px; }
  .shots img { flex: 0 0 86%; width: 86%; scroll-snap-align: center; }
  .features { gap: 12px; }
  .card { padding: 14px; }
  .card h3 { font-size: 19px; }
  .card ul { font-size: 14px; padding-left: 16px; }
  /* Small clip on a phone: smaller drawn circles / chip, the touch area stays 44 px */
  .sound { font-size: 12px; padding: 4px 9px; gap: 5px; right: 8px; bottom: 8px; }
  .sound svg { width: 16px; height: 16px; }
  .ctl::before { inset: 8px; }
  .ctl svg { width: 15px; height: 15px; }
  .play { left: 0; bottom: 0; }
  .full { right: 0; top: 0; }
}
