/* Marshmallow Luxury — textures, decor, glow */

:root {
  --glow-pink: rgba(240, 211, 219, 0.55);
  --glow-lavender: rgba(216, 201, 232, 0.5);
  --pearl-highlight: linear-gradient(145deg, #fff 0%, #f5e6ee 35%, #e8c3d6 70%, #d8c9e8 100%);
  --gold-star: linear-gradient(135deg, #fff6e8 0%, #e8c88a 45%, #d4a85c 100%);
}

/* Pearl gloss on 3D assets */
.icon-star,
.icon-bow,
.pearl-gloss {
  filter: saturate(1.12) contrast(1.04) brightness(1.06)
    drop-shadow(0 6px 14px var(--glow-lavender))
    drop-shadow(0 2px 4px rgba(255, 255, 255, 0.8));
}

.glass {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 40px -8px var(--glow-pink);
}

.package-card.glass {
  background: rgba(255, 255, 255, 0.18);
}

.package-card.featured.glass {
  box-shadow:
    0 12px 40px rgba(232, 195, 214, 0.35),
    0 0 48px -10px var(--glow-lavender),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Buttons — pill, pearl gradient, levitation */
.btn {
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.28s ease, filter 0.28s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #fff8fc 0%, #f5dce6 42%, #e8c3d6 78%, #efe4f8 100%);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 8px 28px rgba(232, 195, 214, 0.45),
    0 0 24px -6px var(--glow-pink),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow:
    0 14px 36px rgba(232, 195, 214, 0.55),
    0 0 32px -4px var(--glow-lavender),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Gradient thread dividers */
.section-divider {
  height: 1px;
  border: none;
  margin: 40px 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(216, 201, 232, 0.15) 12%,
    rgba(232, 195, 214, 0.55) 50%,
    rgba(216, 201, 232, 0.15) 88%,
    transparent 100%
  );
}

/* Typography — airy Cormorant */
.section {
  padding: 48px 0;
}

.section-title {
  line-height: 1.38;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-sub {
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-showcase__title,
.hero h1 {
  line-height: 1.38;
  letter-spacing: 0.07em;
}

.text-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--rose-gold);
  letter-spacing: 0.04em;
}

.form-body h2 {
  line-height: 1.38;
  letter-spacing: 0.03em;
}

.card {
  margin-bottom: 20px;
}

/* Ambient floating stars */
.ambient-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-decor .deco-star {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: var(--size, 12px);
  height: var(--size, 12px);
  opacity: var(--opacity, 0.35);
  transform: rotate(var(--rot, 0deg));
  animation: star-float var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.ambient-decor .deco-star::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pearl-highlight);
  clip-path: polygon(50% 0%, 58% 38%, 100% 50%, 58% 62%, 50% 100%, 42% 62%, 0% 50%, 42% 38%);
  box-shadow:
    0 0 12px var(--glow-lavender),
    inset 0 -2px 4px rgba(255, 255, 255, 0.9);
  filter: brightness(1.08);
}

.ambient-decor .deco-star.is-sparkle {
  opacity: 0.85;
  filter: brightness(1.35);
  transform: rotate(var(--rot, 0deg)) scale(1.25);
}

@keyframes star-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

main,
.site-header,
.site-footer,
.form-modal {
  position: relative;
  z-index: 1;
}

.hero-showcase__aura {
  box-shadow:
    0 0 80px 28px var(--glow-lavender),
    0 0 120px 48px rgba(240, 211, 219, 0.28);
}

.hero-showcase__bow-wrap {
  animation: hero-bow-float 6s ease-in-out infinite;
}

.hero-deco--star {
  animation: hero-deco-drift 7s ease-in-out infinite;
}

.hero-deco--pearl {
  animation: hero-deco-drift 5.5s ease-in-out infinite reverse;
}

.hero-deco--sparkle {
  animation: hero-sparkle 2.8s ease-in-out infinite;
}

.hero-deco--s2 { animation-delay: -1.2s; }
.hero-deco--s4 { animation-delay: -2.4s; }
.hero-deco--s6 { animation-delay: -0.8s; }
.hero-deco--p2 { animation-delay: -1.6s; }
.hero-deco--p4 { animation-delay: -2.8s; }
.hero-deco--k1 { animation-delay: -0.4s; }
.hero-deco--k3 { animation-delay: -1.8s; }
.hero-deco--k5 { animation-delay: -2.2s; }

@keyframes hero-bow-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes hero-deco-drift {
  0%, 100% { translate: 0 0; opacity: 0.75; }
  50% { translate: 0 -5px; opacity: 1; }
}

@keyframes hero-sparkle {
  0%, 100% { opacity: 0.35; scale: 0.85; }
  50% { opacity: 1; scale: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase__bow-wrap,
  .hero-deco--star,
  .hero-deco--pearl,
  .hero-deco--sparkle { animation: none; }
}

/* Digital pearls — list bullets */
.feature-list--pearl li::before {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 25%, #fff 0%, #f8e8f0 40%, var(--pearl-pink) 72%, var(--lavender) 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.7),
    0 0 10px var(--glow-pink),
    inset -1px -2px 3px rgba(216, 167, 167, 0.25);
}

/* Form progress — pearls → golden stars */
.progress-pearls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 4px 20px 14px;
  flex-shrink: 0;
}

.progress-pearl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 32% 28%, #fff 0%, var(--pearl-pink) 55%, var(--lavender) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 8px rgba(216, 201, 232, 0.35);
  transition: width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.progress-pearl.is-active {
  width: 12px;
  height: 12px;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.7),
    0 0 14px var(--glow-pink);
}

.progress-pearl.is-done {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  background: var(--gold-star);
  clip-path: polygon(50% 0%, 58% 38%, 100% 50%, 58% 62%, 50% 100%, 42% 62%, 0% 50%, 42% 38%);
  box-shadow:
    0 0 12px rgba(212, 168, 92, 0.55),
    0 0 4px rgba(255, 255, 255, 0.8);
}

/* 3D package deco icons */
.package-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-deco {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0%, #f0d8e4 45%, #d8c9e8 100%);
  box-shadow:
    inset 0 -3px 6px rgba(180, 140, 160, 0.2),
    0 4px 14px var(--glow-lavender),
    0 0 0 1px rgba(255, 255, 255, 0.5);
}

.package-deco svg {
  width: 20px;
  height: 20px;
  display: block;
}

.package-deco--ring svg { width: 22px; height: 22px; }
.package-deco--crown svg { width: 21px; height: 21px; }
.package-deco--suitcase svg { width: 19px; height: 19px; }

.addon-card h4 {
  gap: 12px;
}

.addon-card h4 .package-deco {
  width: 28px;
  height: 28px;
  margin: 0;
}

.addon-card h4 .package-deco svg {
  width: 15px;
  height: 15px;
}

.addon-card h4 .icon-bow {
  flex-shrink: 0;
}

/* Glow on key cards */
.card.glass,
.format-card.glass,
.option-card.is-selected {
  box-shadow:
    var(--shadow-soft),
    0 0 36px -10px var(--glow-lavender),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .ambient-decor .deco-star {
    animation: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}

/* Pearl Pink — default hero polish */
html[data-site-theme="pearl"] {
  --pearl-highlight: linear-gradient(145deg, #fff 0%, #f8e8f0 34%, #e8c3d6 68%, #d8c9e8 100%);
  --hero-bow-halo: radial-gradient(circle, rgba(255, 255, 255, 0.82) 0%, rgba(248, 228, 238, 0.42) 52%, transparent 76%);
  --hero-bow-filter: saturate(1.1) contrast(1.05) brightness(1.05)
    drop-shadow(0 24px 48px rgba(232, 195, 214, 0.5))
    drop-shadow(0 0 32px rgba(248, 228, 238, 0.42));
}

html[data-site-theme="pearl"] .hero-showcase__aura {
  background: radial-gradient(
    circle at 50% 44%,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(252, 236, 244, 0.62) 30%,
    rgba(232, 195, 214, 0.34) 54%,
    rgba(216, 201, 232, 0.16) 70%,
    transparent 82%
  );
  box-shadow:
    0 0 88px 30px var(--glow-lavender),
    0 0 120px 52px rgba(240, 211, 219, 0.22);
}

html[data-site-theme="pearl"] .hero-showcase__shimmer {
  opacity: 0.62;
}

html[data-site-theme="pearl"] .hero-showcase__title,
html[data-site-theme="pearl"] .hero h1 {
  color: var(--dark-cocoa);
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.45);
}

html[data-site-theme="pearl"] .hero-deco--star {
  box-shadow: 0 0 12px rgba(232, 195, 214, 0.6);
}

html[data-site-theme="pearl"] .hero-deco--sparkle {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.98), 0 0 16px rgba(232, 195, 214, 0.75);
}

/* Monochrome — editorial luxury */
html[data-site-theme="minimal"] {
  --pearl-highlight: linear-gradient(145deg, #fff 0%, #ececea 34%, #d0cec9 68%, #b0aea9 100%);
  --hero-bow-halo: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(228, 226, 222, 0.38) 55%, transparent 78%);
  --hero-bow-filter: grayscale(1) contrast(1.14) brightness(1.1)
    drop-shadow(0 22px 42px rgba(0, 0, 0, 0.1))
    drop-shadow(0 0 36px rgba(255, 255, 255, 0.72));
}

html[data-site-theme="minimal"] .icon-star,
html[data-site-theme="minimal"] .icon-bow,
html[data-site-theme="minimal"] .pearl-gloss {
  filter: saturate(0.12) contrast(1.06) brightness(1.03)
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.1))
    drop-shadow(0 2px 4px rgba(255, 255, 255, 0.85));
}

html[data-site-theme="minimal"] .glass {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(28, 28, 28, 0.06);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 36px -10px rgba(0, 0, 0, 0.04);
}

html[data-site-theme="minimal"] .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0eeeb 38%, #d8d6d2 72%, #eceae6 100%);
  border-color: rgba(28, 28, 28, 0.09);
  color: #1c1c1c;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.08),
    0 0 20px -6px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-site-theme="minimal"] .btn-primary:hover,
html[data-site-theme="minimal"] .btn-primary:focus-visible {
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.1),
    0 0 28px -4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-site-theme="minimal"] .section-divider {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.04) 12%,
    rgba(0, 0, 0, 0.14) 50%,
    rgba(0, 0, 0, 0.04) 88%,
    transparent 100%
  );
}

html[data-site-theme="minimal"] .hero-showcase__aura {
  background: radial-gradient(
    circle at 50% 44%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(236, 234, 230, 0.58) 36%,
    rgba(200, 198, 194, 0.22) 62%,
    transparent 78%
  );
  box-shadow:
    0 0 72px 24px rgba(220, 218, 214, 0.5),
    0 0 100px 40px rgba(0, 0, 0, 0.03);
}

html[data-site-theme="minimal"] .hero-showcase__shimmer {
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.65) 40deg,
    transparent 80deg,
    transparent 180deg,
    rgba(255, 255, 255, 0.4) 220deg,
    transparent 260deg
  );
}

html[data-site-theme="minimal"] .hero-showcase__title,
html[data-site-theme="minimal"] .hero h1 {
  color: #1c1c1c;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.55);
}

html[data-site-theme="minimal"] .hero-deco--star {
  background: var(--pearl-highlight);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

html[data-site-theme="minimal"] .hero-deco--pearl {
  background: radial-gradient(circle at 32% 28%, #fff 0%, #ececea 42%, #c4c2be 78%, #a8a6a2 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75),
    0 0 10px rgba(0, 0, 0, 0.08);
}

html[data-site-theme="minimal"] .hero-deco--sparkle {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95), 0 0 12px rgba(0, 0, 0, 0.08);
}

html[data-site-theme="minimal"] .magic-hint__icon {
  background: radial-gradient(circle at 35% 28%, #fff 0%, #d4d2ce 52%, #1c1c1c 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

html[data-site-theme="minimal"] .text-accent {
  color: #7a7772;
}

html[data-site-theme="minimal"] .site-header {
  background: rgba(247, 246, 244, 0.88);
  border-bottom-color: rgba(28, 28, 28, 0.06);
}

html[data-site-theme="minimal"] .feature-list--pearl li::before,
html[data-site-theme="minimal"] .progress-pearl {
  background: radial-gradient(circle at 32% 28%, #fff 0%, #d4d2ce 55%, #a8a6a2 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.7),
    0 0 10px rgba(0, 0, 0, 0.08);
}

/* Sunset Glow — golden hour luxury */
html[data-site-theme="dusk"] {
  --pearl-highlight: linear-gradient(145deg, #fff8f0 0%, #f8c9a0 34%, #e8a07a 68%, #c97b5a 100%);
  --hero-bow-halo: radial-gradient(circle, rgba(255, 236, 214, 0.55) 0%, rgba(232, 160, 122, 0.28) 52%, transparent 76%);
  --hero-bow-filter: sepia(0.28) saturate(1.35) hue-rotate(-18deg) brightness(1.08) contrast(1.06)
    drop-shadow(0 24px 48px rgba(232, 160, 122, 0.42))
    drop-shadow(0 0 30px rgba(248, 201, 160, 0.32));
}

html[data-site-theme="dusk"] .icon-star,
html[data-site-theme="dusk"] .icon-bow,
html[data-site-theme="dusk"] .pearl-gloss {
  filter: saturate(1.08) hue-rotate(-6deg) contrast(1.05) brightness(1.04)
    drop-shadow(0 6px 14px rgba(232, 160, 122, 0.35))
    drop-shadow(0 2px 4px rgba(255, 240, 220, 0.75));
}

html[data-site-theme="dusk"] .glass {
  background: rgba(22, 58, 72, 0.42);
  border-color: rgba(240, 176, 120, 0.28);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 220, 190, 0.18),
    0 0 40px -8px rgba(242, 165, 116, 0.22);
}

html[data-site-theme="dusk"] .btn-primary {
  background: linear-gradient(135deg, #fff4e8 0%, #f8c9a0 32%, #e8926a 68%, #f0b078 100%);
  border-color: rgba(255, 230, 210, 0.55);
  color: #2c1f1a;
  box-shadow:
    0 8px 28px rgba(232, 160, 122, 0.42),
    0 0 24px -6px rgba(242, 165, 116, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-site-theme="dusk"] .btn-primary:hover,
html[data-site-theme="dusk"] .btn-primary:focus-visible {
  box-shadow:
    0 14px 36px rgba(232, 160, 122, 0.52),
    0 0 32px -4px rgba(248, 201, 160, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html[data-site-theme="dusk"] .section-divider {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(240, 176, 120, 0.12) 12%,
    rgba(248, 201, 160, 0.55) 50%,
    rgba(240, 176, 120, 0.12) 88%,
    transparent 100%
  );
}

html[data-site-theme="dusk"] .hero-showcase__aura {
  width: min(92%, 300px);
  background: radial-gradient(
    circle at 50% 48%,
    rgba(248, 201, 160, 0.38) 0%,
    rgba(232, 160, 122, 0.2) 36%,
    rgba(42, 101, 120, 0.14) 58%,
    transparent 82%
  );
  box-shadow:
    0 0 72px 26px rgba(242, 165, 116, 0.32),
    0 0 100px 40px rgba(12, 36, 48, 0.22);
}

html[data-site-theme="dusk"] .hero-showcase__shimmer {
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(255, 244, 232, 0.55) 40deg,
    transparent 80deg,
    transparent 180deg,
    rgba(248, 201, 160, 0.42) 220deg,
    transparent 260deg
  );
}

html[data-site-theme="dusk"] .hero-deco--star {
  background: var(--pearl-highlight);
  box-shadow: 0 0 12px rgba(248, 201, 160, 0.55);
}

html[data-site-theme="dusk"] .hero-deco--pearl {
  background: radial-gradient(circle at 32% 28%, #fff8f0 0%, #f8c9a0 42%, #e8926a 78%, #c97b5a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 230, 210, 0.65),
    0 0 12px rgba(242, 165, 116, 0.45);
}

html[data-site-theme="dusk"] .hero-deco--sparkle {
  box-shadow: 0 0 8px rgba(255, 244, 232, 0.95), 0 0 14px rgba(248, 201, 160, 0.65);
}

html[data-site-theme="dusk"] .magic-hint__icon {
  background: radial-gradient(circle at 35% 28%, #fff4e8 0%, #f0b078 48%, #2a6578 100%);
  box-shadow: 0 4px 16px rgba(232, 160, 122, 0.35);
}

html[data-site-theme="dusk"] .magic-hint__icon::after {
  color: rgba(44, 31, 26, 0.45);
}

html[data-site-theme="dusk"] .text-accent {
  color: #f8c9a0;
}

html[data-site-theme="dusk"] .site-header {
  background: rgba(12, 36, 48, 0.82);
  border-bottom-color: rgba(240, 176, 120, 0.14);
}

html[data-site-theme="dusk"] .feature-list--pearl li::before,
html[data-site-theme="dusk"] .progress-pearl {
  background: radial-gradient(circle at 32% 28%, #fff8f0 0%, #f8c9a0 52%, #e8926a 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 230, 210, 0.55),
    0 0 10px rgba(242, 165, 116, 0.4);
}

html[data-site-theme="dusk"] .btn-ghost {
  background: rgba(255, 244, 232, 0.14);
  color: var(--dark-cocoa);
}

html[data-site-theme="dusk"] .hero-showcase__title,
html[data-site-theme="dusk"] .hero h1 {
  color: #fff8f0;
  text-shadow: 0 2px 24px rgba(12, 36, 48, 0.25);
}
