
:root {
  --cream: #fffdf8;
  --pink: #ffdfe9;
  --pink-strong: #f5a9c4;
  --yellow: #fff1ad;
  --blue: #deebff;
  --lavender: #ece3ff;
  --mint: #e4f7ed;
  --peach: #ffe7d8;
  --ink: #252525;
  --muted: #706b67;
  --line: #e8e2da;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(64, 49, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(232, 226, 218, 0.75);
}
.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.logo span { color: #e78db0; }
.desktop-nav { display: flex; gap: 26px; font-size: 0.95rem; }
.desktop-nav a:hover { color: #cf7398; }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  box-shadow: 0 4px 12px rgba(64,49,42,.05);
}

.hero {
  padding: 92px 0 72px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,223,233,.85), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(222,235,255,.9), transparent 24%),
    radial-gradient(circle at 75% 75%, rgba(255,241,173,.8), transparent 26%);
}
.hero-inner { text-align: center; max-width: 800px; }
.pixel-doodle { font-size: 2rem; margin-bottom: 8px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .75rem;
  color: #9b7c89;
  margin: 0 0 12px;
}
.hero h1, .page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0;
}
.hero h1 span, .page-hero h1 span { color: #d984a7; }
.hero-copy {
  max-width: 670px;
  margin: 22px auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
}
.search-shell {
  max-width: 670px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  box-shadow: var(--shadow);
}
.search-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 17px 0;
}
.search-shell.compact { margin: 0; max-width: none; flex: 1; box-shadow: none; }
.trend-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: .9rem;
  color: var(--muted);
}
.trend-row a { text-decoration: underline; text-underline-offset: 3px; }

.section { padding: 76px 0; }
.soft-section { background: #fff8fb; border-block: 1px solid #f4e7ed; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2, .mini-builder h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -.04em;
}
.tiny-note { color: var(--muted); font-size: .88rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.collection-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(37,37,37,.06);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.collection-card:not(.coming-soon):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.collection-card h3 { margin: 18px 0 6px; font-size: 1.2rem; }
.collection-card p { color: #625d59; margin: 0 0 20px; }
.collection-card span { font-size: .9rem; font-weight: 700; }
.card-icon { font-size: 2rem; min-height: 42px; }
.pink { background: var(--pink); }
.blue { background: var(--blue); }
.yellow { background: var(--yellow); }
.lavender { background: var(--lavender); }
.mint { background: var(--mint); }
.peach { background: var(--peach); }

.vibe-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.vibe-grid button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 14px 12px;
}
.vibe-grid button:hover { background: var(--pink); }

.builder-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 36px;
  background: linear-gradient(135deg, #fff, #fff6f9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.builder-card p { color: var(--muted); max-width: 560px; }
.builder-preview {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  font-size: 1.1rem;
  min-width: 250px;
  text-align: center;
  box-shadow: var(--shadow);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: white;
}
.feature-strip div { text-align: center; padding: 18px; font-weight: 700; font-size: .9rem; }

footer { padding: 34px 0 44px; }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.footer-inner p { color: var(--muted); margin: 8px 0 0; }

.page-main { padding: 38px 0 76px; }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.breadcrumb span { margin: 0 6px; }
.page-hero { max-width: 760px; margin-bottom: 28px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.page-hero > p:last-child { color: var(--muted); font-size: 1.05rem; }

.stat-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--pink);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.stat-card span { color: #6e5a63; }

.tool-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.select-control, .secondary-btn {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 14px 16px;
}
.secondary-btn:hover { background: var(--yellow); }

.content-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 210px;
  gap: 18px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 92px;
}
.category-sidebar {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.category-sidebar h3, .side-card h3 { margin: 0 0 10px; font-size: 1rem; }
.category-sidebar button {
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 11px;
  color: #5f5956;
}
.category-sidebar button:hover,
.category-sidebar button.active { background: var(--pink); color: var(--ink); }

.symbol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.symbol-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-md);
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.symbol-card:hover {
  transform: translateY(-2px);
  border-color: #efbdd0;
  box-shadow: 0 8px 18px rgba(64,49,42,.07);
}
.symbol-value { font-size: 1.55rem; text-align: center; overflow-wrap: anywhere; }
.copy-label {
  font-size: .76rem;
  font-weight: 800;
  color: #a0677f;
  background: #fff2f7;
  border-radius: 999px;
  padding: 5px 9px;
}
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  padding: 18px;
  margin-bottom: 12px;
}
.side-card p { color: var(--muted); font-size: .9rem; margin: 8px 0; }
.tag-cloud { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-cloud span {
  font-size: .75rem;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--blue);
}
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }
.hidden { display: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: .88rem;
  transition: all .2s ease;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .vibe-grid { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .category-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .category-sidebar h3 { display: none; }
  .category-sidebar button { white-space: nowrap; background: white; border: 1px solid var(--line); }
  .info-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1120px); }
  .nav-wrap { min-height: 62px; }
  .nav-cta { padding: 8px 12px; font-size: .86rem; }
  .hero { padding: 68px 0 52px; }
  .hero-copy { font-size: .98rem; }
  .section { padding: 54px 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 190px; }
  .vibe-grid { grid-template-columns: repeat(2, 1fr); }
  .builder-card { flex-direction: column; align-items: stretch; padding: 24px; }
  .builder-preview { min-width: 0; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip div { border-bottom: 1px solid var(--line); }
  .footer-inner { align-items: start; flex-direction: column; }
  .stat-card { flex-direction: column; gap: 4px; }
  .tool-row { flex-wrap: wrap; }
  .search-shell.compact { flex-basis: 100%; }
  .symbol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .symbol-value { font-size: 1.4rem; }
  .info-sidebar { grid-template-columns: 1fr; }
}
