/* ULYA Mystic Luxury v5 — Public Landing (/) Enhancement Layer */
/* Zero-FPS idle starry depth, antique-gold capsule CTAs, editorial demo framing, 0px horizontal overflow. */

html.mystic-public,
html.mystic-public body {
  background-color: #010b15;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 184, 124, .34) transparent;
}

html.mystic-public::-webkit-scrollbar,
html.mystic-public body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html.mystic-public::-webkit-scrollbar-button,
html.mystic-public body::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

html.mystic-public::-webkit-scrollbar-track,
html.mystic-public body::-webkit-scrollbar-track {
  background: transparent;
}

html.mystic-public::-webkit-scrollbar-thumb,
html.mystic-public body::-webkit-scrollbar-thumb {
  background: rgba(215, 184, 124, .32);
  border-radius: 999px;
}

html.mystic-public::-webkit-scrollbar-thumb:hover,
html.mystic-public body::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 200, 138, .55);
}

/* Static 0-FPS starry obsidian-sapphire backdrop */
html.mystic-public body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1.5px 1.5px at 14% 18%, rgba(246, 224, 178, .65), transparent 60%),
    radial-gradient(1.2px 1.2px at 28% 42%, rgba(205, 226, 248, .55), transparent 60%),
    radial-gradient(1.8px 1.8px at 78% 15%, rgba(236, 200, 138, .72), transparent 60%),
    radial-gradient(1.2px 1.2px at 86% 36%, rgba(210, 230, 250, .52), transparent 60%),
    radial-gradient(1.4px 1.4px at 62% 24%, rgba(246, 224, 178, .48), transparent 60%),
    radial-gradient(1.6px 1.6px at 22% 76%, rgba(236, 200, 138, .58), transparent 60%),
    radial-gradient(1.2px 1.2px at 72% 72%, rgba(205, 226, 248, .48), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 82%, rgba(246, 224, 178, .56), transparent 60%),
    radial-gradient(ellipse 68% 42% at 50% 0%, rgba(26, 62, 114, .26), transparent 72%),
    radial-gradient(ellipse 46% 36% at 82% 22%, rgba(215, 176, 102, .12), transparent 70%);
}

html.mystic-public .app-shell {
  position: relative;
  z-index: 1;
}

/* Topbar refinement */
html.mystic-public .topbar {
  border-bottom: 1px solid rgba(215, 184, 124, .18);
  padding-bottom: 14px;
}

html.mystic-public .topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

html.mystic-public .demo-badge {
  font-size: 10px;
  letter-spacing: .16em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(215, 184, 124, .28);
  background: rgba(8, 20, 38, .66);
  color: rgba(236, 212, 162, .78);
}

html.mystic-public .ulya-home-cabinet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(236, 200, 138, .68);
  background: linear-gradient(135deg, rgba(215, 178, 108, .24), rgba(14, 34, 62, .92));
  color: #fff6dc;
  font: 600 13px/1.2 var(--font-sans, system-ui, sans-serif);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 245, 210, .28), 0 8px 20px rgba(0, 0, 0, .42);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html.mystic-public .ulya-home-cabinet-link:hover,
html.mystic-public .ulya-home-cabinet-link:focus-visible {
  border-color: #ffe8b0;
  box-shadow: inset 0 1px 0 rgba(255, 248, 224, .45), 0 10px 24px rgba(0, 0, 0, .55), 0 0 18px rgba(236, 194, 112, .32);
  transform: translateY(-1px);
}

/* Hero Mystic Luxury v5 framing */
html.mystic-public .hero {
  position: relative;
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(215, 184, 124, .26);
  background:
    radial-gradient(ellipse 64% 58% at 78% 45%, rgba(236, 194, 112, .14), transparent 72%),
    linear-gradient(160deg, rgba(11, 27, 50, .86), rgba(3, 10, 22, .94));
  box-shadow: 0 24px 64px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 244, 210, .14);
}

html.mystic-public .hero-copy h1 {
  letter-spacing: -.01em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}

html.mystic-public .hero-copy h1 em {
  color: #f3d79b;
}

html.mystic-public .ulya-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

html.mystic-public .ulya-home-enter-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(236, 200, 138, .82);
  background: linear-gradient(135deg, #2b4c7c 0%, #142b4d 48%, #0c1d38 100%);
  color: #fff6dc;
  font: 600 15px/1.2 var(--font-sans, system-ui, sans-serif);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 214, .42),
    0 12px 28px rgba(0, 0, 0, .56),
    0 0 26px rgba(236, 194, 112, .26);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

html.mystic-public .ulya-home-enter-cta:hover,
html.mystic-public .ulya-home-enter-cta:focus-visible {
  border-color: #fff0be;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 224, .55),
    0 14px 32px rgba(0, 0, 0, .64),
    0 0 34px rgba(236, 194, 112, .42);
}

html.mystic-public .ulya-home-demo-anchor {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(215, 184, 124, .24);
  background: rgba(6, 16, 32, .56);
  color: #dfd4be;
  font: 500 14px/1.2 var(--font-sans, system-ui, sans-serif);
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

html.mystic-public .ulya-home-demo-anchor:hover,
html.mystic-public .ulya-home-demo-anchor:focus-visible {
  border-color: rgba(236, 200, 138, .58);
  color: #fff6dc;
}

/* Editorial low-key demo notice (replaces loud dev-banner feel while keeping full clarity) */
html.mystic-public .demo-notice {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(215, 184, 124, .18);
  background: rgba(7, 17, 33, .62);
  color: rgba(220, 228, 240, .82);
  font-size: 13px;
  line-height: 1.48;
  box-shadow: none;
}

html.mystic-public .demo-notice strong {
  color: #ecd098;
  font-weight: 600;
}

html.mystic-public .demo-notice .notice-mark {
  background: #dfc482;
  box-shadow: 0 0 10px rgba(236, 194, 112, .55);
}

/* Ritual cards & Nixtio golden anamorphic flare behind #start-reading */
html.mystic-public .step-block,
html.mystic-public .result,
html.mystic-public .history-panel {
  border-radius: 24px;
  border: 1px solid rgba(215, 184, 124, .22);
  background: linear-gradient(170deg, rgba(10, 24, 46, .82), rgba(4, 12, 25, .92));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 244, 210, .1);
}

html.mystic-public .topic-surface {
  border-radius: 18px;
  border: 1px solid rgba(215, 184, 124, .22);
  background: rgba(7, 18, 35, .78);
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

html.mystic-public .topic-list input:checked + .topic-surface {
  border-color: rgba(236, 200, 138, .75);
  background: linear-gradient(155deg, rgba(215, 178, 108, .18), rgba(11, 28, 52, .94));
  box-shadow: 0 10px 26px rgba(0, 0, 0, .46), 0 0 18px rgba(236, 194, 112, .16);
}

html.mystic-public #reading-entry {
  position: relative;
  isolation: isolate;
}

html.mystic-public #reading-entry::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(236, 200, 138, .28) 22%, rgba(255, 232, 168, .9) 50%, rgba(236, 200, 138, .28) 78%, transparent 100%);
  box-shadow: 0 0 22px 4px rgba(236, 194, 112, .48), 0 0 46px 10px rgba(236, 194, 112, .2);
  pointer-events: none;
  z-index: -1;
}

html.mystic-public .primary-button {
  border-radius: 999px;
  border: 1px solid rgba(236, 200, 138, .78);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 210, .36),
    0 10px 28px rgba(0, 0, 0, .58),
    0 0 24px rgba(236, 194, 112, .22);
}

html.mystic-public .primary-button:hover,
html.mystic-public .primary-button:focus-visible {
  border-color: #fff0be;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 224, .5),
    0 12px 32px rgba(0, 0, 0, .65),
    0 0 32px rgba(236, 194, 112, .38);
}

@media (max-width: 640px) {
  html.mystic-public .hero {
    padding: 20px 16px;
    border-radius: 22px;
  }

  html.mystic-public .ulya-home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  html.mystic-public .ulya-home-enter-cta,
  html.mystic-public .ulya-home-demo-anchor {
    width: 100%;
    justify-content: center;
  }

  html.mystic-public #reading-entry::before {
    left: 0;
    right: 0;
  }
}
