/* ParkNudge landing page. Brand colours from the game (Scripts/Core/GameInfo.cs Palette). */
:root {
  --orange: #FF7A1A;
  --orange-dark: #E0560B;
  --teal: #1EC8C8;
  --teal-dark: #119C9F;
  --yellow: #FFD23F;
  --navy: #1B2A4A;
  --navy-soft: #2E4170;
  --cream: #FFF6E5;
  --sky: #BFEFF2;
  --green: #3CCB6B;
  --red: #FF4D5E;
  --text: #1B2A4A;
  --text-dim: #5C6B8A;
  --card: #FFFFFF;
  --radius: 22px;
  --shadow: 0 10px 0 rgba(27, 42, 74, .12), 0 18px 40px rgba(27, 42, 74, .12);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 500 17px/1.55 var(--body);
  color: var(--text);
  background: #FFFBF3;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .3px; }
h1 { font-size: clamp(2.2rem, 6.4vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); text-align: center; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

/* Bilingual: show only the current language. */
html[data-lang="es"] [lang="en"], html[data-lang="en"] [lang="es"] { display: none !important; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--yellow); padding: 8px 14px; border-radius: 10px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 251, 243, .9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(27, 42, 74, .06);
}
.top__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 10px; }
.brand__name { font-family: var(--display); font-size: 1.5rem; }
.brand__name b { color: var(--orange); font-weight: 400; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 800; }
.nav a:hover { color: var(--orange); }
.top__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang {
  font: 800 .9rem var(--body); color: var(--navy);
  background: #fff; border: 2px solid rgba(27, 42, 74, .15); border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-size: 1.15rem; color: #fff; text-decoration: none;
  background: var(--green); border-radius: 999px; padding: 12px 24px;
  box-shadow: 0 5px 0 #2a9e52; transition: transform .1s, box-shadow .1s;
}
.btn--small { font-size: 1rem; padding: 8px 16px; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #2a9e52; }

.play {
  display: inline-flex; align-items: center; gap: 12px;
  background: #111; color: #fff; text-decoration: none;
  border-radius: 14px; padding: 10px 20px 10px 14px;
  box-shadow: 0 6px 0 #000, 0 14px 30px rgba(0, 0, 0, .2);
  transition: transform .1s, box-shadow .1s;
}
.play:hover { transform: translateY(-2px); }
.play:active { transform: translateY(4px); box-shadow: 0 2px 0 #000; }
.play svg { width: 32px; height: 32px; flex: none; }
.play span { display: flex; flex-direction: column; line-height: 1.1; }
.play small { font-size: .72rem; letter-spacing: .4px; text-transform: uppercase; opacity: .85; }
.play b { font-size: 1.35rem; font-weight: 800; }
.play--big { padding: 14px 28px 14px 18px; }
.play--big b { font-size: 1.6rem; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.chips li {
  font-weight: 800; font-size: .9rem; color: var(--navy);
  background: #fff; border: 2px solid rgba(27, 42, 74, .1); border-radius: 999px; padding: 4px 12px;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 200, 200, .25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 210, 63, .35), transparent 40%),
    linear-gradient(180deg, #FFF6E5 0%, #FFFBF3 100%);
  padding: 28px 0 56px;
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__logo { width: min(420px, 90%); margin: 0 auto 14px; }
.hero__copy { text-align: center; }
.hero h1 { color: var(--orange); text-shadow: 0 3px 0 rgba(224, 86, 11, .25); }
.lead { font-size: 1.12rem; color: var(--text-dim); max-width: 36em; margin: 0 auto 22px; }
.cta { display: flex; flex-direction: column; align-items: center; }
.hero__phone { position: relative; display: grid; place-items: center; }

.phone {
  position: relative; z-index: 1;
  width: min(300px, 78vw); aspect-ratio: 9 / 19.5;
  border-radius: 42px; padding: 10px;
  background: var(--navy);
  box-shadow: 0 0 0 3px #0e1830, var(--shadow);
  overflow: hidden;
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.blob { position: absolute; border-radius: 50%; filter: blur(4px); z-index: 0; }
.blob--teal { width: 260px; height: 260px; background: var(--teal); opacity: .35; top: 4%; right: 8%; }
.blob--yellow { width: 180px; height: 180px; background: var(--yellow); opacity: .5; bottom: 2%; left: 10%; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--sky { background: linear-gradient(180deg, #E6FAFB, #D3F4F6); }
.section--cream { background: var(--cream); }
.section--dusk { background: linear-gradient(160deg, #3B2A66, #6B3D9E 60%, #C2569A); color: #fff; }
.sub { text-align: center; color: var(--text-dim); max-width: 40em; margin: -6px auto 32px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.steps .card { position: relative; padding-top: 34px; }
.steps__n {
  position: absolute; top: -18px; left: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 1.4rem var(--display); color: #fff; background: var(--orange);
  box-shadow: 0 4px 0 var(--orange-dark);
}
.steps p { color: var(--text-dim); margin: 0; }

/* worlds */
.worlds { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.world {
  position: relative; border-radius: var(--radius); padding: 22px 22px 18px; color: #fff;
  box-shadow: var(--shadow); overflow: hidden; min-height: 150px;
}
.world::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 150px; height: 150px; border-radius: 30px;
  background: rgba(255, 255, 255, .14); transform: rotate(30deg);
}
.world h3 { font-size: 1.6rem; margin-bottom: .3em; text-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.world p { margin: 0; font-weight: 700; opacity: .95; position: relative; z-index: 1; }
.world__n {
  display: inline-block; font: 1rem var(--display); background: rgba(0, 0, 0, .18);
  border-radius: 999px; padding: 2px 12px; margin-bottom: 8px;
}
.world--city { background: linear-gradient(135deg, #3CCB6B, #1EA7A0); }
.world--beach { background: linear-gradient(135deg, #FFB347, #1EC8C8); }
.world--snow { background: linear-gradient(135deg, #8FC9F0, #5A7FD6); }
.world--desert { background: linear-gradient(135deg, #F2B477, #D9673A); }
.world--neon { background: linear-gradient(135deg, #3A2A6E, #C13CC9); }

/* baron */
.baron { display: grid; gap: 28px; align-items: center; }
.baron h2 { text-align: left; color: var(--yellow); }
.baron p { font-size: 1.1rem; opacity: .95; }
.cranes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cranes li {
  background: rgba(255, 255, 255, .12); border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 16px; padding: 10px 14px;
}
.cranes b { color: var(--yellow); font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin-right: 4px; }
.baron__shot img { width: min(300px, 78vw); margin: 0 auto; border-radius: 34px; border: 10px solid var(--navy); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }

/* abilities */
.abilities { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.abilities li {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-dim); font-size: .95rem;
}
.abilities i {
  font-style: normal; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.7rem; color: #fff; background: var(--c); box-shadow: 0 5px 0 rgba(0, 0, 0, .15); margin-bottom: 6px;
}
.abilities b { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--navy); }

/* screenshots */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 66vw); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 22px; margin-top: 18px;
  scrollbar-width: thin;
}
.phone--small { width: 100%; min-width: 0; margin: 0; padding: 8px; border-radius: 34px; scroll-snap-align: center; overflow: visible; }
.phone--small picture { display: block; height: 100%; }
.phone--small img { width: 100%; border-radius: 26px; }
.phone--small figcaption { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; font-weight: 800; color: var(--navy); }
.shots .phone--small { margin-bottom: 30px; }

/* paints */
.paints { display: grid; gap: 24px; align-items: center; }
.paints h2 { text-align: center; }
.paints p { text-align: center; color: var(--text-dim); }
.swatches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.swatches li { text-align: center; font-weight: 800; font-size: .95rem; }
.swatches li::before {
  content: ""; display: block; margin: 0 auto 8px; width: 74px; height: 74px; border-radius: 22px;
  background: linear-gradient(135deg, var(--a) 0 58%, var(--b) 58% 100%);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .12), inset 0 -6px 0 rgba(0, 0, 0, .12);
}

/* faq */
.faq { max-width: 760px; }
.faq details {
  background: #fff; border-radius: 18px; box-shadow: 0 6px 0 rgba(27, 42, 74, .08); margin-bottom: 12px; padding: 4px 18px;
}
.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 8px; font: 1.6rem var(--display); color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-dim); }

/* final */
.final { padding: 64px 0 72px; background: linear-gradient(180deg, #FFFBF3, var(--cream)); }
.final__box { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.final__box img { border-radius: 26px; box-shadow: var(--shadow); }

/* footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: center; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: #fff; font-weight: 800; text-decoration: none; }
.foot a:hover { color: var(--yellow); }

/* ---------- legal page ---------- */
.legal { max-width: 780px; padding: 40px 16px 64px; }
.legal h1 { color: var(--orange); font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { text-align: left; font-size: 1.5rem; margin-top: 1.6em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--text-dim); font-weight: 700; }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .world--neon { grid-column: span 2; }
  .abilities { grid-template-columns: repeat(3, 1fr); }
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .shots { grid-auto-columns: 230px; justify-content: center; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .top__actions { margin-left: 18px; }
  .hero { padding: 48px 0 80px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__copy { text-align: left; }
  .hero__logo { margin: 0 0 14px; }
  .lead { margin: 0 0 24px; }
  .cta { align-items: flex-start; }
  .hero__phone .phone { width: 320px; }
  .worlds { grid-template-columns: repeat(5, 1fr); }
  .world--neon { grid-column: auto; }
  .baron { grid-template-columns: 1.2fr .8fr; }
  .paints { grid-template-columns: 1fr 1.2fr; }
  .paints h2, .paints p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play, .btn { transition: none; }
}
