/* ===================================================================
   Gida Words — marketing landing page
   Brand palette (from the app's AppConfig):
     navy  #071633   deep blue #1C2696   blue #3152CD   gold #F2B233
   =================================================================== */

:root {
  --navy: #071633;
  --navy-2: #0b1f45;
  --blue-deep: #1C2696;
  --blue: #3152CD;
  --gold: #F2B233;
  --gold-soft: #ffd27a;
  --ink: #eaf0ff;
  --muted: #9fb0d6;
  --line: rgba(255, 255, 255, 0.10);
  --card: rgba(255, 255, 255, 0.04);
  --radius: 18px;
  --container: 1140px;
  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--gold); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Eyebrow / shared headings ─────────────────────────────────── */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }

.section__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section__lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-top: 14px;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #3a2600;
  box-shadow: 0 10px 30px rgba(242, 178, 51, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(242,178,51,.5); }

/* ── Store badges ──────────────────────────────────────────────── */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta-row--center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: #060f24;
  border: 1px solid var(--line);
  transition: transform .15s ease, border-color .15s ease;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(242,178,51,.55); }
.store-badge__icon { width: 30px; height: 30px; flex: none; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__text small { font-size: .62rem; letter-spacing: .14em; color: var(--muted); }
.store-badge__text strong { font-size: 1.12rem; font-weight: 700; }
.store-badge--soon { cursor: default; opacity: .6; }
.store-badge--soon:hover { transform: none; border-color: var(--line); }

/* ── Nav ───────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 22, 51, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
/* The logo art is wider than tall (and carries its own rounded navy card),
   so contain it rather than stretching it into the square slots. */
.brand__logo { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(28,38,150,.55), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(49,82,205,.35), transparent 55%),
    var(--navy);
  padding: 72px 0 90px;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}
.hero__glow--gold { width: 340px; height: 340px; background: rgba(242,178,51,.35); top: 40%; left: -120px; }
.hero__glow--blue { width: 420px; height: 420px; background: rgba(49,82,205,.4); top: -120px; right: -140px; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(100deg, var(--gold), var(--gold-soft) 55%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub { color: var(--muted); font-size: 1.12rem; max-width: 540px; }

.hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: .9rem;
}
.hero__meta li:first-child { color: var(--gold); font-weight: 600; }
.hero__meta span { color: var(--muted); font-weight: 400; }

/* floating letter tiles */
.tile {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--gold);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: float 6s ease-in-out infinite;
}
.tile--1 { top: 14%; left: 42%; animation-delay: 0s; }
.tile--2 { top: 66%; left: 6%;  animation-delay: .8s; color: var(--blue); }
.tile--3 { top: 78%; left: 47%; animation-delay: 1.6s; }
.tile--4 { top: 8%;  right: 4%;  animation-delay: 2.2s; color: var(--gold); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }

/* ── Phone mockup ──────────────────────────────────────────────── */
.hero__device { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, #22335f, #0a1530);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
}
.phone__notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; border-radius: 0 0 16px 16px;
  background: #060f24; z-index: 3;
}
.phone__screen {
  border-radius: 34px;
  background: linear-gradient(180deg, #0a1a3d, #071633);
  padding: 40px 16px 18px;
  overflow: hidden;
}
.app-bar { display: flex; align-items: center; justify-content: space-between; }
.app-bar__title { font-weight: 800; font-size: 1.05rem; }
.coin-pill {
  background: rgba(242,178,51,.16);
  border: 1px solid rgba(242,178,51,.5);
  color: var(--gold);
  font-weight: 700; font-size: .78rem;
  padding: 4px 10px; border-radius: 999px;
}
.app-bar__clue { color: var(--muted); font-size: .74rem; margin: 6px 0 12px; }

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}
.grid span {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  font-weight: 700; font-size: .9rem;
  color: #cdd8f5;
}
.grid .cell.g { background: rgba(47,143,74,.85); color: #fff; box-shadow: 0 4px 10px rgba(47,143,74,.4); }
.grid .cell.y { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); color: #3a2600; box-shadow: 0 4px 10px rgba(242,178,51,.45); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-size: .68rem; font-weight: 600;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip--done { color: #bff3cd; border-color: rgba(47,143,74,.5); background: rgba(47,143,74,.16); }

/* ── Stat strip ────────────────────────────────────────────────── */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-2); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 26px 24px; text-align: center; }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--gold); }
.stat span { color: var(--muted); font-size: .82rem; }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 84px 0; }
.section--alt { background: var(--navy-2); }
.section__title { max-width: 720px; }
#games .section__lede { margin-bottom: 40px; }

/* ── Game cards ────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card::before {
  content: "";
  position: absolute; inset: 0 auto auto 0;
  width: 100%; height: 4px;
  background: var(--accent);
  opacity: .9;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: rgba(255,255,255,.06); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card--cta {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
  background: linear-gradient(160deg, rgba(242,178,51,.16), rgba(49,82,205,.12));
  border-color: rgba(242,178,51,.4);
}
.card--cta h3 { font-size: 1.35rem; }
.card--cta .btn { margin-top: 12px; }

/* ── Why list ──────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.why__list { list-style: none; display: grid; gap: 22px; }
.why__list li { display: flex; gap: 16px; }
.why__ic {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.why__list h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 3px; }
.why__list p { color: var(--muted); font-size: .95rem; }

/* ── Culture / proverb ─────────────────────────────────────────── */
.culture {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(49,82,205,.3), transparent 70%),
    var(--navy);
  text-align: center;
}
.culture__inner { max-width: 760px; margin: 0 auto; position: relative; }
.culture__quote {
  display: block; font-size: 5rem; line-height: .6; color: var(--gold); opacity: .5; margin-bottom: 8px;
}
.culture__ha {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}
.culture__en { color: var(--gold); font-size: 1.1rem; font-weight: 600; margin-top: 12px; }
.culture__note { color: var(--muted); margin-top: 20px; font-size: 1rem; }

/* ── Final CTA ─────────────────────────────────────────────────── */
.final {
  background: linear-gradient(160deg, var(--blue-deep), var(--navy) 70%);
  padding: 84px 0;
  text-align: center;
}
.final__inner { max-width: 640px; margin: 0 auto; }
.final__logo { width: 84px; height: 76px; border-radius: 16px; margin: 0 auto 22px; object-fit: contain; }
.final h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; }
.final p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--navy); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.footer__brand img { width: 40px; height: 40px; border-radius: 11px; object-fit: contain; }
.footer__brand strong { display: block; font-weight: 800; }
.footer__brand span { color: var(--muted); font-size: .82rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { color: var(--muted); font-size: .9rem; transition: color .15s; }
.footer__links a:hover { color: var(--ink); }
.footer__made { width: 100%; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 20px; line-height: 1.7; }
.footer__made a { color: var(--gold); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__device { order: 1; }
  .hero__sub, .section__lede { margin-left: auto; margin-right: auto; }
  .cta-row, .hero__meta { justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .tile { display: none; }
}
@media (max-width: 620px) {
  .nav__links { display: none; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
}

/* ── Legal pages (privacy / terms) ─────────────────────────────── */
.legal-hero {
  background: linear-gradient(160deg, var(--blue-deep), var(--navy) 78%);
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.legal-hero .updated { color: var(--muted); margin-top: 10px; font-size: .95rem; }

.legal { padding: 56px 0 84px; }
.legal__body { max-width: 760px; margin: 0 auto; }
.legal__body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 36px 0 10px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { color: var(--muted); margin-bottom: 14px; }
.legal__body a { color: var(--gold); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body ul { list-style: none; padding: 0; margin: 0 0 16px; }
.legal__body li {
  color: var(--muted);
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 4px; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.legal__note {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.legal__contact {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.legal__contact p { margin-bottom: 6px; }
