:root {
  --coral: #ff6f91;
  --coral-dark: #e04c74;
  --mint: #2fd6a7;
  --sun: #ffd166;
  --cream: #fff8f0;
  --ink: #221d2b;
  --paper: #ffffff;
  --shadow: rgba(34, 29, 43, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

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

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

h1, h2, h3, .brand-logo {
  font-family: 'Baloo 2', sans-serif;
  line-height: 1.15;
}

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

a { color: inherit; }

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

.sticker {
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 6px 8px 0 var(--shadow);
  background: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 4px 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--ink); }

.btn-primary { background: var(--coral); color: var(--ink); }
.btn-secondary { background: var(--sun); color: var(--ink); }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-small { padding: 8px 18px; font-size: 0.85rem; box-shadow: 3px 4px 0 var(--ink); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coral-dark);
  text-decoration: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-bottom: 3px solid var(--ink);
    display: none;
  }
  .site-nav.is-open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  text-align: center;
  background: radial-gradient(circle at 20% 20%, rgba(255,209,102,0.4), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(47,214,167,0.35), transparent 55%),
              var(--cream);
}
.hero-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0 0 16px;
  color: var(--coral-dark);
}
.hero p.subtitle {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 28px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
.hero-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.hero-secondary a {
  font-size: 0.9rem;
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- Feature strip ---------- */
.feature-strip {
  padding: 32px 0;
}
.feature-strip .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-item {
  text-align: center;
  padding: 20px 12px;
}
.feature-item .emoji { font-size: 2rem; display: block; margin-bottom: 8px; }
@media (max-width: 720px) {
  .feature-strip .grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Story ---------- */
.story {
  padding: 40px 0;
  text-align: center;
}
.story h2 { color: var(--coral-dark); }
.story p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.placeholder-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  background: var(--sun);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
}

/* ---------- Products ---------- */
.section-title {
  text-align: center;
  color: var(--coral-dark);
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.products { padding: 40px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.product-card {
  padding: 24px 20px;
  text-align: center;
}
.product-emoji { font-size: 2.6rem; margin-bottom: 8px; }
.product-tag { font-size: 0.92rem; margin-bottom: 14px; min-height: 42px; }
.product-reviews {
  min-height: 70px;
  margin: 12px 0;
  text-align: left;
  border-top: 2px dashed var(--ink);
  padding-top: 12px;
}
.review-empty { font-size: 0.85rem; opacity: 0.7; text-align: center; }
.review-item { margin-bottom: 10px; }
.review-stars { color: var(--sun); text-shadow: 0 0 0 var(--ink); letter-spacing: 2px; }
.review-comment { font-size: 0.88rem; margin: 2px 0; }
.review-author { font-size: 0.78rem; font-weight: 700; opacity: 0.8; }

/* ---------- UGC ---------- */
.ugc { padding: 40px 0; }
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.ugc-tile {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 3px solid var(--ink);
  background: linear-gradient(135deg, var(--mint), var(--sun));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 60px; }
.faq-item {
  border: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--paper);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  padding: 0 20px;
}
.faq-answer p { margin: 0 0 16px; }
.faq-item.is-open .faq-answer { max-height: 200px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.2s ease; }

/* ---------- Where to buy ---------- */
.where-to-buy {
  padding: 50px 0;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}
.where-to-buy h2 { color: var(--sun); }
.marketplace-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 24, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 8px 10px 0 var(--shadow);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
}
.modal-box h3 { margin-top: 0; color: var(--coral-dark); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}
.form-honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-error {
  background: #ffe1e1;
  border: 2px solid var(--coral-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.member-card-wrap {
  text-align: center;
}
.member-card-wrap canvas {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  margin: 0 auto 18px;
  display: block;
  animation: card-reveal 0.6s ease;
}
@keyframes card-reveal {
  from { transform: rotateY(90deg) scale(0.8); opacity: 0; }
  to { transform: rotateY(0deg) scale(1); opacity: 1; }
}
.card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.star-rating {
  display: flex;
  gap: 6px;
  font-size: 1.8rem;
  margin-bottom: 16px;
  cursor: pointer;
}
.star-rating .star { color: #d8d8d8; transition: color 0.1s ease; }
.star-rating .star.is-filled { color: var(--sun); }

.review-profile-badge {
  background: var(--cream);
  border: 2px dashed var(--ink);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: inline-block;
}
