:root {
  --pink: #ff2d95;
  --pink-deep: #d4146e;
  --ink: #1a1216;
  --muted: #6b5560;
  --cream: #fff7f2;
  --blush: #ffe4ef;
  --paper: #ffffff;
  --line: rgba(26, 18, 22, 0.1);
  --shadow: 0 18px 50px rgba(212, 20, 110, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 45, 149, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255, 180, 120, 0.18), transparent 50%),
    linear-gradient(180deg, #fff9f5 0%, var(--cream) 40%, #fff 100%);
  min-height: 100vh;
}

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

a {
  color: var(--pink-deep);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 249, 245, 0.85);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

nav a:hover {
  color: var(--pink-deep);
}

.nav-cta {
  background: var(--pink);
  color: #fff !important;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.nav-user {
  font-weight: 700;
  color: var(--pink-deep);
  font-size: 0.92rem;
}

.hint {
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.review-panel {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  padding: 1.25rem;
}

.review-panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, #1a0a12 0%, #3b0f28 45%, #6b1645 100%);
  color: #fff;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 45, 149, 0.45), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255, 180, 200, 0.25), transparent 40%);
  animation: wash 12s ease-in-out infinite alternate;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes wash {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(2%, -1%); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  max-width: 720px;
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(320px, 72vw);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 12px 40px rgba(255, 45, 149, 0.35));
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-tag {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.hero-lead {
  margin: 0.85rem auto 1.75rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hero-cta,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--pink);
  color: #fff;
}

.btn.primary:hover {
  background: var(--pink-deep);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.section .btn.ghost {
  border-color: rgba(26, 18, 22, 0.2);
  color: var(--ink);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-tint {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, rgba(255, 228, 239, 0.55), rgba(255, 247, 242, 0.2));
}

.section-tint > .section-head,
.section-tint > .product-grid,
.section-tint > .review-list,
.section-tint > .section-cta,
.section-tint > .info-block,
.section-tint > .face-line {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.about {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-media {
  aspect-ratio: 4 / 3;
  background: var(--blush);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.price {
  font-weight: 700;
  color: var(--pink-deep);
}

.product .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.promo-list,
.review-list {
  display: grid;
  gap: 1rem;
}

.promo,
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}

.promo h3,
.review .who {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

.stars {
  color: var(--pink);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.review p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.info-block {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.info-block div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.info-block dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}

.info-block dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
}

.face-line {
  margin-top: 1.25rem;
}

.section-cta {
  margin-top: 1.75rem;
}

.empty {
  color: var(--muted);
  margin: 0;
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.foot img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.7;
}

.foot p {
  margin: 0;
  flex: 1;
}

.foot a {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 780px) {
  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 85vh;
  }
}

/* Staff */
.staff-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.staff-page h1 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  margin-top: 1.25rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.9rem;
}

input,
textarea,
select {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn.danger {
  background: #fff;
  border: 2px solid #c0392b;
  color: #c0392b;
}

.btn.small {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
}

.staff-item {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.staff-item:first-of-type {
  border-top: 0;
}

.msg {
  margin: 0.75rem 0 0;
  font-weight: 700;
}

.msg.err { color: #c0392b; }
.msg.ok { color: #1e7a46; }

.hidden { display: none !important; }
