/* Kitty product page styles. Self-contained (doesn't depend on the shared
   site stylesheet) so changes to the main Criers site can never break this
   page, and vice versa. Mirrors the app's own design tokens: warm off-white
   canvas, coral + violet accents, no gradients beyond the hero, soft 18px
   radii to match the app's card surfaces. */

:root {
  color-scheme: light dark;
  --canvas: #f3f0ea;
  --surface: #ffffff;
  --text: #2e2823;
  --text2: rgba(46, 40, 35, 0.6);
  --text3: rgba(46, 40, 35, 0.4);
  --hairline: rgba(46, 40, 35, 0.1);
  --coral: #de614d;
  --coral-tint: rgba(222, 97, 77, 0.12);
  --violet: #7866de;
  --violet-tint: rgba(120, 102, 222, 0.12);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #201c18;
    --surface: #2b2622;
    --text: #f3f0ea;
    --text2: rgba(243, 240, 234, 0.65);
    --text3: rgba(243, 240, 234, 0.42);
    --hairline: rgba(243, 240, 234, 0.12);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--coral) 0%, #c8503e 100%);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}

.hero .icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  margin-bottom: 20px;
  cursor: pointer;
  animation: heroIn .6s ease both, iconBob 3.2s ease-in-out .6s infinite;
}

.hero .icon.wiggle { animation: iconWiggle .5s ease; }

.hero h1 { animation: heroIn .6s ease .08s both; }
.hero .tagline { animation: heroIn .6s ease .16s both; }
.badge-row { animation: heroIn .6s ease .24s both; }

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}

.hero .tagline {
  font-size: 18px;
  font-weight: 500;
  max-width: 480px;
  margin: 0 auto 28px;
  opacity: 0.96;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  animation: badgePulse 2.6s ease-in-out infinite;
  transition: transform .15s ease;
}

.store-badge img { display: block; height: 40px; width: auto; }

.store-badge:hover { text-decoration: none; transform: translateY(-2px) scale(1.04); }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes iconBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}

@keyframes iconWiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(11deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}

/* Sections */

main { padding: 56px 0 40px; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 8px;
}

.section h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin: 0 0 12px;
}

.section p.lead {
  color: var(--text2);
  font-size: 16px;
  max-width: 560px;
}

.section { margin-bottom: 56px; }

.section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.section.is-visible { opacity: 1; transform: translateY(0); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.feature-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.feature-card.coral .dot { background: var(--coral); }
.feature-card.violet .dot { background: var(--violet); }

.feature-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.feature-card p { font-size: 14px; color: var(--text2); margin: 0; }

.game-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.game-pill {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}

.game-pill:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--coral);
  color: #fff;
}

.callout {
  background: var(--violet-tint);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text);
}

.callout strong { color: var(--violet); }

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 24px 48px;
  text-align: center;
  font-size: 13px;
  color: var(--text3);
}

.site-footer .row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.site-footer a { color: var(--text2); font-weight: 500; }

/* Document pages (privacy, terms) */

.doc { max-width: 640px; margin: 0 auto; padding: 48px 24px 80px; }

.doc .home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 40px;
}

.doc .home img { width: 28px; height: auto; border-radius: 7px; }

.doc h1 { font-size: 30px; font-weight: 700; letter-spacing: 0.2px; margin: 0 0 4px; }

.doc .updated { font-size: 13px; color: var(--text3); margin: 0 0 12px; }

.doc h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 36px 0 8px;
  padding-top: 20px;
  border-top: 0.5px solid var(--hairline);
}

.doc p, .doc li { color: var(--text); }
.doc .muted { color: var(--text2); }

.doc footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 0.5px solid var(--hairline);
  font-size: 13px;
  color: var(--text3);
}

/* Motion */

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .section { opacity: 1 !important; transform: none !important; }
}
