/* Arrow Clear — arrows-puzzle.com
   Liquid Glass / neon aesthetic, dark theme. Single shared stylesheet. */

:root {
  --bg-0: #0e1326;
  --bg-1: #080a14;
  --ink: #eef1fb;
  --ink-soft: #aeb6d6;
  --ink-dim: #7e87ad;
  --blue: #6ea8ff;
  --purple: #b07cff;
  --teal: #38d6bf;
  --pink: #ff7ab0;
  --amber: #ffc46b;
  --green: #57d88a;
  --grad: linear-gradient(150deg, #6ea8ff, #b07cff);
  --glass-fill: rgba(255, 255, 255, 0.055);
  --glass-stroke: rgba(255, 255, 255, 0.12);
  --radius: 26px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Aurora background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(110, 168, 255, 0.22), transparent 60%),
    radial-gradient(55% 45% at 85% 12%, rgba(176, 124, 255, 0.20), transparent 60%),
    radial-gradient(50% 45% at 50% 100%, rgba(56, 214, 191, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* ---------- Glass surface ---------- */
.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 13, 26, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span { font-size: 17px; letter-spacing: 0.2px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink-soft); font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons / badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 30px rgba(110, 124, 240, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(110, 124, 240, 0.55); }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-radius: 16px;
  background: var(--glass-fill); border: 1px solid var(--glass-stroke);
  color: var(--ink); min-width: 200px;
}
.store-badge:hover { text-decoration: none; border-color: rgba(255,255,255,0.22); }
.store-badge.disabled { opacity: 0.55; pointer-events: none; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .l1 { display: block; font-size: 11px; color: var(--ink-dim); line-height: 1.2; }
.store-badge .l2 { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; margin: 0 0 18px;
  letter-spacing: -0.5px; font-weight: 800;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 30px; max-width: 30em; }
.hero-cta { margin-top: 8px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-dim); }

.device {
  position: relative; aspect-ratio: 1 / 1; border-radius: 40px;
  display: grid; place-items: center; padding: 18px;
}
.device img { width: 64%; border-radius: 28px; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)); }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 12px; letter-spacing: -0.3px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* How to play */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 28px; }
.step .num {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; color: #fff; background: var(--grad); margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 26px; }
.feature .dot { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 16px; box-shadow: 0 0 16px currentColor; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* CTA band */
.cta-band { padding: 48px; text-align: center; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; }
.cta-band p { color: var(--ink-soft); margin: 0 0 26px; }
.cta-band .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 60px; border-top: 1px solid rgba(255, 255, 255, 0.06); margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-grid .brand span { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--ink-soft); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { margin-top: 26px; font-size: 13px; color: var(--ink-dim); max-width: 70ch; }

/* ---------- Legal / content pages ---------- */
.legal { padding: 56px 0 40px; }
.legal .crumb { font-size: 13px; color: var(--ink-dim); margin-bottom: 20px; }
.legal .crumb a { color: var(--ink-soft); }
.legal-card { padding: 40px clamp(24px, 5vw, 56px); }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; letter-spacing: -0.4px; }
.legal .updated { color: var(--ink-dim); font-size: 14px; margin: 0 0 28px; }
.legal h2 { font-size: 20px; margin: 32px 0 10px; color: var(--ink); }
.legal h2:first-of-type { margin-top: 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--blue); }
.legal .meta-table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
.legal .meta-table th, .legal .meta-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); vertical-align: top; font-size: 16px; }
.legal .meta-table th { color: var(--ink-dim); font-weight: 600; width: 38%; white-space: nowrap; padding-right: 18px; }
.legal .meta-table td { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 40px; }
  .device { max-width: 360px; margin: 0 auto; }
  .steps, .features { grid-template-columns: 1fr; }
  .nav { display: none; }
  .cta-band { padding: 34px 22px; }
}
@media (max-width: 480px) {
  .store-badge { min-width: 0; flex: 1; }
}
