:root {
  --bg: #fff7fb;
  --bg-2: #fff;
  --panel: #ffffff;
  --text: #3b1428;
  --muted: #8a5b72;
  --line: rgba(255, 45, 135, 0.14);
  --accent: #ff2d87;
  --accent-2: #e01874;
  --danger: #e23d4a;
  --radius: 18px;
  --shadow: 0 12px 28px rgba(209, 15, 102, 0.12);
  --font: "Nunito Sans", "Segoe UI", sans-serif;
  --display: "Nunito", "Segoe UI", sans-serif;
}

body {
  color: var(--text);
  font-family: var(--font);
  background-color: #fff7fb;
  background-image:
    radial-gradient(1000px 520px at 8% -8%, rgba(255, 45, 135, 0.16), transparent 55%),
    radial-gradient(860px 480px at 92% 4%, rgba(255, 193, 7, 0.22), transparent 50%),
    radial-gradient(700px 420px at 50% 100%, rgba(61, 184, 255, 0.16), transparent 60%);
  background-attachment: fixed;
}

a { color: var(--accent); }
a:hover { color: var(--accent-2); }

h1, h2, h3, .section-head h2 {
  font-family: var(--display);
  color: var(--text);
  letter-spacing: -0.03em;
}

.site-header {
  background: rgba(255, 247, 251, 0.92);
  border-bottom: 1px solid rgba(255, 45, 135, 0.08);
  backdrop-filter: blur(16px);
}
.header-inner { gap: 1.1rem; padding: .7rem 0; }
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: var(--text);
  min-width: 148px;
}
.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 148px;
}
.brand-tagline {
  display: block;
  margin-top: -2px;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 600;
  color: #9a7084;
  line-height: 1.2;
}
.header-search {
  background: #fff;
  border: 1px solid rgba(255, 45, 135, 0.16);
  box-shadow: 0 6px 18px rgba(209, 15, 102, 0.06);
}
.header-search input { color: var(--text); font: inherit; }
.header-search button {
  border: 0;
  background: var(--accent);
  color: #fff;
  margin: 4px;
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 700;
  cursor: pointer;
}
.header-nav a,
.header-nav .linkish {
  color: var(--text);
  font-weight: 700;
}
.header-nav a:hover,
.header-nav .linkish:hover { color: var(--accent); }

.btn {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 45, 135, 0.28);
}
.btn:hover { background: #ff1493; color: #fff; }
.btn-ghost {
  background: #fff;
  color: var(--accent);
  border: 0;
  box-shadow: 0 6px 16px rgba(209, 15, 102, 0.08);
}
.btn-ghost:hover { color: var(--accent-2); background: #fff; }
.btn-danger { background: var(--danger); box-shadow: none; }

.cards-hero-wrap { padding: 1.35rem 0 0; }
.cards-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
  gap: 1.25rem;
  align-items: center;
  border-radius: 32px;
  padding: 1.8rem 1.8rem 1.7rem;
  color: #7a2450;
  background:
    radial-gradient(420px 180px at 88% 18%, rgba(255, 193, 7, 0.42), transparent 60%),
    radial-gradient(380px 220px at 8% 100%, rgba(61, 184, 255, 0.18), transparent 55%),
    linear-gradient(115deg, #ffe4f2 0%, #ffd0ea 40%, #ffd7b8 100%);
  box-shadow: var(--shadow);
  animation: cardsReveal .55s ease both;
}
.cards-hero-kicker {
  margin: 0 0 .55rem;
  display: inline-flex;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #ff2d87;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cards-hero h1 {
  margin: 0 0 .75rem;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  color: #3b1428;
}
.cards-hero-lead {
  margin: 0 0 .55rem;
  max-width: 38rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #a33b6c;
}
.cards-hero-note {
  margin: 0 0 1.1rem;
  max-width: 36rem;
  color: #7d4b63;
  font-size: .98rem;
}
.cards-hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cards-hero-aside {
  position: relative;
  min-height: 160px;
  display: grid;
  place-items: center;
}
.cards-hero-logo {
  position: relative;
  z-index: 1;
  width: min(220px, 100%);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(209, 15, 102, 0.18));
}
.cards-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: cardsFloat 5.5s ease-in-out infinite;
}
.cards-hero-orb-a {
  width: 120px;
  height: 120px;
  right: 8%;
  top: 8%;
  background: rgba(255, 45, 135, 0.18);
}
.cards-hero-orb-b {
  width: 90px;
  height: 90px;
  left: 12%;
  bottom: 10%;
  background: rgba(61, 184, 255, 0.2);
  animation-delay: -1.8s;
}

.section.cards-popular { padding-top: 2.2rem; }
.section-head.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.section-link {
  font-weight: 800;
  white-space: nowrap;
}
.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.home-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(209, 15, 102, 0.08);
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease;
}
.home-chip em {
  font-style: normal;
  color: #ff2d87;
  font-size: .86rem;
  opacity: .85;
}
.home-chip:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(209, 15, 102, 0.14);
}
.home-chip-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 45, 135, 0.28);
}
.home-chip-accent:hover { color: #fff; background: #ff1493; }

.card-wall {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(209, 15, 102, 0.1);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-wall:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(209, 15, 102, 0.16);
}
.cards-empty,
.cards-empty-panel {
  padding: 1.35rem 1.4rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(209, 15, 102, 0.08);
}
.cards-empty-panel {
  display: grid;
  gap: .55rem;
  justify-items: start;
  max-width: 34rem;
}

.site-footer {
  background: rgba(255, 247, 251, 0.8);
  border-top: 1px solid rgba(255, 45, 135, 0.1);
  color: var(--muted);
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

.panel, .stack-form.panel, .legal-page { color: var(--text); }
.page-head h1 { color: var(--text); }

.flash-ok { background: #eefbf3; color: #1d6b3a; border-color: #b7ebc9; }
.flash-err { background: #fff1f4; color: #9d2040; border-color: #ffc2d0; }

.collection-hero { min-height: 0; }
.collection-hero-shade { display: none; }
.collection-hero-content { padding: 1rem 0 1.25rem; }
.collection-hero-top {
  background: #fff;
  border-radius: 24px;
  padding: 1.25rem 1.4rem 1.15rem;
  box-shadow: 0 12px 28px rgba(209, 15, 102, 0.1);
}
.collection-hero-content h1,
.collection-hero-content .lead { color: #3b1428; }
.collection-kicker {
  color: #ff2d87;
  border-color: rgba(255, 45, 135, 0.22);
  background: #fff;
}
.count-pill,
.meta-chip {
  border-color: rgba(255, 45, 135, 0.14);
  color: #3b1428;
}
.count-pill strong { color: #ff2d87; }
.orient-btn {
  background: #fff;
  color: #3b1428;
  box-shadow: 0 4px 12px rgba(209, 15, 102, 0.06);
}
.orient-btn:hover { color: #ff2d87; }
.orient-btn.is-active {
  background: #ff2d87;
  color: #fff;
}
.chip.active,
.chip:hover {
  color: #ff2d87;
  background: #fff;
  border-color: rgba(255, 45, 135, 0.35);
}

.breadcrumbs ol {
  background: rgba(255, 255, 255, .78);
  border-radius: 999px;
  padding: .35rem .7rem;
  box-shadow: 0 6px 16px rgba(209, 15, 102, 0.06);
}

@keyframes cardsReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes cardsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; flex: 1 1 100%; }
  .brand-tagline { display: none; }
  .cards-hero {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }
  .cards-hero-aside { min-height: 120px; order: -1; }
  .section-head.row-head { align-items: start; flex-direction: column; }
}
