:root {
  --pink: #ff6fb5;
  --pink-soft: #ffd6ea;
  --pink-pale: #fff0f7;
  --purple: #8b5cf6;
  --purple-deep: #6d28d9;
  --purple-pale: #f3ecff;
  --ink: #3d2a4d;
  --ink-soft: #7a6690;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 8px 30px rgba(139, 92, 246, 0.12);
  --shadow-hover: 0 14px 40px rgba(255, 111, 181, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .logo-text, .btn {
  font-family: 'Baloo 2', cursive;
}

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

/* ---------- Announcement ---------- */
.announcement {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink-soft);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.logo-img {
  height: 48px;
  width: auto;
  transition: transform 0.2s;
}

.logo:hover .logo-img { transform: scale(1.05) rotate(-1deg); }

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  border: 2px solid var(--pink-soft);
  background: var(--pink-pale);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.cart-btn:hover { transform: scale(1.05); box-shadow: var(--shadow); }

.cart-count {
  display: inline-block;
  min-width: 22px;
  padding: 0 6px;
  background: var(--purple);
  color: #fff;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.menu-btn {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--purple);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 111, 181, 0.35);
}

.btn-primary:hover { box-shadow: var(--shadow-hover); }

.btn-ghost {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple-pale);
}

.btn-light { background: #fff; color: var(--purple-deep); }

.btn-full { width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 24px clamp(80px, 12vw, 140px);
  background: linear-gradient(160deg, var(--pink-pale) 0%, #fff 45%, var(--purple-pale) 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.hero-blob-1 { width: 380px; height: 380px; background: var(--pink-soft); top: -120px; left: -100px; }
.hero-blob-2 { width: 420px; height: 420px; background: var(--purple-pale); bottom: -160px; right: -120px; }

.hero-content { position: relative; max-width: 720px; margin: 0 auto; }

.hero-logo {
  width: min(340px, 65vw);
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 24px rgba(139, 92, 246, 0.25));
  animation: logo-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes logo-pop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.hero-kicker {
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero .highlight {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 18px auto 30px;
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-floaters span {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0.7;
  animation: floaty 6s ease-in-out infinite;
}

.hero-floaters span:nth-child(1) { top: 18%; left: 8%; animation-delay: 0s; }
.hero-floaters span:nth-child(2) { top: 65%; left: 14%; animation-delay: 1s; }
.hero-floaters span:nth-child(3) { top: 25%; right: 10%; animation-delay: 2s; }
.hero-floaters span:nth-child(4) { top: 70%; right: 16%; animation-delay: 3s; }
.hero-floaters span:nth-child(5) { top: 45%; left: 4%; animation-delay: 4s; }
.hero-floaters span:nth-child(6) { top: 50%; right: 5%; animation-delay: 5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  padding: 18px 24px;
  background: var(--white);
  border-top: 1px solid var(--pink-soft);
  border-bottom: 1px solid var(--pink-soft);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- Shop ---------- */
.shop { padding: clamp(50px, 8vw, 90px) clamp(16px, 5vw, 48px); }

.section-head { text-align: center; margin-bottom: 32px; }

.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }

.section-head p { color: var(--ink-soft); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-chip {
  border: 2px solid var(--purple-pale);
  background: #fff;
  color: var(--ink-soft);
  padding: 8px 20px;
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover { border-color: var(--pink-soft); color: var(--pink); }

.filter-chip.active {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-color: transparent;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border: 1px solid var(--purple-pale);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.product-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--pink-pale);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.product-card:hover .product-img img { transform: scale(1.07); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.badge-rare { background: linear-gradient(90deg, #f59e0b, var(--pink)); }
.badge-new { background: var(--purple); }
.badge-low { background: var(--pink); }

.product-info {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}

.product-name { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }

.product-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}

.product-price { font-size: 1.15rem; font-weight: 800; color: var(--pink); }

.add-btn {
  border: none;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.add-btn:hover {
  background: linear-gradient(90deg, var(--pink), var(--purple));
  color: #fff;
}

/* ---------- Rare banner ---------- */
.rare-banner {
  padding: 0 clamp(16px, 5vw, 48px);
  margin: 20px 0 60px;
}

.rare-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 7vw, 70px) 28px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--purple) 0%, var(--pink) 100%);
  color: #fff;
  box-shadow: 0 16px 50px rgba(139, 92, 246, 0.35);
}

.rare-banner h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 10px; }

.rare-banner p { max-width: 560px; margin: 0 auto 26px; opacity: 0.95; }

/* ---------- About ---------- */
.about { padding: 0 clamp(16px, 5vw, 48px) 80px; }

.about-card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 52px);
  background: var(--pink-pale);
  border: 2px dashed var(--pink-soft);
  border-radius: 28px;
  padding: clamp(32px, 6vw, 56px);
}

.about-photo {
  position: relative;
  flex: 0 0 clamp(200px, 30vw, 280px);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  border: 5px solid #fff;
  box-shadow: 0 12px 36px rgba(255, 111, 181, 0.35);
  transform: rotate(-2deg);
  transition: transform 0.3s;
  filter: brightness(1.12) saturate(1.05);
}

.about-photo:hover img { transform: rotate(0deg) scale(1.02); }

.about-photo-sticker {
  position: absolute;
  bottom: 4px;
  right: 4px;
  font-size: 2.2rem;
  background: #fff;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transform: rotate(8deg);
}

.about-kicker {
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.about-card h2 { font-size: 1.8rem; margin-bottom: 12px; }

.about-text p:not(.about-kicker) { color: var(--ink-soft); }

@media (max-width: 640px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-photo { flex-basis: auto; width: min(240px, 70%); }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 42, 77, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 90;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(400px, 92vw);
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -10px 0 40px rgba(139, 92, 246, 0.2);
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--pink-soft);
}

.cart-close {
  border: none;
  background: var(--pink-pale);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink);
}

.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; }

.cart-empty { color: var(--ink-soft); text-align: center; margin-top: 40px; }

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--pink-pale);
}

.cart-item-info { flex: 1; }

.cart-item-name { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }

.cart-item-price { color: var(--pink); font-weight: 700; font-size: 0.88rem; }

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.qty-controls button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-weight: 800;
  cursor: pointer;
}

.cart-foot { padding: 18px 22px; border-top: 1px solid var(--pink-soft); }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.cart-total strong { color: var(--purple-deep); font-size: 1.2rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 80px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s;
  z-index: 110;
  pointer-events: none;
}

.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--purple-pale), var(--pink-pale));
  padding: 50px clamp(16px, 5vw, 48px) 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo-img { width: 160px; margin-bottom: 8px; }

.footer-tag { color: var(--ink-soft); font-size: 0.9rem; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--pink); }

.footer-copy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid rgba(255, 111, 181, 0.25);
  padding-top: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--pink-soft);
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 14px 24px; border-top: 1px solid var(--pink-pale); }

  .menu-btn { display: block; }

  .hero-floaters span { font-size: 1.3rem; }
}
