:root {
  --bg: #fff1f7;
  --card-bg: #ffffff;
  --accent: #ec4899;
  --accent-soft: #fce7f3;
  --text-main: #231b33;
  --text-muted: #6b6470;
  --radius-xl: 22px;
  --shadow-soft: 0 18px 40px rgba(88, 28, 135, 0.16);
}


:root {
  --bg: #fff8f2;
  --card-bg: #ffffff;
  --accent: #f97316;
  --accent-soft: #ffe6cc;
  --text-main: #2b2432;
  --text-muted: #6b6470;
  --radius-xl: 22px;
  --shadow-soft: 0 16px 45px rgba(148, 104, 64, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #ffe4d5 0, #fff8f2 40%, #fde7f3 80%),
    linear-gradient(180deg, #fff8f2, #ffeef5);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 242, 0.9);
  border-bottom: 1px solid rgba(248, 187, 150, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-circle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fde68a 0, #fb7185 40%, #f97316 100%);
  color: white;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.55);
}

.brand-text {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  align-items: center;
}

/* nav items + dropdown */

.nav-item {
  position: relative;
}

.nav-link,
.nav-item > a,
.nav-link-label {
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.nav-link:hover,
.nav-item > a:hover,
.nav-item:hover > .nav-link-label {
  background: rgba(248, 187, 208, 0.5);
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-link-label-icon {
  font-size: 10px;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 248, 242, 0.98);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(148, 104, 64, 0.25);
  border: 1px solid rgba(248, 187, 150, 0.9);
  padding: 6px;
  display: none;
  min-width: 180px;
  z-index: 30;
}

.nav-dropdown a {
  display: block;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.16s ease, transform 0.08s ease;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: rgba(254, 226, 226, 0.9);
  transform: translateX(1px);
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  display: block;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 999px;
}

.nav-toggle-box {
  width: 22px;
  height: 16px;
  position: relative;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #6b6470;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.nav-toggle-line:nth-child(1) {
  top: 0;
}

.nav-toggle-line:nth-child(2) {
  top: 7px;
}

.nav-toggle-line:nth-child(3) {
  bottom: 0;
}

body.nav-open .nav-toggle-line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-line:nth-child(3) {
  bottom: 7px;
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  padding: 40px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9f1239;
}

.hero-kicker::before {
  content: "♥";
  font-size: 11px;
}

.hero-title {
  margin: 16px 0 11px;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 460px;
}

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

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, opacity 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #fb7185, #f97316);
  color: white;
  box-shadow: 0 14px 34px rgba(248, 113, 113, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(248, 113, 113, 0.75);
}

.btn-ghost {
  background: rgba(252, 165, 165, 0.18);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(252, 165, 165, 0.3);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

/* Hero card on the right */

.hero-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(248, 187, 150, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "✧ ✦ ✧";
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 11px;
  color: rgba(248, 187, 208, 0.9);
}

.hero-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* Kids list */

.kids-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kid-pill {
  padding: 10px 11px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(248, 187, 208, 0.9);
  background: radial-gradient(circle at top left, #fff1f2 0, #fee2e2 40%, #fef9c3 100%);
  font-size: 12px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kid-pill strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kid-pill strong::before {
  content: "★";
  font-size: 11px;
  color: #fb7185;
}

.kid-pill span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 20px 0 10px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Card grid (kids/parents) */

.kid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.kid-card {
  border-radius: var(--radius-xl);
  background: var(--card-bg);
  padding: 16px;
  box-shadow: 0 12px 32px rgba(148, 104, 64, 0.25);
  border: 1px solid rgba(248, 187, 150, 0.9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.kid-card::after {
  content: "♡";
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 24px;
  color: rgba(252, 165, 165, 0.5);
}

.kid-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(254, 202, 202, 0.7);
  color: #9f1239;
}

.kid-card-name {
  font-size: 17px;
  font-weight: 700;
}

.kid-card-text {
  font-size: 13px;
  color: var(--text-muted);
}

.kid-card-footer {
  margin-top: 4px;
  font-size: 12px;
  color: #c2410c;
}

/* Wishlist row on home */

.wishlist-row {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px dashed rgba(248, 187, 150, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.wishlist-row-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 8px;
}

.wishlist-row-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 18px 0 24px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.site-footer .verse {
  font-style: italic;
  margin-bottom: 4px;
}

.footer-note {
  font-size: 11px;
  margin-bottom: 4px;
  color: #9f1239;
}

/* Child site shared styles */

.child-hero {
  padding: 32px 0 24px;
}

.child-hero-header {
  margin-bottom: 14px;
}

.child-name {
  font-size: clamp(30px, 4vw, 38px);
  letter-spacing: -0.05em;
  margin: 4px 0;
}

.child-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

/* Timeline */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid rgba(244, 114, 182, 0.8);
  padding-left: 16px;
}

.timeline li {
  margin-bottom: 10px;
  position: relative;
  font-size: 13px;
}

.timeline li::before {
  content: "✿";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  position: absolute;
  left: -10px;
  top: 2px;
  font-size: 10px;
  color: #ec4899;
}

/* Wishlist card */

.wishlist-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #fdf2ff 0, #fef9c3 50%, #ffffff 100%);
  padding: 16px;
  border: 1px solid rgba(244, 114, 182, 0.9);
  box-shadow: 0 14px 32px rgba(236, 72, 153, 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

/* Back link on kid pages */

.back-home {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
}

.back-home a {
  color: #c2410c;
  text-decoration: none;
}

.back-home a:hover {
  text-decoration: underline;
}

/* Responsive: mobile nav + bigger buttons */

@media (max-width: 800px) {
  .nav {
    padding: 10px 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    padding: 10px 20px 16px;
    background: rgba(255, 248, 242, 0.98);
    border-bottom: 1px solid rgba(248, 187, 150, 0.7);
    flex-direction: column;
    gap: 8px;
  }

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

  .nav-item.has-dropdown .nav-dropdown {
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 4px 0 0;
    margin-top: -4px;
  }

  .nav-dropdown a {
    padding-left: 24px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    font-size: 15px;
    padding: 12px 20px;
  }
}
