/* ============================================================
   Word Adventures — Shared Stylesheet
   Palette drawn from app screenshots:
     cream bg, warm orange, pastoral green, sky blue, sun gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:          #F6F1E7;
  --cream-dark:     #EDE5D4;
  --cream-card:     #FDFAF3;
  --orange:         #D97B3D;
  --orange-light:   #F5B07A;
  --orange-bg:      #FDF0E4;
  --green:          #5A9E2F;
  --green-light:    #8DC855;
  --green-bg:       #EDF7E4;
  --blue:           #4A90C4;
  --blue-bg:        #E4F2FB;
  --gold:           #E8B530;
  --gold-bg:        #FDF8E0;
  --text:           #2C1F0E;
  --text-mid:       #6B5240;
  --text-light:     #9B846A;
  --white:          #FFFFFF;
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      40px;
  --shadow-sm:      0 2px 8px rgba(44,31,14,.08);
  --shadow-md:      0 4px 20px rgba(44,31,14,.12);
  --shadow-lg:      0 8px 40px rgba(44,31,14,.14);
  --font:           'Nunito', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  background: var(--cream);
  border-bottom: 2px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.site-logo .logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

.site-nav a {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-mid);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}

.site-nav a:hover {
  background: var(--cream-dark);
  color: var(--text);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #EAD9BB 0%, #F5E6C8 40%, #EEF5E0 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle illustrated dots / circles in the background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(217,123,61,.12) 80px, transparent 80px),
    radial-gradient(circle at 88% 12%, rgba(90,158,47,.10) 60px, transparent 60px),
    radial-gradient(circle at 75% 85%, rgba(74,144,196,.10) 90px, transparent 90px),
    radial-gradient(circle at 20% 80%, rgba(232,181,48,.12) 50px, transparent 50px);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.6);
  border: 1.5px solid rgba(217,123,61,.25);
  border-radius: 100px;
  padding: 4px 16px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-description {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 36px;
  font-weight: 600;
  line-height: 1.65;
}

/* ── Download Buttons ─────────────────────────────────────── */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  cursor: pointer;
  line-height: 1.2;
  border: none;
}

.btn-store:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-store:active { transform: translateY(0);    box-shadow: var(--shadow-sm); }

.btn-store.apple {
  background: var(--text);
  color: var(--white);
}

.btn-store.google {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--cream-dark);
}

.btn-store .store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-store .store-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-store .store-label small {
  font-size: .68rem;
  font-weight: 600;
  opacity: .7;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.btn-store .store-label span {
  font-size: 1rem;
  font-weight: 800;
}

.btn-store.coming-soon {
  opacity: .6;
  cursor: default;
}
.btn-store.coming-soon:hover { transform: none; box-shadow: none; }

/* ── Scene Strip ──────────────────────────────────────────── */
.scene-strip {
  background: var(--cream-dark);
  padding: 28px 0;
  overflow: hidden;
}

.scene-strip .container {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scene-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.scene-chip .chip-emoji { font-size: 1.1rem; }

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.65;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card.orange { background: var(--orange-bg); }
.feature-card.green  { background: var(--green-bg); }
.feature-card.blue   { background: var(--blue-bg); }
.feature-card.gold   { background: var(--gold-bg); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feature-card.orange .feature-icon { background: rgba(217,123,61,.18); }
.feature-card.green  .feature-icon { background: rgba(90,158,47,.18); }
.feature-card.blue   .feature-icon { background: rgba(74,144,196,.18); }
.feature-card.gold   .feature-icon { background: rgba(232,181,48,.18); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.feature-card p {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Audience section ─────────────────────────────────────── */
.audience {
  background: var(--cream-dark);
  padding: 72px 0;
}

.audience .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .audience .container { grid-template-columns: 1fr; }
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.audience-emoji {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.audience-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.65;
}

.audience-card ul {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audience-card li {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.audience-card li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Download CTA ─────────────────────────────────────────── */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta-inner {
  background: linear-gradient(135deg, #D97B3D 0%, #E8A058 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 5% 50%, rgba(255,255,255,.08) 100px, transparent 100px),
    radial-gradient(circle at 95% 20%, rgba(255,255,255,.08) 80px, transparent 80px);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .btn-store.apple {
  background: var(--white);
  color: var(--text);
}

.cta-inner .btn-store.google {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}

.cta-note {
  margin-top: 20px;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  letter-spacing: .02em;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.55);
  padding: 36px 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--orange);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-logo .logo-text {
  font-size: .9rem;
  font-weight: 800;
  color: rgba(255,255,255,.8);
}

.footer-copy {
  font-size: .82rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: var(--white); }

/* ── Privacy Policy Page ──────────────────────────────────── */
.privacy-hero {
  background: linear-gradient(160deg, #EAD9BB 0%, #F5E6C8 100%);
  padding: 52px 0 44px;
  border-bottom: 2px solid var(--cream-dark);
}

.privacy-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-mid);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color .15s;
}

.privacy-hero .back-link:hover { color: var(--orange); }

.privacy-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.privacy-hero .meta {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
}

.privacy-content {
  padding: 60px 0 80px;
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin: 44px 0 12px;
  padding-top: 4px;
  border-top: 2px solid var(--cream-dark);
}

.privacy-content h2:first-child { border-top: none; margin-top: 0; }

.privacy-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 24px 0 8px;
}

.privacy-content p {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}

.privacy-content ul, .privacy-content ol {
  margin: 8px 0 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.privacy-content li {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.65;
}

.privacy-content a {
  color: var(--orange);
  text-decoration: underline;
  font-weight: 700;
}

.privacy-content a:hover { color: var(--text); }

.privacy-callout {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.privacy-callout p {
  margin: 0;
  color: var(--text);
}

.privacy-callout.orange {
  background: var(--orange-bg);
  border-left-color: var(--orange);
}

.privacy-callout.blue {
  background: var(--blue-bg);
  border-left-color: var(--blue);
}

.contact-box {
  background: var(--cream-card);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 16px;
  text-align: center;
}

.contact-box p { margin: 0 0 6px; }

.contact-box a {
  font-size: 1.05rem;
  font-weight: 800;
}

/* ── Responsive tweaks ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 56px 0 52px; }
  .features, .cta { padding: 56px 0; }
  .audience { padding: 52px 0; }
  .cta-inner { padding: 44px 24px; border-radius: var(--radius-lg); }
  .privacy-content { padding: 40px 0 56px; }
}
