/* =========================================================
   星语礼 / StarGift — Luxury Atelier Shop & Catalog Styles
   ========================================================= */

/* ---------- Celestial Luxury Banner ---------- */
.party-hero {
  position: relative;
  padding: 72px 0 68px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 60% at 50% 0%, rgba(212, 168, 92, 0.16), transparent 68%),
    radial-gradient(circle at 18% 82%, rgba(212, 92, 138, 0.16), transparent 46%),
    radial-gradient(circle at 84% 75%, rgba(132, 98, 224, 0.16), transparent 46%),
    linear-gradient(165deg, #0b0816 0%, #150f24 52%, #1b1228 100%);
  border-bottom: 1px solid rgba(226, 190, 120, 0.22);
  color: #f8f2e8;
}

.party-hero::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(226, 190, 120, 0.14);
  pointer-events: none;
  z-index: 1;
}

.party-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 14% 24%, rgba(246, 225, 178, 0.6), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.4px 1.4px at 76% 22%, rgba(246, 225, 178, 0.55), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.2px 1.2px at 62% 82%, rgba(246, 225, 178, 0.45), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(680px, 86vw);
  height: min(680px, 86vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(226, 190, 120, 0.1);
  box-shadow: inset 0 0 80px rgba(226, 190, 120, 0.04);
  pointer-events: none;
  z-index: 0;
}

.hero-orbit-ring::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  border: 1px dashed rgba(226, 190, 120, 0.11);
}

.party-hero-inner {
  position: relative;
  z-index: 2;
}

.shop-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--latin);
  font-style: italic;
  letter-spacing: 0.2em;
  font-size: 13px;
  color: #e6c684;
  margin-bottom: 14px;
}

.shop-eyebrow::before,
.shop-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 198, 132, 0.72), transparent);
}

.party-hero h1 {
  margin: 0 auto 12px;
  max-width: 720px;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.22;
  color: #fbf6ee;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.party-hero p {
  margin: 0 auto 32px;
  max-width: 560px;
  color: rgba(242, 232, 218, 0.76);
  font-family: var(--sans);
  font-size: 14.5px;
  letter-spacing: 0.02em;
}

/* Sculpted Floating Starlight Medallions */
.balloons-stage {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 14px;
}

.balloon-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(235, 202, 138, 0.42);
  cursor: pointer;
  color: #f8ecd2;
  display: grid;
  place-items: center;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 232, 0.35),
    inset 0 -8px 16px rgba(8, 5, 16, 0.45),
    0 14px 28px -10px rgba(0, 0, 0, 0.6);
  animation: floatMedallion 3.8s ease-in-out infinite;
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.balloon-btn svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.balloon-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, rgba(226, 190, 120, 0.52), transparent);
}

.balloon-btn:hover {
  border-color: rgba(248, 224, 170, 0.85);
  box-shadow:
    inset 0 1px 2px rgba(255, 250, 238, 0.5),
    0 0 24px rgba(226, 190, 120, 0.32),
    0 16px 30px -10px rgba(0, 0, 0, 0.65);
}

.charm-rose {
  background: radial-gradient(circle at 32% 28%, rgba(232, 126, 166, 0.48), rgba(74, 24, 52, 0.72));
}

.charm-gold {
  background: radial-gradient(circle at 32% 28%, rgba(236, 198, 124, 0.5), rgba(76, 52, 22, 0.74));
}

.charm-amethyst {
  background: radial-gradient(circle at 32% 28%, rgba(168, 126, 242, 0.48), rgba(46, 26, 86, 0.74));
}

.charm-pearl {
  background: radial-gradient(circle at 32% 28%, rgba(220, 212, 242, 0.36), rgba(42, 34, 66, 0.76));
}

.charm-champagne {
  background: radial-gradient(circle at 32% 28%, rgba(226, 168, 128, 0.46), rgba(74, 38, 34, 0.74));
}

.balloon-btn:nth-child(2) { animation-delay: 0.45s; }
.balloon-btn:nth-child(3) { animation-delay: 0.9s; }
.balloon-btn:nth-child(4) { animation-delay: 1.35s; }
.balloon-btn:nth-child(5) { animation-delay: 1.8s; }

.balloon-btn.popped {
  transform: scale(1.42);
  opacity: 0;
  pointer-events: none;
}

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

/* ---------- Spotlight Atelier Card ---------- */
.spotlight-card {
  position: relative;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 26px;
  border-radius: 22px;
  background: var(--panel-solid);
  border: 1px solid rgba(226, 190, 120, 0.22);
  box-shadow: var(--shadow-card);
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 15px;
  border: 1px solid rgba(226, 190, 120, 0.14);
  pointer-events: none;
}

.spotlight-media {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #120d1d;
}

.spotlight-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(244, 220, 172, 0.36);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.35s ease;
}

.spotlight-card:hover .spotlight-media::after {
  border-color: rgba(244, 220, 172, 0.62);
}

.spotlight-media canvas,
.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transition: transform 0.8s var(--ease-smooth);
}

.spotlight-card:hover .spotlight-media img {
  transform: scale(1.04);
}

.spotlight-info {
  position: relative;
  z-index: 2;
  padding-right: 10px;
}

.spotlight-info .section-eyebrow {
  color: var(--champagne) !important;
  letter-spacing: 0.16em;
  font-size: 13px;
}

.spotlight-info h2 {
  margin: 8px 0 12px;
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.spotlight-info p {
  margin: 0 0 22px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- Filters & Gold-Framed Gallery Product Grid ---------- */
.catalog-section {
  padding: 52px 0 24px;
}

.filter-rows {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--panel-solid);
  border: 1px solid rgba(226, 190, 120, 0.18);
  box-shadow: var(--shadow-card);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--champagne);
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.filter-pill {
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-pill:hover {
  border-color: rgba(226, 190, 120, 0.55);
  color: var(--champagne);
}

.filter-pill.active {
  background: linear-gradient(135deg, #e7ca88 0%, #c79a4b 100%);
  border-color: transparent;
  color: #191216;
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(226, 190, 120, 0.7);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel-solid);
  border: 1px solid rgba(226, 190, 120, 0.22);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.38s var(--ease-smooth), border-color 0.35s ease, box-shadow 0.38s ease;
}

/* Champagne-Gold Inner Frame (matching Homepage Scene Cards) */
.product-card::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 14px;
  border: 1px solid rgba(244, 220, 172, 0.28);
  pointer-events: none;
  z-index: 4;
  transition: border-color 0.35s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(244, 220, 172, 0.45);
  box-shadow: 0 32px 64px -26px rgba(0, 0, 0, 0.72), 0 0 28px -10px rgba(226, 190, 120, 0.22);
}

.product-card:hover::after {
  border-color: rgba(244, 220, 172, 0.62);
}

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #120d1d;
  border-bottom: 1px solid rgba(226, 190, 120, 0.16);
}

.product-thumb canvas,
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transition: transform 0.85s var(--ease-smooth);
}

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

.product-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(14, 10, 24, 0.68);
  border: 1px solid rgba(244, 220, 172, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f4dca8;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.product-body {
  position: relative;
  z-index: 2;
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin: 0 0 6px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.product-body p {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.price-tag {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--champagne);
}

.price-tag s {
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 5px;
}

/* ---------- 3-Step Guide ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.how-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--panel-solid);
  border: 1px solid rgba(226, 190, 120, 0.2);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s ease;
}

.how-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 13px;
  border: 1px solid rgba(226, 190, 120, 0.14);
  pointer-events: none;
}

.how-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 220, 172, 0.42);
}

.how-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(226, 190, 120, 0.12);
  border: 1px solid rgba(226, 190, 120, 0.38);
  color: var(--champagne);
  display: grid;
  place-items: center;
  font-family: var(--latin);
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.how-card p {
  margin: 0;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Pricing Table ---------- */
.price-table-wrap {
  margin-top: 24px;
  border-radius: 20px;
  overflow-x: auto;
  background: var(--panel-solid);
  border: 1px solid rgba(226, 190, 120, 0.2);
  box-shadow: var(--shadow-card);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-family: var(--sans);
  font-size: 14px;
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--soft);
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 24px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--panel-solid);
  border: 1px solid rgba(226, 190, 120, 0.16);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open {
  border-color: rgba(226, 190, 120, 0.36);
}

.faq-q {
  width: 100%;
  padding: 17px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.75;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 22px 18px;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

.faq-chevron {
  font-size: 18px;
  color: var(--champagne);
  transition: transform 0.25s;
}

@media (max-width: 900px) {
  .party-hero {
    padding: 54px 0 52px;
  }
  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .party-hero::before {
    inset: 8px;
  }
  .balloons-stage {
    gap: 14px;
  }
  .balloon-btn {
    width: 48px;
    height: 48px;
  }
  .product-card::after {
    inset: 6px;
    border-radius: 14px;
  }
  .product-tag {
    top: 12px;
    left: 12px;
  }
  .product-body {
    padding: 14px 14px 16px;
  }
  .product-body h3 {
    font-size: 15px;
  }
  .product-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .product-foot .btn-pill {
    padding: 8px 12px;
    font-size: 12.5px;
    white-space: nowrap;
    width: 100%;
  }
}
