/* ============================================================
   Planout landing — dark-first, rose-red brand (matches the app)
   ============================================================ */
:root {
  --bg: #08090c;
  --surface: #111319;
  --elevated: #1a1d26;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f8fb;
  --text-2: #a3adbd;
  --text-3: #6c7686;

  --red: #FF7A00;
  --red-soft: #FFA94D;
  --blue: #2563eb;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --amber: #f59e0b;
  --green: #22c55e;

  --grad: linear-gradient(120deg, #FF7A00, #FF6B35);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 22px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
strong, b { color: var(--text); font-weight: 700; }
em { font-style: normal; color: var(--red-soft); font-weight: 600; }

/* ---------- ambient glows ---------- */
.bg-glows { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; }
.glow-red { width: 520px; height: 520px; background: #FF7A00; top: -160px; right: -120px; opacity: 0.28; }
.glow-violet { width: 460px; height: 460px; background: #FF6B35; top: 40%; left: -180px; opacity: 0.22; }
.glow-blue { width: 480px; height: 480px; background: #2563eb; bottom: -200px; right: 10%; opacity: 0.18; }

main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn.lg { padding: 16px 30px; font-size: 16px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(190, 18, 60, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(190, 18, 60, 0.55); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

/* ---------- nav ---------- */
/* Full-bleed sticky glass bar; content is re-centered by .nav-inner so the
   frosted background + border span the whole viewport, not just the max-width. */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.nav.scrolled {
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}
.nav-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  transition: padding 0.28s ease;
}
.nav.scrolled .nav-inner { padding-top: 13px; padding-bottom: 13px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -0.3px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; object-fit: cover; display: block;
  border: 1px solid var(--border-strong);
  box-shadow: 0 6px 18px rgba(190, 18, 60, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand:hover .brand-mark { transform: translateY(-1px) rotate(-3deg); box-shadow: 0 8px 22px rgba(190, 18, 60, 0.62); }
.brand-name { background: linear-gradient(120deg, var(--text), var(--text-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  position: relative; color: var(--text-2); font-weight: 500; font-size: 15px;
  padding: 4px 0; transition: color 0.15s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  border-radius: 2px; background: var(--grad); transition: right 0.22s ease;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { right: 0; }

/* compact primary CTA inside the nav */
.nav-cta { padding: 10px 18px; font-size: 14px; margin-left: 6px; }
.nav-cta .material-icons-round { font-size: 17px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 70px 24px 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--red-soft); background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.25); padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: -1.5px;
  font-weight: 900; margin: 20px 0 18px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); max-width: 520px; }
.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 13px; color: var(--text-3); }

/* ---------- phone mockup ---------- */
.hero-device { display: flex; justify-content: center; }
.phone {
  width: 300px; height: 610px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #23262f, #0d0f14);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); position: relative;
}
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #05060a; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen {
  width: 100%; height: 100%; border-radius: 33px; overflow: hidden;
  background: radial-gradient(120% 60% at 80% -10%, rgba(255, 122, 0,0.18), transparent 60%), var(--bg);
  padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 16px;
}
.scr-header { display: flex; justify-content: space-between; align-items: flex-start; }
.scr-kicker { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.scr-title { font-size: 13px; color: var(--text-2); margin-top: 2px; max-width: 170px; }
.scr-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--border); display: grid; place-items: center; font-size: 18px; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gtile {
  aspect-ratio: 1 / 0.98; border-radius: 18px; padding: 12px; display: flex; flex-direction: column;
  justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
}
.gtile span {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}

/* ---------- trust strip ---------- */
.strip {
  max-width: var(--maxw); margin: 20px auto 0; padding: 22px 24px;
  display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center;
  color: var(--text-3); font-size: 14px; font-weight: 500;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 92px 24px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin: 14px 0 14px; }
.section-head p { color: var(--text-2); font-size: 17px; }

/* ---------- feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid.tight { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.ficon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); margin-bottom: 18px;
}
.ficon .material-icons-round { color: var(--c); font-size: 28px; }

/* inline material icons (chips, strip, notes, buttons) */
.material-icons-round.mi-sm {
  font-size: 18px; line-height: 1; vertical-align: -4px; margin-right: 5px;
}
.scr-avatar .material-icons-round { font-size: 22px; color: var(--text-2); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }

/* spice bar */
.spice-bar { display: flex; gap: 5px; margin-top: 16px; }
.spice-bar span { flex: 1; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.08); }
.spice-bar span:nth-child(1) { background: #22c55e; }
.spice-bar span:nth-child(2) { background: #86cf3a; }
.spice-bar span:nth-child(3) { background: #d4c020; }
.spice-bar span:nth-child(4) { background: #f59e0b; }
.spice-bar span:nth-child(5) { background: #f97316; }
.spice-bar span:nth-child(6) { background: #ef4444; }
.spice-bar span:nth-child(7) { background: #dc2626; }

/* ---------- games showcase ---------- */
.games { position: relative; }
.game-catalogue {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px;
}
.gcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px; display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.gcard:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.gcard span {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); margin-bottom: 8px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--g1) 40%, transparent);
}
.gcard span.material-icons-round { font-size: 24px; }
.gcard b { font-size: 15px; }
.gcard i { font-style: normal; color: var(--text-3); font-size: 13px; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.8px; margin: 14px 0 16px; }
.split-copy p { color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.ticks li::before {
  content: "\e5ca"; font-family: "Material Icons Round"; /* check glyph */
  position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 122, 0,0.16); color: var(--red-soft); font-size: 15px; display: grid; place-items: center;
}

/* mini calendar visual */
.split-visual { display: flex; justify-content: center; }
.mini-cal, .mini-bill, .itinerary-card {
  width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  /* gentle up/down oscillation, same feel as the header phone mockup */
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
/* stagger the drift so the visuals don't bob in lockstep */
.itinerary-card { animation-duration: 5.4s; animation-delay: 0.3s; }
.mini-bill { animation-duration: 6.6s; animation-delay: 0.6s; }
.cal-head { font-weight: 700; margin-bottom: 16px; color: var(--text-2); font-size: 14px; }
.cal-row { display: grid; grid-template-columns: 54px repeat(4, 1fr); gap: 8px; align-items: center; margin-bottom: 10px; }
.cal-row span { font-size: 13px; color: var(--text-2); }
.cal-row i { height: 26px; border-radius: 8px; background: rgba(255,255,255,0.05); }
.cal-row i.free { background: rgba(34,197,94,0.28); }
.cal-row i.busy { background: rgba(255,255,255,0.05); }
.cal-row.best i.pool { background: var(--grad); box-shadow: 0 6px 16px rgba(190, 18, 60,0.5); }
.cal-row.best span { color: var(--red-soft); font-weight: 700; }
.cal-foot { margin-top: 8px; font-size: 14px; color: var(--text); font-weight: 600; }

/* mini bill visual */
.bill-row { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.bill-split { display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.bill-split div { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.bill-split div b { margin-left: auto; color: var(--text); }
.bill-split i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.bill-cta { text-align: center; background: var(--grad); color: #fff; font-weight: 700; padding: 12px; border-radius: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
  max-width: var(--maxw); margin: 40px auto 90px; padding: 64px 24px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 122, 0,0.16), transparent 60%), var(--surface);
  border: 1px solid var(--border-strong); border-radius: 32px;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px; }
.cta-band p { color: var(--text-2); font-size: 18px; margin-top: 12px; }
.cta-band .cta-row { margin-top: 30px; }
.cta-note { font-size: 14px !important; color: var(--text-3) !important; margin-top: 22px !important; }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 60px; text-align: center;
  border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.footer .brand { justify-content: center; }
.footer p { color: var(--text-2); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.foot-links a { color: var(--text-2); font-size: 15px; transition: color 0.15s; }
.foot-links a:hover { color: var(--text); }
.foot-links.legal-links { margin-top: -2px; }
.foot-links.legal-links a { color: var(--text-3); font-size: 13.5px; }
.foot-links.legal-links a:hover { color: var(--red-soft); }
.footer small { color: var(--text-3); }

/* built-with-love + made-in-UAE credit */
.foot-made {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 10px; margin-top: 2px; color: var(--text-3); font-size: 13px; font-weight: 500;
}
.foot-made span { display: inline-flex; align-items: center; gap: 5px; }
.foot-made a { color: var(--text-2); font-weight: 700; transition: color 0.15s; }
.foot-made a:hover { color: var(--red-soft); }
.foot-made .heart {
  color: var(--red); flex: none;
  animation: heartbeat 1.6s ease-in-out infinite;
}
.foot-made .flag-uae { flex: none; border-radius: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.foot-made .foot-dot { opacity: 0.45; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.22); }
  30% { transform: scale(1); }
  45% { transform: scale(1.12); }
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero feature chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips span {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  padding: 9px 14px; border-radius: 999px;
}

/* ---------- hero scheduling card ---------- */
.plan-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 16px; display: flex; flex-direction: column; gap: 13px;
}
.plan-title { font-size: 15px; font-weight: 700; }
.plan-avatars { display: flex; align-items: center; }
.plan-avatars i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface); margin-right: -8px; }
.plan-avatars b { margin-left: 16px; font-size: 12px; color: var(--text-2); font-weight: 600; }
.plan-week { display: flex; flex-direction: column; gap: 7px; }
.p-row { display: grid; grid-template-columns: 34px 1fr 1fr 1fr; gap: 6px; align-items: center; }
.p-row span { font-size: 12px; color: var(--text-2); }
.p-row i { height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.05); }
.p-row i.free { background: rgba(34, 197, 94, 0.3); }
.plan-best {
  text-align: center; font-size: 13px; font-weight: 700; color: var(--red-soft);
  background: rgba(255, 122, 0, 0.12); border: 1px solid rgba(255, 122, 0, 0.25);
  padding: 9px; border-radius: 12px;
}
.plan-cta {
  text-align: center; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px; border-radius: 12px; box-shadow: 0 10px 24px rgba(190, 18, 60, 0.4);
}

/* ---------- group itinerary ---------- */
.itin-head { font-weight: 700; color: var(--text-2); font-size: 14px; margin-bottom: 6px; }
.itin-list { display: flex; flex-direction: column; }
.itin-item { display: grid; grid-template-columns: 48px 16px 1fr; gap: 12px; align-items: center; padding: 10px 0; }
.itin-item b { color: var(--red-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.itin-item i {
  width: 11px; height: 11px; border-radius: 50%; background: var(--c); justify-self: center;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent);
}
.itin-item span { color: var(--text); font-weight: 500; }
.itin-share {
  margin-top: 14px; text-align: center; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border); border-radius: 12px; padding: 11px;
  font-weight: 600; color: var(--red-soft);
}

/* ---------- game-night band (secondary) ---------- */
.games-band .section-head { margin-bottom: 40px; }
.game-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.games-note { text-align: center; color: var(--text-2); font-size: 15px; font-weight: 500; margin-top: 28px; }

/* ---------- announcement bar ---------- */
.topbar {
  position: relative; z-index: 2; display: flex; justify-content: center; align-items: center;
  gap: 10px; flex-wrap: wrap; text-align: center; font-size: 13.5px; color: var(--text-2);
  padding: 10px 16px; background: linear-gradient(90deg, rgba(255, 122, 0, 0.1), rgba(190, 18, 60, 0.1));
  border-bottom: 1px solid var(--border);
}
.topbar a { color: var(--red-soft); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.topbar .material-icons-round { font-size: 16px; transition: transform 0.15s; }
.topbar a:hover .material-icons-round { transform: translateX(3px); }

/* ---------- hero grid backdrop ---------- */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -60px 0 0 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 85% at 62% 12%, #000, transparent 68%);
  mask-image: radial-gradient(120% 85% at 62% 12%, #000, transparent 68%);
}

/* ---------- headline highlight ---------- */
.mark { position: relative; white-space: nowrap; }
.mark::before {
  content: ""; position: absolute; left: -5px; right: -5px; bottom: 8%; height: 32%; z-index: -1;
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.55), rgba(251, 113, 133, 0.32));
  border-radius: 6px; transform: rotate(-1.5deg);
}

/* ---------- button icons ---------- */
.btn .material-icons-round { font-size: 19px; }

/* ---------- social proof ---------- */
.proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.avatars { display: flex; }
.avatars i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid var(--bg); margin-right: -10px; }
.proof-text { display: flex; flex-direction: column; text-align: left; }
.stars { display: flex; color: #f5c518; }
.stars .material-icons-round { font-size: 17px; }
.proof-text span { font-size: 13px; color: var(--text-2); }

/* ---------- floating product cards ---------- */
.phone-wrap { position: relative; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(26, 29, 38, 0.72); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: 14px; padding: 10px 13px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.float-card b { font-size: 13px; display: block; }
.float-card small { font-size: 11px; color: var(--text-3); }
.fc-text { line-height: 1.25; }
.fc-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 20%, transparent); }
.fc-ico .material-icons-round { color: var(--c); font-size: 19px; }
.fc-avatars { display: flex; }
.fc-avatars i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid #1a1d26; margin-right: -7px; }
.fc-top { top: 44px; left: -60px; animation: floatA 5s ease-in-out infinite; }
.fc-right { top: 172px; right: -52px; animation: floatB 6s ease-in-out infinite 0.4s; }
.fc-bottom { bottom: 92px; left: -40px; animation: floatA 5.5s ease-in-out infinite 0.8s; }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(11px); } }

/* ---------- app store badges (inline SVG) ---------- */
.store-row { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.store-badge {
  display: inline-flex; border-radius: 9px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4); }
.store-badge:focus-visible { outline: 2px solid var(--red-soft); outline-offset: 3px; }
/* Both badge SVGs are drawn at a 40-unit height, so one CSS height keeps them
   perfectly matched — the viewBox handles each badge's own aspect ratio. */
.badge-svg { display: block; height: 52px; width: auto; }

/* ---------- legal / policy pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; position: relative; z-index: 1; }
.legal-head { margin-bottom: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-head h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -1px; }
.legal-head .updated { color: var(--text-3); font-size: 14px; margin-top: 12px; }
.legal .toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 24px; margin: 32px 0 8px;
}
.legal .toc h4 { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.legal .toc ul { margin: 0; padding: 0; list-style: none; columns: 2; }
.legal .toc li { margin-bottom: 8px; }
.legal .toc a { color: var(--text-2); font-size: 15px; }
.legal .toc a:hover { color: var(--red-soft); }
.legal h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; letter-spacing: -0.4px; color: var(--text); scroll-margin-top: 90px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-2); font-size: 16px; line-height: 1.72; }
.legal p { margin-bottom: 14px; }
.legal ul.body { margin: 0 0 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--red-soft); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .callout {
  background: color-mix(in srgb, var(--red) 8%, var(--surface));
  border: 1px solid rgba(255, 122, 0, 0.25); border-radius: 14px;
  padding: 16px 18px; margin: 20px 0; color: var(--text-2); font-size: 15px;
}
.legal .callout strong { color: var(--red-soft); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; right: 16px; left: 16px;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 14px;
    background: var(--elevated); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 12px; border-radius: 10px; }
  .nav-links a:not(.btn):hover { background: rgba(255,255,255,0.05); }
  .nav-links a:not(.btn)::after { display: none; } /* no underline slide in the stacked menu */
  .nav-cta { margin: 6px 0 2px; justify-content: center; } /* full-width CTA at the foot of the menu */
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 44px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .cta-row, .hero-stats, .chips, .proof { justify-content: center; }
  .hero-device { margin-top: 20px; }
  .float-card { display: none; } /* would overflow the single column */

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid.tight { grid-template-columns: 1fr 1fr; }
  .game-catalogue, .game-row { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-copy { order: 0; }
}

@media (max-width: 560px) {
  .section { padding: 64px 20px; }
  .feature-grid, .feature-grid.tight, .game-catalogue { grid-template-columns: 1fr; }
  .game-row { grid-template-columns: 1fr 1fr; }
  .legal .toc ul { columns: 1; }
  .hero-stats { gap: 20px 28px; }
  .phone { width: 260px; height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  .float, .float-card, .foot-made .heart,
  .mini-cal, .mini-bill, .itinerary-card { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
