/* ═══════════════════════════════════════════════════════
   Diaroo.app — The #1 app for tracking your #2
   Static Website Styles — Dark Theme
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* Dark Theme Colors (matching diaroo app) */
  --primary: #D38D64;
  --primary-light: #E2AB88;
  --primary-dark: #B16D45;

  --accent: #FFC837;
  --accent-alt: #FF8008;
  --coral: #FF7B54;

  /* Backgrounds */
  --bg: #1A1412;
  --bg-card: #29201C;
  --bg-elevated: #3A2E28;
  --bg-gradient-start: #2A1F1A;
  --bg-gradient-end: #130E0C;

  /* Text */
  --text: #F5EBE6;
  --text-secondary: #A99B95;
  --text-muted: #7A6B65;
  --text-inverse: #1A1412;

  /* Glass / Borders */
  --glass-bg: rgba(41, 32, 28, 0.55);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border: rgba(211, 141, 100, 0.15);
  --divider: rgba(255, 255, 255, 0.05);

  /* Functional */
  --success: #48BB78;
  --warning: #ECC94B;
  --error: #FC8181;
  --info: #63B3ED;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-fun: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows (dark mode — subtler warm glows) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(255, 200, 55, 0.25);
  --shadow-glow-primary: 0 0 30px rgba(211, 141, 100, 0.2);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-fun);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ── Floating Poop Background ────────────────────── */
.poop-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.poop-float {
  position: absolute;
  font-size: 2rem;
  opacity: 0.04;
  animation: floatUp linear infinite;
  will-change: transform;
}

@keyframes floatUp {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.04;
  }
  90% {
    opacity: 0.04;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* ── Scroll Progress ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  z-index: 1001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Navigation ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-xl);
  transition: all 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(26, 20, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-fun);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-fun);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.2s;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--text-inverse) !important;
  padding: var(--space-sm) var(--space-lg) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
  color: var(--text-inverse) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-primary);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--text);
}

/* ── Hero Section ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--space-xl) var(--space-4xl);
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg) 40%, var(--bg-gradient-end) 100%);
  overflow: hidden;
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(211, 141, 100, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-mascot {
  font-size: 6rem;
  display: inline-block;
  animation: wiggle 2s ease-in-out infinite;
  cursor: pointer;
  user-select: none;
  filter: drop-shadow(0 8px 24px rgba(211, 141, 100, 0.3));
  transition: transform 0.2s;
}

.hero-mascot:hover {
  animation: wiggle 0.3s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  25% { transform: rotate(3deg) scale(1.02); }
  50% { transform: rotate(-2deg) scale(1); }
  75% { transform: rotate(2deg) scale(1.01); }
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.875rem;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 200, 55, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 0 20px 4px rgba(255, 200, 55, 0.15); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--text);
  margin-bottom: var(--space-md);
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-family: var(--font-fun);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: var(--text-inverse);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--primary);
  border: 1px solid rgba(211, 141, 100, 0.3);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--text-inverse);
  transform: translateY(-3px);
  backdrop-filter: none;
}

.btn-store {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 1rem;
  border: 1px solid var(--glass-border);
}
.btn-store:hover {
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: rgba(41, 32, 28, 0.75);
  border-color: var(--primary);
}

.btn-store .store-icon {
  font-size: 1.5rem;
}

.btn-store .store-text {
  text-align: left;
  line-height: 1.2;
}
.btn-store .store-text small {
  font-size: 0.7rem;
  opacity: 0.7;
  font-weight: 400;
}
.btn-store .store-text span {
  display: block;
  font-weight: 700;
}

/* ── Section Base ────────────────────────────────── */
.section {
  position: relative;
  padding: var(--space-4xl) var(--space-xl);
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header .emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-md);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Features Section ────────────────────────────── */
.features {
  background: var(--bg-card);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(211, 141, 100, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
  background: rgba(41, 32, 28, 0.7);
}

.feature-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: var(--space-md);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Screenshots Section ─────────────────────────── */
.screenshots {
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: var(--text);
  overflow: hidden;
}

.screenshots .section-header h2 {
  color: var(--text);
}
.screenshots .section-header p {
  color: var(--text-secondary);
}

.screenshots-carousel {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  padding: var(--space-lg) var(--space-md);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  border: 4px solid #333;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(211, 141, 100, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-frame:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(211, 141, 100, 0.12);
}

.phone-frame img {
  width: 100%;
  display: block;
}

.screenshot-label {
  margin-top: var(--space-md);
  font-family: var(--font-fun);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

/* ── Fun Facts Ticker ────────────────────────────── */
.facts-ticker {
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  padding: var(--space-md) 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  animation: ticker 40s linear infinite;
  width: max-content;
}

.ticker-item {
  flex: 0 0 auto;
  padding: 0 var(--space-3xl);
  font-family: var(--font-fun);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-inverse);
  white-space: nowrap;
}

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

/* ── Stats Section ───────────────────────────────── */
.stats {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: rgba(211, 141, 100, 0.25);
  transform: translateY(-4px);
}

.stat-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.stat-number {
  font-family: var(--font-fun);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── How It Works ────────────────────────────────── */
.how-it-works {
  background: var(--bg-card);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-2xl);
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  padding: var(--space-2xl) var(--space-lg);
  transition: all 0.3s ease;
}

.step:hover {
  border-color: rgba(211, 141, 100, 0.25);
  transform: translateY(-4px);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-glow-primary);
}

.step-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.step p {
  color: var(--text-secondary);
}

/* ── CTA Section ─────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-gradient-end) 100%);
  color: var(--text);
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta h2 {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.cta p {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 1.25rem;
  padding: var(--space-lg) var(--space-2xl);
}
.cta .btn-primary:hover {
  background: var(--accent-alt);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
}

.cta .hero-buttons {
  margin-top: var(--space-xl);
}

/* ── Throne Timer ────────────────────────────────── */
.throne-timer {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-fun);
  font-size: 0.85rem;
  color: var(--primary);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--glass-border);
}

.throne-timer:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.throne-timer .timer-emoji {
  font-size: 1.2rem;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--bg-gradient-end);
  color: var(--text-secondary);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-fun);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.footer-brand .logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-fun);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .footer-legal-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom .footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom .footer-legal-links a:hover {
  color: var(--accent);
}

/* ── Legal Pages ─────────────────────────────────── */
.legal-page {
  padding-top: 100px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-3xl);
  border: 1px solid var(--glass-border);
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content strong {
  color: var(--text);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.legal-content th, .legal-content td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  text-align: left;
}

.legal-content th {
  background: var(--bg-elevated);
  font-weight: 700;
  color: var(--text);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-family: var(--font-fun);
  font-weight: 600;
  color: var(--primary);
}
.legal-back:hover {
  color: var(--accent);
}

/* ── Support Page ────────────────────────────────── */
.support-page {
  padding-top: 100px;
  min-height: 100vh;
}

.support-content {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}

.support-content h1 {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.support-content > p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--space-3xl);
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.support-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--glass-border);
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.support-card .icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-md);
}

.support-card h3 {
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.support-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.support-card a.card-link {
  font-family: var(--font-fun);
  font-weight: 600;
  color: var(--primary);
}

/* ── Animations ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 20, 18, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .hero {
    padding: 100px var(--space-md) var(--space-2xl);
    min-height: auto;
  }

  .hero-mascot {
    font-size: 4rem;
  }

  .section {
    padding: var(--space-3xl) var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

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

  .throne-timer {
    bottom: var(--space-sm);
    right: var(--space-sm);
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .phone-frame {
    width: 220px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .legal-content {
    border-radius: var(--radius-md);
    margin: 0 var(--space-sm) var(--space-2xl);
    padding: var(--space-xl) var(--space-md);
  }

  .legal-content h1 {
    font-size: 1.75rem;
  }
}

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
