/* ────────────────────────────────────────────────────────────────────────────
   golyapoch.com — v3

   The same look as the app: near-black, one gold, the gold coin from the
   play button, Inter at heavy weights with tight tracking. Dark only, like
   the app. No framework, no build step, no web fonts from anyone else.

   The filename carries the version (see _headers): change this file, bump
   the number, and update the <link> in every page.
   ──────────────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  --bg: #0B0D10;
  --bg-2: #0F1216;
  --surface: #14181D;
  --surface-2: #1C222A;
  --line: #242B34;
  --line-2: #2E3945;
  --text: #F2F4F7;
  --body: #A3ADBA;
  --dim: #8C97A6;
  --faint: #5B6573;
  --gold: #E8B54B;
  --gold-hi: #FCD37A;
  --on-gold: #1A1305;
  --green: #5FD08A;
  --red: #F2685C;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --r: 20px;
  --wrap: 1120px;
  --gutter: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
b, strong { color: var(--text); font-weight: 650; }
p { margin: 0 0 14px; }
h1, h2, h3 { color: var(--text); margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
::selection { background: rgba(232, 181, 75, .35); color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ── nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.navlinks { display: flex; gap: 26px; margin-left: auto; }
.navlinks a { color: var(--dim); font-size: 14.5px; font-weight: 550; }
.navlinks a:hover, .navlinks a[aria-current] { color: var(--text); }
.nav .cta { margin-left: 4px; }
@media (max-width: 860px) {
  .navlinks { display: none; }
  .nav .cta { margin-left: auto; }
}

/* ── buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 14px;
  font: 700 15px/1 var(--sans); letter-spacing: -.01em;
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--text); background: var(--surface-2); border-color: #3A4654; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn.gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--on-gold); }
.btn.sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Store buttons: two lines, the small one says "Download on" or "Coming soon". */
.store { height: 58px; padding: 0 20px 0 16px; gap: 12px; }
.store .t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store small { font-size: 11px; font-weight: 550; color: var(--dim); letter-spacing: 0; }
.store b { font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.store.soon { cursor: default; }
.store.soon:hover { background: var(--surface); border-color: var(--line-2); }
.store.soon:active { transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns.center { justify-content: center; }

/* ── type helpers ────────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
  margin: 0 0 16px;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--body); max-width: 60ch; }
.small { font-size: 14px; color: var(--dim); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.fa { font-family: 'Vazirmatn', 'Noto Naskh Arabic', 'Geeza Pro', Tahoma, sans-serif; letter-spacing: 0; font-weight: 600; }

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(60px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); text-align: center; overflow: hidden; }
.hero::before {
  /* the glow the coin sits in */
  content: ""; position: absolute; left: 50%; top: -120px; width: 1100px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(232, 181, 75, .16), rgba(232, 181, 75, .05) 45%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.coin {
  position: relative; width: clamp(150px, 22vw, 210px); aspect-ratio: 1; margin: 0 auto clamp(34px, 5vw, 50px);
}
.coin img { width: 100%; height: 100%; position: relative; z-index: 1; filter: drop-shadow(0 22px 50px rgba(232, 181, 75, .28)); }
.coin::before, .coin::after {
  content: ""; position: absolute; inset: -14%; border-radius: 50%;
  border: 1.5px solid rgba(232, 181, 75, .32);
}
.coin::after { inset: -14%; border-color: rgba(232, 181, 75, .5); animation: breathe 3.2s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes breathe {
  0% { transform: scale(1); opacity: .9; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .coin::after { animation: none; opacity: 0; } html { scroll-behavior: auto; } }

.hero .kicker { color: var(--gold); font-size: 12.5px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; margin: 0 0 14px; }
.hero .kicker .fa { letter-spacing: 0; text-transform: none; font-size: 14px; color: var(--dim); margin-left: 10px; font-weight: 500; }
.hero h1 { font-size: clamp(52px, 10vw, 112px); letter-spacing: -.055em; line-height: .95; margin: 0 0 22px; }
.hero h1 .g { color: var(--gold); }
.hero .lead { margin: 0 auto 34px; }
.hero .btns { justify-content: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 30px; color: var(--dim); font-size: 13.5px; font-weight: 550; }
.chips span { display: inline-flex; align-items: center; gap: 8px; }
.chips span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .8; }

/* page header on the inner pages */
.phead { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); overflow: hidden; }
.phead::before {
  content: ""; position: absolute; right: -200px; top: -300px; width: 900px; height: 760px;
  background: radial-gradient(closest-side, rgba(232, 181, 75, .12), transparent 70%); pointer-events: none;
}
.phead .wrap { position: relative; }
.phead h1 { font-size: clamp(42px, 7vw, 76px); letter-spacing: -.05em; margin-bottom: 18px; }
.phead h1 .g { color: var(--gold); }

/* ── sections ────────────────────────────────────────────────────────────── */

section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
section.tight { padding-top: clamp(32px, 4vw, 48px); border-top: 0; }
.head { margin-bottom: clamp(32px, 4.5vw, 54px); max-width: 720px; }
.head.center { margin-left: auto; margin-right: auto; }
.head h2 { font-size: clamp(36px, 5.2vw, 60px); margin-bottom: 18px; }
.head h2 .g { color: var(--gold); }

.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .g2, .g4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px;
}
.card h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 10px; }
.card p { font-size: 15.5px; margin-bottom: 0; }
.card p + p { margin-top: 10px; }
.card .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(232, 181, 75, .1); border: 1px solid rgba(232, 181, 75, .22);
}
.card .ico svg { width: 21px; height: 21px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.gold { background: linear-gradient(160deg, rgba(232, 181, 75, .12), rgba(232, 181, 75, .03) 60%), var(--surface); border-color: rgba(232, 181, 75, .3); }

/* numbered steps */
.steps { counter-reset: step; }
.step .n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: 15px; margin-bottom: 18px;
}

/* the two outcomes of a call */
.outcome { border-radius: var(--r); padding: 26px; border: 1px solid; }
.outcome .k { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.outcome p { margin: 0; font-size: 16px; color: var(--text); line-height: 1.55; }
.outcome.win { background: rgba(95, 208, 138, .07); border-color: rgba(95, 208, 138, .28); }
.outcome.win .k { color: var(--green); }
.outcome.lose { background: rgba(242, 104, 92, .07); border-color: rgba(242, 104, 92, .28); }
.outcome.lose .k { color: var(--red); }

/* a strip of numbers: the timings, the limits */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.facts div { padding: 22px 16px; text-align: center; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.04em; color: var(--text); font-weight: 800; line-height: 1.1; }
.facts b.gold { color: var(--gold); }
.facts span { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 720px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div + div { border-left: 0; }
  .facts div { border-top: 1px solid var(--line); }
  .facts div:nth-child(-n+2) { border-top: 0; }
  .facts div:nth-child(even) { border-left: 1px solid var(--line); }
  .facts div:last-child:nth-child(odd) { grid-column: span 2; }
}

/* a key/value list inside a card */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 18px 0 0; font-size: 14.5px; }
.kv dt, .kv dd { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); }
.kv dt { color: var(--dim); padding-right: 18px; }
.kv dd { color: var(--text); text-align: right; font-weight: 600; }

/* ── a split block: text one side, a picture the other ───────────────────── */

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.list { list-style: none; padding: 0; margin: 24px 0 0; }
.list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list .dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(232, 181, 75, .12); margin-top: 1px; }
.list .dot svg { width: 14px; height: 14px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.list b { display: block; margin-bottom: 2px; }
.list span { font-size: 15px; }

/* a drawing of the app's home screen, not a screenshot */
.device {
  width: min(320px, 82vw); margin: 0 auto; aspect-ratio: 9 / 18.5;
  border-radius: 46px; padding: 12px; background: #000;
  box-shadow: 0 0 0 1px #2A2F37, 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(232, 181, 75, .18);
}
.device .scr { height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; padding: 44px 16px 14px; }
.scr .hello { display: flex; align-items: center; gap: 10px; }
.scr .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #CFE3F5; background: #274457; flex: none; }
.scr .hello small { display: block; font-size: 10px; color: var(--dim); line-height: 1.2; }
.scr .hello b { font-size: 14px; letter-spacing: -.02em; }
.scr .rule { height: 1px; background: var(--line); margin: 12px 0; }
.scr .friends { display: flex; gap: 12px; }
.scr .fr { width: 46px; text-align: center; }
.scr .fr i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); font-style: normal; font-weight: 800; color: #E9D29A; background: #3A2F17; font-size: 15px; }
.scr .fr i.on { border-color: var(--gold); }
.scr .fr span { display: block; font-size: 9px; color: var(--dim); margin-top: 4px; }
.scr .fr em { display: block; font-style: normal; font-size: 7.5px; font-weight: 800; letter-spacing: .06em; color: var(--gold); }
.scr .strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.scr .strip div { text-align: center; padding: 8px 0; }
.scr .strip div + div { border-left: 1px solid var(--line); }
.scr .strip b { display: block; font-size: 13px; }
.scr .strip span { font-size: 7px; letter-spacing: .14em; color: var(--dim); font-weight: 700; }
.scr .mid { flex: 1; display: grid; place-items: center; }
.scr .play { position: relative; width: 58%; aspect-ratio: 1; }
.scr .play img { width: 100%; }
.scr .play::before { content: ""; position: absolute; inset: -12%; border-radius: 50%; border: 1px solid rgba(232, 181, 75, .4); }
.scr .play::after { content: "FIND A MATCH"; position: absolute; left: 0; right: 0; top: 71%; text-align: center; font-size: 7px; font-weight: 800; letter-spacing: .2em; color: var(--on-gold); }
.scr .online { text-align: center; font-size: 9.5px; color: var(--dim); margin-top: -8px; }
.scr .online::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: 1px; }
.scr .tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 8px 0; }
.scr .tabs span { text-align: center; font-size: 8.5px; font-weight: 700; color: var(--faint); }
.scr .tabs span:first-child { color: var(--gold); }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 2px; color: var(--text); font-size: 17.5px; font-weight: 650; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8B54B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line); transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq .body { padding: 0 48px 22px 2px; }
.faq .body p { font-size: 16px; }
.faq .body p:last-child { margin-bottom: 0; }

/* ── contact block ───────────────────────────────────────────────────────── */

.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact .mail { display: block; font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.04em; color: var(--text); }
.contact .mail:hover { color: var(--gold-hi); }

/* ── download band ───────────────────────────────────────────────────────── */

.band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 32px; border: 1px solid rgba(232, 181, 75, .28);
  background: radial-gradient(120% 140% at 50% 0%, rgba(232, 181, 75, .16), transparent 60%), var(--surface);
  padding: clamp(44px, 7vw, 84px) 24px;
}
.band .coin { width: 104px; margin-bottom: 30px; }
.band .coin::before, .band .coin::after { display: none; }
.band h2 { font-size: clamp(36px, 5.6vw, 64px); margin-bottom: 16px; }
.band .lead { margin: 0 auto 30px; }

/* ── footer ──────────────────────────────────────────────────────────────── */

footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; }
footer .top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; margin-bottom: 26px; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer nav a { color: var(--dim); font-weight: 550; }
footer nav a:hover { color: var(--text); }
footer .legal { color: var(--faint); font-size: 13px; line-height: 1.8; margin: 0; }

/* ── 404 / small centred pages ───────────────────────────────────────────── */

.solo { min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px); display: grid; place-items: center; text-align: center; padding: 40px 0 80px; }
.solo h1 { font-size: clamp(44px, 8vw, 84px); letter-spacing: -.05em; margin-bottom: 16px; }
