/* ═══════════════════════════════════════════════════
   PETOPIA: MERGE & COLLECT — Marketing Site Styles
   Premium design with SEO-optimized structure
   ═══════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root {
  --bg: #0c0e1a;
  --bg-warm: #111320;
  --surface: rgba(255, 249, 238, 0.06);
  --surface-strong: rgba(255, 250, 242, 0.08);
  --surface-glass: rgba(255, 255, 255, 0.04);
  --text: #f0eee6;
  --text-secondary: #a9adb8;
  --muted: #6b7280;
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(255, 255, 255, 0.12);
  --accent: #ff6b6b;
  --accent-deep: #ef476f;
  --accent-warm: #ff9f43;
  --accent-cool: #4facfe;
  --accent-purple: #a855f7;
  --accent-green: #34d399;
  --glow-primary: rgba(255, 107, 107, 0.4);
  --glow-cool: rgba(79, 172, 254, 0.3);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.3);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1200px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background ambient glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(255, 107, 107, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(79, 172, 254, 0.06), transparent),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(168, 85, 247, 0.05), transparent);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 8px;
}

/* ─── LAYOUT ─── */
.site-header,
.how-to-play,
.feature-story,
.worlds,
.pet-band,
.testimonials,
.faq,
.final-cta,
.legal-page {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-light), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.site-nav a {
  transition: color 200ms var(--transition);
}

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

.nav-download-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px var(--glow-primary);
  transition: transform 200ms var(--transition), box-shadow 200ms var(--transition);
}

.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--glow-primary);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 100px 24px 60px;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-main {
  filter: saturate(1.1) contrast(1.05) brightness(0.7);
}

.hero-bg-secondary {
  mix-blend-mode: screen;
  opacity: 0.25;
  transform: scale(1.1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 14, 26, 0.92) 0%, rgba(12, 14, 26, 0.4) 48%, rgba(12, 14, 26, 0.7) 100%),
    linear-gradient(180deg, rgba(12, 14, 26, 0.2), rgba(12, 14, 26, 0.85) 100%);
}

.hero-copy,
.hero-orbit {
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(100%, 600px);
  padding-top: 8vh;
  margin-left: min(5vw, 60px);
  animation: rise-in 0.8s ease-out both;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  color: var(--accent-warm);
}

.eyebrow-badge {
  display: inline-block;
  padding: 3px 10px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.3);
  font-size: 0.68rem;
  color: var(--accent-warm);
  vertical-align: middle;
}

.hero-lockup {
  width: min(420px, 80vw);
  margin-bottom: 20px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  background: linear-gradient(135deg, #fff 0%, #e8d5c4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  max-width: 34rem;
  margin: 18px 0 0;
  color: rgba(255, 249, 243, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-subtext {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 249, 243, 0.55);
  font-weight: 500;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hero-stat-divider {
  opacity: 0.3;
}

/* Store badges */
.store-badge {
  display: inline-block;
  transition: transform 220ms var(--transition), filter 220ms var(--transition);
}

.store-badge:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.1);
}

.store-svg {
  height: 48px;
  width: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Hero orbit */
.hero-orbit {
  position: absolute;
  right: clamp(12px, 6vw, 100px);
  top: 16vh;
  width: min(36vw, 440px);
  height: min(36vw, 440px);
  animation: float-in 1s ease-out both;
}

.pet {
  position: absolute;
  width: clamp(80px, 11vw, 140px);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
  transition: transform 300ms var(--transition);
}

.pet:hover {
  transform: scale(1.15) !important;
}

.pet-a { top: 0; right: 16%; animation: drift 6s ease-in-out infinite; }
.pet-b { top: 28%; right: 0; animation: drift 7s ease-in-out infinite 0.8s; }
.pet-c { bottom: 10%; right: 34%; animation: drift 5.4s ease-in-out infinite 0.4s; }
.pet-d { left: 2%; top: 34%; animation: drift 6.8s ease-in-out infinite 1s; }

/* ─── INFINITE MARQUEE ─── */
.marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 1;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: scroll-marquee 30s linear infinite;
  width: max-content;
}

.marquee-track p {
  margin: 0;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── AD CONTAINER (tasteful, non-intrusive) ─── */
.ad-container {
  width: min(calc(100% - 40px), 728px);
  margin: 0 auto 40px;
  padding: 8px 0;
  position: relative;
  z-index: 1;
  text-align: center;
  min-height: 50px;
}

.ad-container::before {
  content: "sponsored";
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  opacity: 0.5;
}

/* ─── GAMEPLAY VIDEO DEMO ─── */
.gameplay-demo {
  padding: 40px 0 80px;
  text-align: center;
}

.gameplay-demo .section-intro {
  margin-bottom: 48px;
}

.gameplay-demo h2 {
  max-width: 600px;
  margin: 0 auto;
}

.demo-phone-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 10px;
  background: #111; /* Dark frame color */
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3), inset 0 0 0 2px #333;
}

.demo-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #111;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}

.demo-video {
  width: 100%;
  display: block;
  border-radius: 32px;
  background-color: var(--surface);
  object-fit: cover;
}

.demo-caption {
  max-width: 480px;
  margin: 32px auto 0;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── HOW TO PLAY ─── */
.how-to-play {
  padding: 40px 0 80px;
}

.how-to-play .section-intro {
  text-align: center;
  margin-bottom: 48px;
}

.how-to-play h2 {
  max-width: 600px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 300ms var(--transition), box-shadow 300ms var(--transition), border-color 300ms var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--line-light);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 24px var(--glow-primary);
}

.step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, var(--accent-cool), var(--accent-purple));
  box-shadow: 0 8px 24px var(--glow-cool);
}

.step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, var(--accent-green), #06b6d4);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.3);
}

.step-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ─── FEATURE STORY ─── */
.feature-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.story-copy {
  padding: 8px;
}

.story-copy h2 {
  margin-bottom: 16px;
}

.story-copy > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.story-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.story-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.story-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.story-list li strong {
  color: var(--text);
  font-weight: 700;
}

.story-actions {
  margin-top: 28px;
}

.story-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ─── BUTTON ─── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 200ms var(--transition), box-shadow 200ms var(--transition);
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 32px var(--glow-primary);
}

.button-primary:hover {
  box-shadow: 0 16px 40px var(--glow-primary);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line-light);
  background: var(--surface-glass);
}

/* ─── WORLDS ─── */
.worlds {
  padding: 0 0 80px;
}

.section-intro {
  margin-bottom: 32px;
}

.section-intro .section-label {
  margin-bottom: 12px;
}

.world-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.world-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 280ms var(--transition), box-shadow 280ms var(--transition), border-color 280ms var(--transition);
}

.world-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
  border-color: var(--line-light);
}

.world-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  transition: transform 500ms var(--transition);
}

.world-card:hover img {
  transform: scale(1.05);
}

.world-card div {
  padding: 22px 24px;
}

.world-card h3 {
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.world-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ─── PET COLLECTION ─── */
.pet-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px;
  margin-bottom: 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.pet-band-copy h2 {
  margin-bottom: 16px;
}

.pet-band-copy > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.pet-species-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.species-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-secondary);
  transition: border-color 200ms, background 200ms;
}

.species-tag:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 107, 0.08);
}

.tag-more {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(168, 85, 247, 0.1));
  border-color: rgba(255, 107, 107, 0.3);
  color: var(--accent);
}

.pet-band-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pet-band-row img {
  width: 100%;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 107, 107, 0.08), rgba(168, 85, 247, 0.06));
  border: 1px solid var(--line);
  transition: transform 300ms var(--transition), box-shadow 300ms var(--transition);
}

.pet-band-row img:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 0 0 80px;
}

.testimonials .section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials h2 {
  max-width: 500px;
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 300ms var(--transition), box-shadow 300ms var(--transition);
  margin: 0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}

/* ─── FAQ ─── */
.faq {
  padding: 0 0 80px;
}

.faq .section-intro {
  text-align: center;
  margin-bottom: 40px;
}

.faq h2 {
  max-width: 500px;
  margin: 0 auto;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 200ms var(--transition);
}

.faq-item[open] {
  border-color: var(--line-light);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 200ms;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform 300ms var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ─── FINAL CTA ─── */
.final-cta {
  text-align: center;
  padding: 64px 40px;
  margin-bottom: 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at center, rgba(255, 107, 107, 0.06), transparent 70%),
    var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  max-width: 600px;
  margin: 0 auto 8px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

/* ─── FOOTER ─── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: rgba(12, 14, 26, 0.8);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-links {
  display: inline-flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  width: 100%;
  text-align: center;
  margin-top: 16px;
}

/* ─── LEGAL PAGE ─── */
.legal-page {
  margin-top: 100px;
  margin-bottom: 72px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.legal-page h2 {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page a {
  color: var(--accent-cool);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── ANIMATIONS ─── */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(24px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

/* Scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--transition), transform 600ms var(--transition);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-card.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.step-card.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.world-card.animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.world-card.animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.world-card.animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.testimonial-card.animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.testimonial-card.animate-on-scroll:nth-child(3) { transition-delay: 200ms; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-orbit {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 200px;
    margin-top: 36px;
  }

  .hero-copy {
    margin-left: 0;
    padding-top: 0;
    width: min(100%, 640px);
  }

  .hero {
    min-height: auto;
    padding: 120px 20px 50px;
  }

  .feature-story,
  .pet-band {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .steps-grid,
  .testimonial-grid,
  .world-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .section-intro {
    text-align: left;
  }

  .how-to-play .section-intro,
  .testimonials .section-intro,
  .faq .section-intro {
    text-align: left;
  }

  .how-to-play h2,
  .testimonials h2,
  .faq h2 {
    margin: 0;
  }

  .pet-band-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 12px 16px;
    flex-wrap: wrap;
  }

  .feature-story,
  .pet-band,
  .final-cta,
  .legal-page {
    padding: 24px 20px;
  }

  .marquee-track p {
    font-size: 0.82rem;
  }

  .pet-band-row img {
    padding: 16px;
  }

  .store-svg {
    height: 42px;
  }
}
