:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #ff4a43;
  --accent-dark: #cf2028;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --maxw: 920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 74, 67, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 201, 66, 0.10), transparent 22%),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f6 100%);
  line-height: 1.65;
}

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

.page {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f6 100%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 22px 20px 18px;
  text-align: center;
  margin-top: 14px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(255, 74, 67, 0.16), transparent 65%);
}

.hero::after {
  width: 180px;
  height: 180px;
  left: -60px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(255, 214, 10, 0.14), transparent 65%);
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(17,24,39,0.06);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  animation: floaty 5s ease-in-out infinite;
}

.logo-wrap img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
}

.eyebrow {
  display: inline-block;
  margin-top: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 74, 67, 0.10);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.03rem;
}

.meta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: #374151;
  font-size: 0.95rem;
}

.nav-card,
.content-card,
.footer-card {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-card {
  padding: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  color: #374151;
}

.nav-link.active,
.nav-link:hover {
  background: rgba(255, 74, 67, 0.10);
  color: var(--accent-dark);
  text-decoration: none;
}

.content-card {
  padding: 26px 18px;
}

.section {
  padding: 6px 0 18px;
  border-bottom: 1px solid var(--border);
}

.section:last-child { border-bottom: 0; padding-bottom: 0; }

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.section p,
.section li {
  color: #374151;
}

.section ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.highlight {
  margin-top: 14px;
  padding: 14px 15px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8f7 0%, #fff 100%);
  border: 1px solid rgba(255, 74, 67, 0.16);
}

.contact-box {
  margin-top: 12px;
  padding: 14px 15px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.footer-card {
  padding: 18px;
  text-align: center;
}

.small {
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 768px) {
  .page { padding: 28px 24px 60px; }
  .hero { padding: 30px 34px 24px; }
  .content-card { padding: 34px 34px; }
}

/* ===== Landing page layout ===== */

body.landing-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(16,24,40,0.30), rgba(16,24,40,0.40)),
    url("zoo-background.jpg") center / cover no-repeat;
}

.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.landing-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 40%);
  pointer-events: none;
}

.landing-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ===== Logo animation ===== */

.landing-logo {
  width: min(78vw, 460px);
  height: auto;
  display: block;
  margin-bottom: 28px;

  animation: logoIdle 6s ease-in-out infinite;

  filter: drop-shadow(0 14px 32px rgba(0,0,0,0.30));
}

@keyframes logoIdle {
  0% { transform: translateY(0px) scale(1); }
  25% { transform: translateY(-6px) scale(1.01); }
  50% { transform: translateY(0px) scale(1); }
  75% { transform: translateY(5px) scale(0.995); }
  100% { transform: translateY(0px) scale(1); }
}

/* ===== Store badges ===== */

.store-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: block;
  height: 60px;
  width: auto;
  transition: transform .2s ease, opacity .2s ease;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

.store-badges a:hover .store-badge {
  transform: translateY(-2px);
  opacity: 0.95;
}

.google-play-badge {
  height: 60px;
}

/* ===== Footer links ===== */

.landing-footer {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 100%;
  text-align: center;

  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.landing-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

.footer-divider {
  margin: 0 8px;
  opacity: .7;
}

/* ===== Mobile adjustments ===== */

@media (max-width: 600px) {

  .landing-logo {
    width: min(85vw, 320px);
  }

  .store-badge {
    height: 50px;
  }

  .google-play-badge {
    height: 50px;
  }

}