/* DestinyChart — ink & gold, dark mystical theme */
:root {
  --bg: #0e0d12;
  --bg-alt: #14121a;
  --card: #1a1722;
  --card-border: #2a2536;
  --ink: #ece7f2;
  --muted: #9a92ab;
  --gold: #d8b45c;
  --gold-bright: #f0d18a;
  --vermilion: #d4573a;
  --violet: #8b6cc7;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

/* faint ink-wash Daoist landscape behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/bg-temple-night.jpg") center 30% / cover no-repeat;
  opacity: 0.62;
  filter: brightness(1.22) saturate(1.05);
  z-index: -1;
  pointer-events: none;
}

/* drifting mist above the painting, below the content */
body::after {
  content: "";
  position: fixed;
  inset: -15%;
  background: url("assets/mist.svg") center / cover no-repeat;
  opacity: 0.13;
  mix-blend-mode: screen;
  z-index: -1;
  pointer-events: none;
  animation: mistDrift 110s ease-in-out infinite alternate;
}
@keyframes mistDrift {
  0% { transform: translate3d(-2.5%, 0, 0) scale(1.06); }
  100% { transform: translate3d(2.5%, -1.2%, 0) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

.container { max-width: min(1360px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.container.narrow { max-width: min(780px, 100%); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 13, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--gold-bright);
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo span { color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.logo-seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 5px;
  background: var(--vermilion); color: #f8eddc;
  box-shadow: inset 0 0 0 2px rgba(248, 237, 220, 0.35);
  font-style: normal; font-size: 17px; line-height: 1;
  font-family: "STKaiti", "KaiTi", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  transform: rotate(-3deg);
}
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.site-header nav a:hover { color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  padding: clamp(56px, 8vh, 96px) 0 clamp(48px, 7vh, 72px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10, 9, 16, 0.52), rgba(10, 9, 16, 0.12) 72%, transparent 88%),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139, 108, 199, 0.14), transparent),
    linear-gradient(to bottom, rgba(10, 9, 16, 0.40) 0%, rgba(10, 9, 16, 0.22) 55%, rgba(10, 9, 16, 0) 100%);
  text-align: center;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 9, 16, 0.5) 0%, rgba(10, 9, 16, 0.12) 34%, transparent 55%);
}
.hero h1, .hero .lede, .hero .eyebrow, .hero-badges { text-shadow: 0 2px 22px rgba(8, 7, 13, 0.65); }

/* fixed cloud sea at the bottom of the viewport (drifts, does not scroll) */
.clouds {
  position: fixed;
  left: -10%; right: -10%;
  bottom: -6%;
  height: 34vh;
  z-index: -1;
  pointer-events: none;
  background: url("assets/clouds.svg") center bottom / 100% 100% no-repeat;
  opacity: 0.5;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 72% 100% at 50% 100%, #000 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 100% at 50% 100%, #000 0%, #000 55%, transparent 100%);
  animation: cloudDrift 62s ease-in-out infinite alternate;
}
.clouds.two {
  height: 24vh;
  opacity: 0.32;
  animation-duration: 96s;
  animation-direction: alternate-reverse;
}
@keyframes cloudDrift {
  0% { transform: translate3d(-6%, 1.5%, 0) scale(1.02); }
  100% { transform: translate3d(6%, -2%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .clouds { animation: none; }
}
.hero .lede { color: #c3bdce; }
.hero > .container { width: 100%; }
.eyebrow {
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 400; line-height: 1.12; margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 em { color: var(--gold-bright); font-style: italic; }
.lede { max-width: 720px; margin: 0 auto 32px; color: var(--muted); font-size: 1.08rem; }
.lede strong { color: var(--ink); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges { list-style: none; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 6px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; transition: 0.18s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b8923f);
  color: #17141d;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--card-border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: rgba(20, 18, 26, 0.62); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.section-title {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400; text-align: center; margin-bottom: 12px; text-wrap: balance;
}
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 640px; }

/* ---------- calculator form ---------- */
.chart-form {
  max-width: min(600px, 100%); margin: 0 auto; background: var(--card);
  border: 1px solid var(--card-border); border-radius: 12px; padding: clamp(24px, 4vw, 36px);
  display: grid; gap: 22px;
}
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field .hint { color: var(--muted); font-weight: 400; }
.field input[type="date"], .field input[type="number"] {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--card-border); border-radius: 6px;
  padding: 12px 14px; font-size: 1rem; font-family: var(--font-body);
}
.field input:focus { outline: none; border-color: var(--gold); }
.place-wrap { position: relative; }
.place-suggestions {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  list-style: none; margin: 0; padding: 6px; max-height: 240px; overflow: auto;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.place-suggestions li {
  padding: 9px 10px; border-radius: 6px; cursor: pointer;
  font-size: 0.88rem; color: var(--ink);
}
.place-suggestions li:hover { background: rgba(216, 180, 92, 0.12); }
.place-note { font-size: 0.76rem; color: var(--muted); margin-top: 6px; }
.basis-select {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--card-border); border-radius: 6px;
  padding: 12px 14px; font-size: 0.95rem; font-family: var(--font-body);
}
.basis-select:focus { outline: none; border-color: var(--gold); }
.time-row { display: flex; align-items: center; gap: 8px; }
.time-row input { text-align: center; }
.colon { color: var(--muted); font-size: 1.2rem; }
.segmented { display: flex; gap: 10px; }
.seg { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span {
  display: block; text-align: center; padding: 11px;
  border: 1px solid var(--card-border); border-radius: 6px;
  cursor: pointer; color: var(--muted); transition: 0.15s;
}
.seg input:checked + span { border-color: var(--gold); color: var(--gold-bright); background: rgba(216, 180, 92, 0.08); }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; }
.error-box {
  max-width: 560px; margin: 16px auto 0; padding: 14px 18px;
  background: rgba(212, 87, 58, 0.12); border: 1px solid var(--vermilion);
  border-radius: 8px; color: #f0a593; font-size: 0.9rem;
}

/* ---------- results ---------- */
#results { margin-top: 48px; display: grid; gap: 24px; }
#results[hidden] { display: none !important; }
#chart-error[hidden], #toast[hidden] { display: none !important; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.result-head h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 400; }
.day-master {
  background: rgba(216, 180, 92, 0.1); border: 1px solid var(--gold);
  border-radius: 10px; padding: 14px 22px; text-align: center;
}
.day-master .dm-char { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-bright); line-height: 1; }
.day-master .dm-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 26px;
}
.card-title {
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; font-weight: 600;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* four pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar {
  text-align: center; background: var(--bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 16px 8px;
}
.pillar .p-label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pillar .p-shishen { font-size: 0.78rem; color: var(--violet); margin-top: 8px; min-height: 1.2em; }
.pillar .p-gan, .pillar .p-zhi {
  font-family: var(--font-display); font-size: 2.5rem; line-height: 1.15;
}
.pillar .p-gan { color: var(--gold-bright); }
.pillar .p-zhi { color: var(--ink); }
.pillar .p-el { font-size: 0.72rem; color: var(--muted); }
.pillar .p-cang {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--card-border);
  font-size: 0.74rem; color: var(--muted); line-height: 1.7;
}
.pillar .p-cang b { color: var(--ink); font-weight: 500; }

/* elements */
.elements { display: grid; gap: 12px; }
.el-row { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 12px; font-size: 0.9rem; }
.el-bar { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.el-fill { height: 100%; border-radius: 5px; }
.el-Wood { background: #4caf7d; } .el-Fire { background: #e05b45; }
.el-Earth { background: #c9a227; } .el-Metal { background: #b8bcc8; }
.el-Water { background: #4a90d9; }
.el-row .el-count { text-align: right; color: var(--muted); }

/* structure */
.structure { display: grid; gap: 12px; font-size: 0.92rem; }
.structure .s-item { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--card-border); padding-bottom: 10px; }
.structure dt { color: var(--muted); flex-shrink: 0; }
.structure dd { text-align: right; }
.structure dd b { color: var(--gold-bright); font-weight: 600; }

/* palaces */
.palaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.palace {
  background: var(--bg); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 14px 12px; min-height: 150px;
  position: relative;
}
.palace.current { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(216,180,92,0.35), 0 4px 18px rgba(216,180,92,0.12); }
.palace .pz-name { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.palace .pz-branch { font-size: 0.72rem; color: var(--muted); margin-bottom: 8px; }
.palace .pz-main { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
.palace .pz-aux { font-size: 0.74rem; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.palace .pz-hua { display: inline-block; font-size: 0.68rem; margin-top: 6px; margin-right: 4px; padding: 2px 7px; border-radius: 4px; background: rgba(139,108,199,0.18); color: #c3aef0; }
.palace .pz-badge {
  position: absolute; top: 10px; right: 10px; font-size: 0.62rem;
  background: var(--gold); color: #17141d; border-radius: 4px; padding: 1px 6px; font-weight: 700;
}

/* dayun */
.dayun { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: 6px; }
.dyn {
  flex: 0 0 auto; text-align: center; background: var(--bg);
  border: 1px solid var(--card-border); border-radius: 8px; padding: 12px 16px; min-width: 92px;
}
.dyn .d-gz { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); }
.dyn .d-age { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }
.dyn .d-years { font-size: 0.68rem; color: var(--muted); }

/* upsell */
.upsell {
  background: linear-gradient(135deg, rgba(139,108,199,0.16), rgba(216,180,92,0.1));
  border: 1px solid var(--card-border); border-radius: 12px;
  padding: 32px; display: flex; gap: 32px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.upsell h4 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin-bottom: 8px; }
.upsell p { color: var(--muted); max-width: 560px; font-size: 0.94rem; }
.upsell-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 16px;
}
.step h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }
.sample { text-align: center; }
.sample-frame {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #f4efe4;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.sample-frame img {
  display: block;
  width: 100%;
  height: clamp(440px, 64vh, 680px);
  object-fit: cover;
  object-position: top center;
}
.preview-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48%;
  background: linear-gradient(to bottom, rgba(10, 9, 16, 0) 0%, rgba(10, 9, 16, 0.6) 40%, rgba(10, 9, 16, 0.94) 100%);
  pointer-events: none;
}
.preview-lock {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 22px 20px;
  text-align: center;
}
.preview-lock p {
  color: #ded8ea; font-size: 0.86rem; line-height: 1.5;
  max-width: 520px; margin: 8px auto 12px;
}
.lock-badge {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-bright);
  border: 1px solid rgba(216, 180, 92, 0.5);
  padding: 3px 12px; border-radius: 20px;
  background: rgba(14, 13, 18, 0.55);
}
.sample figcaption { color: var(--muted); font-size: 0.8rem; margin-top: 12px; }
.trust-strip {
  list-style: none; display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; color: var(--muted); font-size: 0.82rem;
  margin: -24px 0 30px;
}
.trust-strip--inline { justify-content: flex-start; margin: 14px 0 0; gap: 18px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 32px 28px; position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--gold); transform: scale(1.03); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #17141d; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
}
.price-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.price-card .price { font-family: var(--font-display); font-size: 3rem; color: var(--gold-bright); margin: 10px 0 20px; }
.price-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.price-card li { padding: 7px 0; color: var(--muted); font-size: 0.9rem; border-bottom: 1px dashed var(--card-border); }
.price-card li::before { content: "✓ "; color: var(--gold); }

/* ---------- faq ---------- */
details {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 10px; padding: 18px 22px; margin-bottom: 14px;
}
summary { cursor: pointer; font-weight: 600; font-size: 0.98rem; }
summary::marker { color: var(--gold); }
details p { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--card-border); padding: 48px 0 32px; background: rgba(20, 18, 26, 0.78); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-bright); }
.disclaimer { color: var(--muted); border-top: 1px solid var(--card-border); padding-top: 20px; max-width: 860px; }
.credit { color: var(--muted); font-size: 0.72rem; opacity: 0.75; margin-top: 10px; }
.credit a { color: var(--muted); text-decoration: underline; }
.credit a:hover { color: var(--gold-bright); }

/* ---------- celebrity charts ---------- */
.celeb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.celeb-card {
  background: rgba(26, 23, 34, 0.84); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 24px;
}
.celeb-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.celeb-meta { color: var(--muted); font-size: 0.78rem; margin: 2px 0 16px; }
.celeb-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.celeb-pil { background: var(--bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 10px 4px; text-align: center; }
.celeb-pil .lab { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; }
.celeb-pil .gan { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; color: var(--gold-bright); }
.celeb-pil .zhi { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.celeb-dm { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.celeb-dm .dmc {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-bright);
  background: rgba(216, 180, 92, 0.06);
}
.celeb-dm .dmt { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.celeb-dm .dmt b { color: var(--ink); display: block; font-size: 0.85rem; margin-bottom: 2px; }
.celeb-link { display: inline-block; margin-top: 14px; font-size: 0.82rem; color: var(--gold-bright); text-decoration: none; }
.celeb-link:hover { text-decoration: underline; }
.celeb-teaser { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .celeb-grid, .celeb-teaser { grid-template-columns: 1fr; }
}

/* ---------- poster carousel ---------- */
.poster-carousel { position: relative; }
.poster-track {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 6px 2px 10px;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.poster-track::-webkit-scrollbar { display: none; }
.poster-slide { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; margin: 0; }
.poster-slide img {
  width: 100%; height: auto; display: block; border-radius: 10px;
  border: 1px solid var(--card-border); background: #f4efe4;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); cursor: zoom-in;
}
.poster-slide figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 0.8rem; color: var(--muted); }
.poster-slide figcaption b { color: var(--ink); font-size: 0.95rem; }
.poster-frame {
  display: block; position: relative; width: 100%;
  overflow: hidden; border-radius: 10px;
  border: 1px solid var(--card-border); background: #f3ead9;
}
.poster-frame iframe {
  position: absolute; top: 0; left: 0;
  width: 1160px; height: 2460px; border: 0;
  transform-origin: top left; pointer-events: none;
}
.slide-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.slide-actions .celeb-link { margin-top: 0; }
.share-btn {
  font-family: var(--font-body); font-size: 0.74rem; color: var(--muted);
  background: transparent; border: 1px solid var(--card-border); border-radius: 999px;
  padding: 5px 12px; cursor: pointer; transition: 0.2s;
}
.share-btn:hover { color: var(--gold-bright); border-color: rgba(216, 180, 92, 0.5); }
.car-arrow {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--card-border); background: rgba(14, 13, 18, 0.88);
  color: var(--gold-bright); font-size: 1.5rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px);
}
.car-arrow:hover { border-color: var(--gold); }
.car-arrow.prev { left: -6px; }
.car-arrow.next { right: -6px; }
.car-hint { text-align: center; color: var(--muted); font-size: 0.78rem; margin-top: 4px; }

.lightbox {
  position: fixed; inset: 0; background: rgba(5, 4, 9, 0.95); z-index: 200;
  display: none; overflow: auto; padding: 56px 16px 32px;
}
.lightbox.open { display: block; }
.lightbox img { display: block; margin: 0 auto; max-width: min(900px, 94vw); width: 100%; height: auto; border-radius: 8px; }
.lightbox .lb-close {
  position: fixed; top: 14px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--card-border); background: rgba(14, 13, 18, 0.9); color: var(--ink);
  font-size: 1.4rem; cursor: pointer;
}
@media (max-width: 1100px) {
  .poster-slide { flex: 0 0 calc((100% - 18px) / 2); }
}
@media (max-width: 860px) {
  .poster-slide { flex: 0 0 82%; }
  .car-arrow { display: none; }
}

/* ---------- traditional objects ---------- */
.object-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.object-card {
  display: block; text-align: left; font-family: inherit;
  background: rgba(26, 23, 34, 0.84); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 14px; cursor: pointer; transition: 0.2s;
}
.object-card:hover { border-color: rgba(216, 180, 92, 0.5); transform: translateY(-2px); }
.object-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; display: block; background: #0b0a11; }
.obj-name { display: block; margin-top: 12px; color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.obj-cn { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; margin-top: 2px; }
.obj-cta { text-align: center; margin-top: 24px; }
.obj-note { text-align: center; max-width: 720px; margin: 14px auto 0; }
.obj-credits { max-width: 760px; margin: 18px auto 0; font-size: 0.74rem; color: var(--muted); }
.obj-credits summary { cursor: pointer; text-align: center; color: var(--muted); }
.obj-credits p { margin-top: 8px; line-height: 1.7; }

.obj-modal { position: fixed; inset: 0; background: rgba(5, 4, 9, 0.92); z-index: 210; display: none; padding: 40px 16px; overflow: auto; }
.obj-modal.open { display: flex; align-items: center; justify-content: center; }
.obj-modal-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; max-width: 540px; padding: 22px; text-align: center;
  position: relative;
}
.obj-modal-card img { width: 100%; max-width: 280px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; margin: 0 auto 14px; display: block; }
.obj-modal-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; }
.obj-modal-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.obj-modal-note { margin-top: 12px; font-size: 0.78rem; color: var(--gold); }
.obj-close {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--card-border); background: rgba(14, 13, 18, 0.8);
  color: var(--ink); font-size: 1.2rem; cursor: pointer;
}
@media (max-width: 860px) {
  .object-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #17141d; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; z-index: 100;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4); font-size: 0.92rem;
}

/* ---------- dao ambience toggle ---------- */
.audio-toggle {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14, 13, 18, 0.82); color: var(--muted);
  border: 1px solid var(--card-border); border-radius: 999px;
  padding: 9px 16px; font-size: 0.78rem; font-family: var(--font-body);
  cursor: pointer; backdrop-filter: blur(8px); transition: 0.2s;
}
.audio-toggle:hover { color: var(--gold-bright); border-color: rgba(216, 180, 92, 0.5); }
.audio-toggle.is-on { color: var(--gold-bright); border-color: var(--gold); }
.audio-toggle .audio-icon { font-size: 0.95rem; line-height: 1; }
.audio-toggle.is-on .audio-icon { animation: audioPulse 3.2s ease-in-out infinite; }
@keyframes audioPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .audio-toggle.is-on .audio-icon { animation: none; }
}
@media (max-width: 600px) {
  .audio-toggle { padding: 10px 12px; }
  .audio-toggle .audio-label { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .site-header nav { display: none; }
  .grid-2, .steps, .pricing { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .palaces { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .upsell { flex-direction: column; align-items: flex-start; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .seg span, .palace.current { transition: none; }
  .btn-primary:hover { transform: none; }
}
