/* Park Pop — grknstudios.co.uk/parkpop */
/* Lilita One with the Turkish letters (ş ğ ı İ) added — same file the game uses.
   The Google Fonts build of Lilita One lacks them, so they fell back to a serif font. */
@font-face {
  font-family: "Park Pop Display";
  src: url("../fonts/parkpop-display.woff2?v=1") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  --orange: #FFA41B;
  --gold: #FFD84D;
  --amber: #FFB627;
  --green: #43C94F;
  --green-dark: #2FA83A;
  --teal: #1C9AA8;
  --teal-dark: #137783;
  --navy: #1B2240;
  --navy-2: #283157;
  --red: #E5383B;
  --cream: #FFFBEF;
  --cream-2: #FFF3D6;
  --ink: #1B2240;
  --muted: #59607A;
  --line: rgba(27, 34, 64, .10);
  --radius: 26px;
  --shadow: 0 18px 40px -18px rgba(27, 34, 64, .35);
  --display: "Park Pop Display", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
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; }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 239, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(27,34,64,.5); }
.brand span { font-family: var(--display); font-size: 27px; line-height: 1; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--cream-2); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.lang { display: flex; background: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: 2px; margin-left: 6px; }
.lang a { font-family: var(--display); font-size: 14px; padding: 4px 10px; border-radius: 999px; color: var(--navy); text-decoration: none; }
.lang a.on { background: var(--orange); color: var(--navy); }
.menu-btn { display: none; margin-left: auto; background: var(--navy); color: #fff; border: 0; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .lang { align-self: flex-start; margin: 8px 0 0 8px; }
}

/* ---------- Buttons / badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; padding: 8px 18px 8px 14px; min-height: 56px;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 20px -12px rgba(0,0,0,.6);
}
.badge:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -12px rgba(0,0,0,.7); }
.badge svg { width: 26px; height: 30px; flex: none; }
.badge small { display: block; font-size: 11px; line-height: 1.1; font-weight: 600; letter-spacing: .2px; }
.badge b { display: block; font-size: 21px; line-height: 1.1; font-weight: 700; letter-spacing: -.2px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 20px; letter-spacing: .4px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 18px;
  box-shadow: inset 0 -5px 0 var(--green-dark), 0 10px 20px -12px rgba(27,34,64,.6);
}
.btn:hover { filter: brightness(1.05); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,216,77,.9), transparent 60%),
    linear-gradient(160deg, #FFB627 0%, #FFA41B 55%, #FF8F1B 100%);
  color: var(--navy);
}
.hero::before { /* parking-lot lane markings */
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 4px, transparent 4px 120px);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 70px 0 90px; }
.hero-app { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.hero-app img { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 14px 28px -12px rgba(27,34,64,.6); border: 4px solid #fff; }
.hero-app strong { font-family: var(--display); font-size: 34px; line-height: 1; display: block; }
.hero-app em { font-style: normal; font-weight: 800; font-size: 15px; opacity: .85; }
.hero h1 {
  font-size: clamp(54px, 8vw, 100px); color: #fff; margin-bottom: 16px;
  text-shadow: 0 5px 0 var(--navy), 0 14px 30px rgba(27,34,64,.35);
  -webkit-text-stroke: 2px var(--navy); paint-order: stroke fill;
}
.hero .lead { font-size: 20px; font-weight: 600; max-width: 34em; }
.pill-line { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px; }
.pill-line span { background: var(--navy); color: var(--gold); font-family: var(--display); font-size: 18px; padding: 7px 16px; border-radius: 999px; }
.hero .note { margin-top: 16px; font-size: 14px; font-weight: 700; opacity: .8; }

.phones { position: relative; height: 620px; }
.phone {
  position: absolute; width: 270px; padding: 9px;
  background: var(--navy); border-radius: 42px;
  box-shadow: 0 30px 60px -20px rgba(27,34,64,.6), inset 0 0 0 2px rgba(255,255,255,.12);
}
.phone img { border-radius: 33px; aspect-ratio: 1170 / 2532; width: 100%; object-fit: cover; background: #ddd; }
.phones .phone.a { right: 6%; top: 0; z-index: 2; transform: rotate(3deg); }
.phones .phone.b { left: 0; top: 70px; width: 230px; transform: rotate(-7deg); opacity: .97; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; width: 100%; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 44px 0 70px; }
  .phones { height: 470px; max-width: 420px; margin: 10px auto 0; width: 100%; }
  .phone { width: 210px; }
  .phones .phone.b { width: 180px; top: 50px; }
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.eyebrow { display: inline-block; font-family: var(--display); font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 19px; }
.center { text-align: center; margin-inline: auto; }

/* highlights */
.highlights { padding-top: 40px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hl {
  background: #fff; border-radius: var(--radius); padding: 30px 28px 26px;
  box-shadow: var(--shadow); border: 3px solid transparent; position: relative;
}
.hl .ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; box-shadow: inset 0 -5px 0 rgba(0,0,0,.15); }
.hl .ico svg { width: 32px; height: 32px; }
.hl:nth-child(1) .ico { background: var(--green); }
.hl:nth-child(2) .ico { background: var(--red); }
.hl:nth-child(3) .ico { background: var(--teal); }
.hl p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* how to play */
.how { background: var(--teal); color: #fff; position: relative; overflow: hidden; }
.how .wrap { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: center; }
.how .eyebrow { color: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li {
  counter-increment: s; display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.18);
  border-radius: 22px; padding: 18px 22px; font-size: 19px; font-weight: 700;
}
.steps li::before {
  content: counter(s); font-family: var(--display); font-size: 30px; color: var(--navy);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); box-shadow: inset 0 -5px 0 var(--amber);
}
.how .phone { position: relative; width: 300px; margin: 0 auto; transform: rotate(2deg); }
@media (max-width: 860px) {
  .how .wrap { grid-template-columns: 1fr; }
  .how .phone { width: 240px; }
}

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.feat {
  grid-column: span 2; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.feat.wide { grid-column: span 3; }
.feat .shot { height: 230px; overflow: hidden; background: var(--cream-2); }
.feat .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.feat .body { padding: 24px 26px 26px; }
.feat h3 { display: flex; align-items: center; gap: 10px; }
.feat h3::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--c, var(--orange)); flex: none; }
.feat p, .feat li { color: var(--muted); }
.feat ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 7px; }
.feat li { position: relative; padding-left: 22px; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--orange)); }
.feat li b { color: var(--ink); }
.feat p:last-child, .feat ul:last-child { margin-bottom: 0; }
.feat-stack { grid-column: span 2; display: grid; gap: 22px; }
.feat-stack .feat { grid-column: auto; }
.feat.text { background: var(--navy); color: #fff; }
.feat.text p { color: rgba(255,255,255,.78); }
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat, .feat.wide, .feat-stack { grid-column: span 1; }
}
@media (max-width: 620px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* gallery */
.gallery { background: var(--navy); color: #fff; overflow: hidden; }
.gallery .eyebrow { color: var(--gold); }
.gallery .section-head p { color: rgba(255,255,255,.75); }
.g-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.g-ctrl { display: flex; gap: 10px; margin-bottom: 44px; }
.g-ctrl button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--orange); color: var(--navy); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
  display: grid; place-items: center;
}
.g-ctrl button svg { width: 22px; height: 22px; }
.g-track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(16px, calc((100vw - var(--wrap)) / 2)) 30px;
  scrollbar-width: none;
}
.g-track::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 auto; width: 250px; scroll-snap-align: center; margin: 0; }
.g-item .phone { position: relative; width: 100%; background: #0E1328; }
.g-item figcaption { font-family: var(--display); font-size: 21px; text-align: center; margin-top: 18px; color: var(--gold); line-height: 1.15; }
@media (max-width: 620px) { .g-item { width: 210px; } .g-ctrl { display: none; } }

/* fair play */
.fair .box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, #33B33F 100%);
  color: #fff; border-radius: 36px; padding: 60px clamp(26px, 6vw, 80px);
  box-shadow: 0 30px 60px -30px rgba(47,168,58,.8);
  display: grid; grid-template-columns: 140px 1fr; gap: 40px; align-items: center;
}
.fair .box::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.fair .shield { width: 140px; height: 140px; border-radius: 40px; background: #fff; display: grid; place-items: center; color: var(--green); transform: rotate(-6deg); box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.fair .shield svg { width: 76px; height: 76px; }
.fair h2 { color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.15); }
.fair p { font-size: 20px; font-weight: 600; margin: 0; max-width: 46em; }
@media (max-width: 700px) { .fair .box { grid-template-columns: 1fr; gap: 20px; } .fair .shield { width: 96px; height: 96px; border-radius: 28px; } .fair .shield svg { width: 52px; } }

/* FAQ */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-list details { background: #fff; border-radius: 20px; box-shadow: 0 8px 22px -16px rgba(27,34,64,.5); border: 2px solid transparent; }
.faq-list details[open] { border-color: var(--orange); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 800; font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--cream-2); color: var(--navy);
  font-family: var(--display); font-size: 22px; display: grid; place-items: center; line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; background: var(--orange); }
.faq-list .a { padding: 0 24px 22px; color: var(--muted); }
.faq-list .a p:last-child { margin: 0; }
.more { margin-top: 30px; }

/* download */
.download { padding: 0 0 100px; }
.dl {
  background: var(--navy); color: #fff; border-radius: 36px; padding: 56px clamp(26px, 6vw, 70px);
  display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(28,154,168,.55), transparent 70%);
}
.dl > img { width: 130px; height: 130px; border-radius: 30px; border: 5px solid #fff; }
.dl h2 { color: var(--gold); font-size: clamp(30px, 4vw, 44px); }
.dl p { color: rgba(255,255,255,.8); margin: 0; }
.dl .fine { font-size: 14px; margin-top: 6px; color: rgba(255,255,255,.6); }
.dl .badge { border-color: rgba(255,255,255,.5); }
@media (max-width: 960px) { .dl { grid-template-columns: 1fr; text-align: left; } .dl > img { width: 96px; height: 96px; } }

/* ---------- Inner pages ---------- */
.page-hero {
  background: linear-gradient(160deg, #FFB627, #FFA41B);
  padding: 60px 0 70px; position: relative;
}
.page-hero h1 { font-size: clamp(42px, 6vw, 68px); color: #fff; -webkit-text-stroke: 2px var(--navy); paint-order: stroke fill; text-shadow: 0 4px 0 var(--navy); }
.page-hero p { font-size: 19px; font-weight: 600; max-width: 44em; margin: 0; }
.crumb { font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.crumb a { color: var(--navy); }
.page-body { padding: 60px 0 90px; }
.contact-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow);
  margin: -110px 0 56px; position: relative; z-index: 2; max-width: 860px;
}
.contact-card h2 { font-size: 28px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .mail { font-weight: 800; color: var(--navy); }
@media (max-width: 700px) { .contact-card { grid-template-columns: 1fr; } }
.faq-title { font-size: 34px; margin-bottom: 22px; }

.prose { max-width: 800px; background: #fff; border-radius: var(--radius); padding: clamp(26px, 5vw, 56px); box-shadow: var(--shadow); margin-top: -110px; position: relative; z-index: 2; }
.prose .updated { display: inline-block; background: var(--cream-2); border-radius: 999px; padding: 5px 14px; font-weight: 800; font-size: 14px; margin-bottom: 18px; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em; color: var(--navy); }
.prose h2:first-of-type { margin-top: .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { word-break: break-word; }
.prose .short { background: var(--cream); border: 2px dashed rgba(255,164,27,.6); border-radius: 20px; padding: 18px 24px 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.toc a { display: inline-block; background: var(--cream-2); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.toc a:hover { background: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #121834; color: rgba(255,255,255,.75); padding: 64px 0 34px; font-size: 15px; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.f-studio img { width: 190px; margin-bottom: 16px; }
.f-studio p { margin: 0 0 6px; }
.site-footer h4 { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--gold); margin: 0 0 14px; letter-spacing: .4px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; }
.f-bottom .lang { border-color: rgba(255,255,255,.4); background: transparent; margin: 0; }
.f-bottom .lang a { color: #fff; }
.f-bottom .lang a.on { color: var(--navy); }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr; gap: 30px; } }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .badge { transition: none; }
}
