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

:root {
  --pink: #ff4d8d;
  --pink-soft: rgba(255, 77, 141, 0.12);
  --purple: #b06fff;
  --text-dark: #3d2060;
  --text-body: #5a3a7a;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(255, 160, 200, 0.22);
  --shadow: 0 14px 40px rgba(180, 80, 160, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: linear-gradient(145deg, #ffe4f2 0%, #f5e8ff 45%, #e8eeff 100%);
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 24px 18px 72px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  grid-template-columns: repeat(2, 26px);
  gap: 4px;
}

.brand-animal {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.38);
}

.brand-animal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.brand-animal.bear {
  background: linear-gradient(145deg, #FFA044, #DD7010);
}

.brand-animal.fox {
  background: linear-gradient(145deg, #FF5533, #DD2200);
}

.brand-animal.cat {
  background: linear-gradient(145deg, #FFE833, #DDBB00);
}

.brand-animal.owl {
  background: linear-gradient(145deg, #BB55FF, #8811EE);
}

.brand-name {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--pink);
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 18px rgba(180, 80, 160, 0.08);
  font-size: 12px;
  font-weight: 900;
  color: var(--text-dark);
  text-decoration: none;
}

.header-chip.primary {
  color: var(--pink);
}

.header-chip-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f06292;
  line-height: 1;
  margin-bottom: 4px;
}

.header-chip-value {
  display: block;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  line-height: 1;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.nav-pill {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(180, 80, 160, 0.08);
}

.nav-pill.active {
  background: linear-gradient(135deg, #ff80ab, #ff4d8d);
  color: #fff;
  border-color: transparent;
}

.hero-card,
.content-card,
.cta-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  border-radius: 30px;
  padding: 28px 22px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-card h1 {
  margin: 0 0 10px;
  font-family: 'Fredoka One', cursive;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.15;
  color: var(--pink);
}

.hero-card p {
  margin: 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
  color: var(--text-body);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.content-card {
  border-radius: 24px;
  padding: 22px 20px;
}

.content-card h2 {
  margin: 0 0 10px;
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: var(--purple);
}

.content-card h3 {
  margin: 18px 0 8px;
  font-family: 'Fredoka One', cursive;
  font-size: 16px;
  color: var(--text-dark);
}

.content-card p,
.content-card li {
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
  color: var(--text-body);
}

.content-card p {
  margin: 0 0 12px;
}

.content-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.content-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff80ab, #b06fff);
}

.tip-box {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 800;
}

.tip-box strong {
  color: var(--pink);
}

.animal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.animal-card {
  background: var(--surface-strong);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 18px 16px;
  text-align: center;
}

.animal-face {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.38), 0 6px 20px rgba(0, 0, 0, 0.08);
}

.animal-card h3 {
  margin: 0 0 6px;
}

.animal-card p {
  margin: 0;
  font-size: 14px;
}

.animal-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.animal-showcase-card {
  border-radius: 18px;
  padding: 14px 12px 12px;
  text-align: center;
  border: 1.5px solid rgba(255, 160, 200, 0.18);
}

.animal-showcase-card h3 {
  margin: 8px 0 4px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-dark);
}

.animal-showcase-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--text-body);
}

.animal-block {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.4), 0 3px 0 rgba(0, 0, 0, 0.08);
}

.animal-block svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.animal-showcase-card.bear { background: rgba(255, 160, 68, 0.13); }
.animal-showcase-card.fox { background: rgba(255, 85, 51, 0.12); }
.animal-showcase-card.frog { background: rgba(51, 255, 85, 0.11); }
.animal-showcase-card.bunny { background: rgba(255, 102, 187, 0.13); }
.animal-showcase-card.cat { background: rgba(255, 232, 51, 0.12); }
.animal-showcase-card.owl { background: rgba(187, 85, 255, 0.14); }

.guide-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-showcase-card {
  border-radius: 20px;
  padding: 16px 14px 14px;
  border: 1.5px solid rgba(255, 160, 200, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.guide-showcase-card h3 {
  margin: 10px 0 6px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: var(--text-dark);
}

.guide-showcase-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
  color: var(--text-body);
}

.guide-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.38), 0 3px 0 rgba(0, 0, 0, 0.06);
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #fff;
}

.guide-showcase-card.score {
  background: rgba(255, 160, 68, 0.12);
}

.guide-showcase-card.match {
  background: rgba(255, 102, 187, 0.12);
}

.guide-showcase-card.chain {
  background: rgba(187, 85, 255, 0.14);
}

.guide-showcase-card.fixed {
  background: rgba(255, 232, 51, 0.12);
}

.guide-showcase-card.procedural {
  background: rgba(255, 160, 68, 0.12);
}

.guide-showcase-card.spike {
  background: rgba(255, 102, 187, 0.12);
}

.guide-showcase-card.tight {
  background: rgba(255, 160, 68, 0.12);
}

.guide-showcase-card.mid {
  background: rgba(51, 255, 85, 0.11);
}

.guide-showcase-card.wide {
  background: rgba(187, 85, 255, 0.14);
}

.guide-badge.score {
  background: linear-gradient(145deg, #FFA044, #DD7010);
}

.guide-badge.match {
  background: linear-gradient(145deg, #FF66BB, #EE2288);
}

.guide-badge.chain {
  background: linear-gradient(145deg, #BB55FF, #8811EE);
}

.guide-badge.fixed {
  background: linear-gradient(145deg, #FFE833, #DDBB00);
  color: #7a4f00;
}

.guide-badge.procedural {
  background: linear-gradient(145deg, #FFA044, #DD7010);
}

.guide-badge.spike {
  background: linear-gradient(145deg, #FF66BB, #EE2288);
}

.guide-badge.tight {
  background: linear-gradient(145deg, #FFA044, #DD7010);
}

.guide-badge.mid {
  background: linear-gradient(145deg, #33FF55, #00DD22);
}

.guide-badge.wide {
  background: linear-gradient(145deg, #BB55FF, #8811EE);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-box {
  background: var(--surface-strong);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 16px 14px;
}

.stat-box strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: var(--pink);
}

.stat-box span {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-body);
}

.cta-card {
  border-radius: 26px;
  margin-top: 18px;
  padding: 22px 20px;
}

.cta-card h2 {
  margin: 0 0 8px;
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: var(--pink);
}

.cta-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
  color: var(--text-body);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.btn-link.primary {
  background: linear-gradient(135deg, #ff80ab, #ff4d8d);
  color: #fff;
}

.btn-link.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1.5px solid var(--border);
  color: var(--text-dark);
}

.page-footer {
  padding: 26px 18px 40px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #b8a0c8;
}

.page-footer p {
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-links a {
  color: #9d7fba;
  text-decoration: none;
}

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

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

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .animal-grid,
  .animal-showcase-grid,
  .guide-showcase-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .content-card,
  .cta-card {
    border-radius: 22px;
  }
}
