@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --night: oklch(0.19 0.05 300);
  --night-2: oklch(0.245 0.055 300);
  --night-3: oklch(0.13 0.04 300);
  --paper: oklch(0.965 0.012 78);
  --card: oklch(0.995 0.004 80);
  --ink: oklch(0.22 0.02 300);
  --ink-soft: oklch(0.5 0.02 300);
  --gold: oklch(0.78 0.125 85);
  --gold-deep: oklch(0.6 0.13 78);
  --cream: oklch(0.94 0.02 80);
  --line: oklch(0.88 0.014 75);
  --line-dark: oklch(0.36 0.05 300);
  --danger: oklch(0.55 0.18 25);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--gold-deep); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gold); text-decoration: underline; }
img { max-width: 100%; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

.site {
  background: var(--paper);
  min-height: 100vh;
}

/* shared constrained inner column for full-width bars */
.bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* header */
.topbar {
  background: var(--night);
  padding: 18px 0;
}
.topbar .bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.logo .mark { flex-shrink: 0; transition: transform 0.3s ease; }
.logo:hover .mark { transform: rotate(-12deg); }
.logo .word {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.1;
}
.logo span {
  display: block;
  font-size: 10px;
  font-style: normal;
  font-family: "Public Sans", sans-serif;
  color: var(--ink-soft);
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}
.header-phones {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.header-phone {
  text-align: right;
  padding-right: 22px;
  border-right: 1px solid var(--line-dark);
}
.header-phone .lbl { font-size: 10px; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 3px; }
.header-phone a {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lang-switch { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.lang-switch .on { font-weight: 700; color: var(--gold); }
.btn-account {
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.nav {
  background: var(--night-3);
  border-bottom: 1px solid var(--line-dark);
}
.nav .bar-inner {
  display: flex;
  flex-wrap: wrap;
  padding-left: 22px;
  padding-right: 22px;
}
.nav a {
  color: var(--cream);
  padding: 13px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: var(--gold); text-decoration: none; }
.nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.content { max-width: 1180px; margin: 0 auto; padding: 32px 32px 48px; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  margin: 0 0 14px;
}
h1 { font-size: 32px; animation: fadeUp 0.5s ease both; }
h2 { font-size: 24px; margin-top: 8px; }
h3 { font-size: 18px; }
.tagline { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; color: var(--gold-deep); font-size: 17px; margin: -6px 0 14px; }

/* hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  margin: 4px 0 36px;
  align-items: center;
  animation: fadeUp 0.6s ease 0.08s both;
}
.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
}
.hero-call { background: transparent; border: 0; padding: 0; }
.phone-number {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 10px 0 16px;
  text-decoration: none;
}
.hero-call .phone-number { font-size: 34px; }
.tiny { font-size: 12px; color: var(--ink-soft); }
.gold { color: var(--gold-deep); font-weight: 600; }

/* buttons */
.btn-3d, .btn-ghost, button.btn-3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--night);
  color: var(--cream) !important;
  border: 1px solid var(--night);
  border-radius: 3px;
  padding: 11px 20px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  margin: 4px 8px 4px 0;
  font-family: "Public Sans", sans-serif;
  font-size: 13.5px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-3d:hover { background: var(--night-2); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(20, 10, 40, 0.18); }
.btn-3d:active { transform: translateY(0); box-shadow: none; }
.btn-3d.alt { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn-3d.alt:hover { border-color: var(--gold-deep); color: var(--gold-deep) !important; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep) !important; transform: translateY(-1px); }
.btn-call { font-size: 15px; padding: 13px 22px; }
.btn-account { transition: background 0.15s ease, color 0.15s ease; }
.btn-account:hover { background: var(--gold); color: var(--night) !important; }

/* voyants */
.voyant-grid, .grid-avatars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.voyant-card { max-width: 320px; }
.portrait {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(20, 10, 40, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.portrait:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(20, 10, 40, 0.24);
  text-decoration: none;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
a.portrait:hover img { transform: scale(1.06); }
.portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to top, rgba(15, 9, 27, 0.88), transparent);
  pointer-events: none;
}
.portrait-name {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 13px;
  z-index: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: 19px;
  line-height: 1.2;
  color: var(--cream);
}
.voyant-meta { padding-top: 13px; }
.voyant-meta .specialty { color: var(--gold-deep); font-weight: 600; font-size: 12px; line-height: 1.5; }
.voyant-meta .bio { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin: 6px 0 0; }
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-block;
  background: rgba(19, 13, 33, 0.72);
  border: 1px solid rgba(209, 168, 95, 0.55);
  color: var(--cream);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9px;
  backdrop-filter: blur(2px);
}
.star-list { list-style: none; padding: 0; margin: 0; }
.star-list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  transition: padding-left 0.2s ease;
}
.star-list li:hover { padding-left: 6px; }
.notice, .form-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  margin: 14px 0;
}
.game-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 14px 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.game-tile:has(> a):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(20, 10, 40, 0.12);
  border-color: var(--gold);
}
.game-tile > a:hover { text-decoration: none; }
.game-tile-image { aspect-ratio: 415 / 289; overflow: hidden; }
.game-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(0.16) saturate(1.08) brightness(0.98);
  transition: transform 0.5s ease;
}
.game-tile:has(> a):hover .game-tile-image img { transform: scale(1.06); }
.game-tile-body { padding: 14px 16px 18px; }
.game-tile h3 { margin-bottom: 6px; font-size: 17px; }
.phone-strip {
  background: var(--card);
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 13px 18px;
  text-align: center;
  border-radius: 4px;
  font-size: 13.5px;
}
.phone-strip a { color: var(--gold-deep); font-weight: 700; font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; }

/* dividers */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0;
}
.divider .line { flex: 1; height: 1px; background: var(--line); }
.divider svg { animation: twinkle 3.5s ease-in-out infinite; }

/* footer */
.site-footer {
  background: var(--night-3);
  color: var(--cream);
  padding: 36px 0 18px;
  font-size: 13px;
  margin-top: 20px;
}
.site-footer h3 {
  color: var(--gold);
  font-size: 12px;
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.footer-call {
  text-align: center;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-call .lbl { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.footer-phone {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--gold) !important;
  text-decoration: none !important;
  letter-spacing: 0.3px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  margin-top: 24px;
  padding-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.legal-page { max-width: 42em; }
.legal-page p { margin: 0 0 1em; }

/* forms */
input, select, textarea {
  width: 100%;
  max-width: 420px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
  font-size: 13.5px;
  background: var(--card);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-deep); }
label { font-size: 13px; color: var(--ink-soft); }
table.data { width: 100%; border-collapse: collapse; }
table.data th {
  text-align: left;
  background: transparent;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0 10px 10px;
  border-bottom: 2px solid var(--gold);
}
table.data td { border-bottom: 1px solid var(--line); padding: 10px; }
table.data tr { transition: background 0.15s ease; }
table.data tr:hover { background: var(--paper); }
table.spread { border-collapse: collapse; }
table.spread td { border: 0; }

/* modal */
@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 9, 27, 0.62);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: overlayIn 0.2s ease both;
}
.modal[hidden] { display: none !important; }
.modal-box {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 26px 26px 22px;
  width: 440px;
  max-width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(15, 8, 28, 0.4);
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.modal-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.msg { color: var(--gold-deep); min-height: 1.2em; font-size: 13px; }
.ok { color: #2f7d4a; }

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.modal-x:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: rotate(90deg); }

.auth-modal { text-align: center; }
.auth-brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 6px; }
.auth-modal .modal-title { text-align: center; }
.auth-modal > p.tiny:not(.auth-emailhint) { text-align: center; margin: 0 0 18px; }
.auth-modal label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; text-align: center; }
.auth-modal input { background: var(--paper); max-width: 300px; margin: 0 auto; text-align: center; }
.auth-modal p { margin: 0 0 14px; }
.auth-modal .btn-3d { margin-left: auto; margin-right: auto; }
.auth-emailhint { color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; text-align: center; }

/* chat */
.chat-log {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 340px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.chat-empty {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  padding: 20px;
}
.chat-empty p { margin: 0; max-width: 26em; }
.chat-empty svg { animation: twinkle 2.4s ease-in-out infinite; }
.bubble { margin: 6px 0; padding: 9px 13px; max-width: 80%; border-radius: 4px; font-size: 13.5px; }
.bubble.user { background: var(--paper); border: 1px solid var(--line); margin-left: auto; }
.bubble.assistant { background: var(--night); color: var(--cream); }
.chat-form { display: flex; gap: 8px; margin-top: 12px; }
.chat-form input { flex: 1; max-width: none; }

/* tarot / games */
.reading-stage { text-align: center; margin: 18px 0; }
.flip-card {
  width: 180px;
  height: 280px;
  margin: 0 auto;
  perspective: 1200px;
  cursor: pointer;
}
.flip-card.small { width: 120px; height: 186px; }
.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.flip-card.revealed .flip-inner { transform: rotateY(180deg); }
.flip-back, .flip-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 28px rgba(20, 10, 40, 0.22);
}
.flip-back { background: var(--night); }
.flip-back img, .flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flip-front { transform: rotateY(180deg); background: var(--night-3); }

/* draw invitation + shuffle */
@keyframes inviteGlow {
  0%, 100% { box-shadow: 0 12px 28px rgba(20, 10, 40, 0.22), 0 0 0 rgba(209, 168, 95, 0); }
  50% { box-shadow: 0 12px 28px rgba(20, 10, 40, 0.22), 0 0 22px rgba(209, 168, 95, 0.45); }
}
@keyframes shuffleWobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-4deg) scale(1.02); }
  40% { transform: rotate(3deg) scale(1.03); }
  60% { transform: rotate(-3deg) scale(1.02); }
  80% { transform: rotate(2deg) scale(1.01); }
}
.flip-card:not(.revealed):not(.shuffling) .flip-back { animation: inviteGlow 2.6s ease-in-out infinite; }
.flip-card.shuffling .flip-inner { animation: shuffleWobble 0.5s ease-in-out; }
#cdjFlipCard:not(.revealed) { transition: transform 0.2s ease; }
#cdjFlipCard:not(.revealed):hover { transform: translateY(-4px) scale(1.03); }
.draw-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.2px;
  transition: opacity 0.2s ease;
}
.draw-hint svg { flex-shrink: 0; animation: twinkle 2.2s ease-in-out infinite; }
.flip-card.revealed + .draw-hint,
.reading-stage.revealed .draw-hint { opacity: 0; pointer-events: none; }
.draw-again {
  margin-top: 18px;
}

/* card fan — pick-a-card interaction */
@keyframes fanCardIn {
  from { opacity: 0; transform: translateY(26px) scale(0.88); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fanShuffleIn {
  0% { opacity: 0; transform: translateY(4px) rotate(var(--shuffle-rot, 0deg)) scale(0.9); }
  55% { opacity: 1; transform: translateY(-12px) rotate(calc(var(--shuffle-rot, 0deg) * -0.45)) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}
.fan-card.shuffle-in {
  animation: fanShuffleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.card-fan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  row-gap: 44px;
  padding: 44px 0 56px;
}
.fan-card {
  position: relative;
  flex-shrink: 0;
  width: 112px;
  height: 197px;
  margin-left: -38px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 6px 14px rgba(20, 10, 40, 0.18);
  cursor: pointer;
  background: var(--night);
  animation: fanCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, opacity 0.3s ease, margin 0.3s ease;
}
.fan-card:first-child { margin-left: 0; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card:hover {
  transform: translateY(-22px) scale(1.08);
  box-shadow: 0 20px 34px rgba(20, 10, 40, 0.32);
  border-color: var(--gold);
  z-index: 40;
}
.fan-card:active { transform: translateY(-14px) scale(1.02); }
.card-fan.picking .fan-card {
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}
.card-fan.picking .fan-card:not(.picked) {
  opacity: 0;
  transform: translateY(30px) scale(0.8);
}
.card-fan.picking .fan-card.picked {
  transform: translateY(-30px) scale(1.25);
  box-shadow: 0 26px 46px rgba(20, 10, 40, 0.38);
  z-index: 50;
}
.card-fan.fan-hidden { display: none; }
@media (max-width: 800px) {
  .fan-card { width: 86px; height: 151px; margin-left: -29px; }
}
@media (max-width: 560px) {
  .fan-card { width: 64px; height: 112px; margin-left: -22px; }
  .card-fan { padding: 36px 0 44px; }
}
.deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}
.deck-card {
  cursor: pointer;
  text-align: center;
  aspect-ratio: 2 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--night);
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.deck-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.deck-card .tiny {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 4px 6px;
  background: linear-gradient(transparent, rgba(15, 8, 28, 0.92));
  color: var(--cream);
  font-size: 11px;
}
.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.deck-header h2 { margin: 0; }
.deck-header .deck-search-wrap { width: 260px; }
.deck-search-wrap { position: relative; max-width: 320px; }
.deck-search-wrap svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.55;
}
.deck-search-wrap input { padding-left: 34px; max-width: none; }
.deck-count { font-size: 12px; color: var(--ink-soft); margin: 6px 0 14px; }

.modal-box.card-modal {
  width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 46px;
}
.card-modal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin-bottom: 16px;
}
.card-modal-stage img#cardModalImage {
  width: 200px;
  flex-shrink: 0;
}
.modal-nav {
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.modal-nav:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: scale(1.08); }
.modal-nav:active { transform: scale(0.96); }
@media (max-width: 560px) {
  .modal-box.card-modal { width: 92vw; padding-left: 14px; padding-right: 14px; }
  .card-modal-stage { gap: 8px; }
  .card-modal-stage img#cardModalImage { width: 150px; }
  .modal-nav { width: 32px; height: 32px; }
}
.sign-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sign-button {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  padding: 14px 6px 10px;
  font-family: inherit;
  font-size: 13px;
  text-align: center;
  animation: fadeUp 0.4s ease backwards;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.sign-button .glyph {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  line-height: 1;
  color: var(--gold-deep);
  margin-bottom: 6px;
  transition: color 0.18s ease, transform 0.18s ease;
}
.sign-button b { display: block; font-weight: 600; font-size: 12.5px; }
.sign-button .tiny { display: block; margin-top: 2px; font-size: 10px; }
.sign-button:hover { border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(20, 10, 40, 0.1); }
.sign-button:hover .glyph { transform: scale(1.1); }
.sign-button.active {
  background: var(--night);
  color: var(--cream);
  border-color: var(--night);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 10, 40, 0.22);
}
.sign-button.active .glyph { color: var(--gold); }
.sign-button.active .tiny { color: var(--ink-soft); }
#horoscopeSignSymbol { display: inline-flex; vertical-align: middle; color: var(--gold-deep); margin-right: 2px; }

.score { font-family: "Cormorant Garamond", Georgia, serif; font-size: 44px; color: var(--gold-deep); text-align: center; font-weight: 600; }

/* oracle loading */
@keyframes skelShimmer {
  0% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}
.skel-block { display: block; }
.skel-line {
  display: block;
  height: 10px;
  margin: 7px 0;
  border-radius: 3px;
  background: linear-gradient(100deg, var(--line) 30%, var(--card) 50%, var(--line) 70%);
  background-size: 250% 100%;
  animation: skelShimmer 1.5s ease-in-out infinite;
}
.oracle-loading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 13px;
}
.oracle-loading svg { animation: twinkle 1.3s ease-in-out infinite; flex-shrink: 0; }
.fade-swap { animation: fadeUp 0.35s ease both; }
.unavailable-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
}
.unavailable-note svg { flex-shrink: 0; }

/* result panels */
.result-panel { animation: fadeUp 0.4s ease both; }
.result-section {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.result-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.result-section .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold-deep);
  margin: 0 0 6px;
}
.result-section .label svg { flex-shrink: 0; }
.result-section p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.conseil-callout {
  margin-top: 4px;
  padding: 14px 16px;
  background: var(--night);
  color: var(--cream);
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.conseil-callout svg { flex-shrink: 0; margin-top: 2px; }
.conseil-callout p { flex: 1 1 auto; min-width: 0; margin: 0; }
.conseil-callout b { color: var(--gold); font-weight: 600; }

/* compatibility gauge */
.compat-gauge { display: flex; justify-content: center; margin: 4px 0 6px; }
.compat-gauge svg { transform: rotate(-90deg); }
.compat-gauge .track { fill: none; stroke: var(--line); stroke-width: 8; }
.compat-gauge .fill {
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.compat-gauge-wrap { position: relative; width: 148px; height: 148px; }
.compat-gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
}
.compat-pair { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin: 10px 0 2px; }
.compat-gauge-wrap.gauge-loading { animation: twinkle 1.3s ease-in-out infinite; }

/* sequential reveal helpers */
.spread-row { display: flex; justify-content: center; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.spread-position { text-align: center; }
.spread-position .flip-card.pending {
  border: 1.5px dashed var(--line);
  border-radius: 6px;
}
.spread-position .flip-card.pending .flip-inner { visibility: hidden; }
.spread-position .flip-card.pop-in { animation: fadeUp 0.4s ease both; }
.spread-position .pos-label { transition: color 0.2s ease; }
.spread-position:has(.flip-card.pending) .pos-label { color: var(--ink-soft); }
.spread-position .pos-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: 15px;
  margin: 12px 0 2px;
}

/* daily-return note */
.return-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-style: italic;
}
.return-note svg { flex-shrink: 0; }
.search { margin: 8px 0; }
#cardModalImage {
  width: 200px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--gold);
}

/* account page */
.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.account-header h1 { margin: 0; }
.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title svg { flex-shrink: 0; color: var(--gold-deep); }
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 4px;
}
.account-grid .field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field select { width: 100%; max-width: none; }
.form-box .btn-3d { margin-top: 6px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--ink);
}
.chip svg { flex-shrink: 0; color: var(--gold-deep); }
.card-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.card-chip .brand-mark-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 3px;
  background: var(--night);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.card-chip .card-number { font-variant-numeric: tabular-nums; letter-spacing: 1px; font-size: 13.5px; }
.card-chip .card-exp { color: var(--ink-soft); font-size: 12px; margin-left: auto; }
@media (max-width: 560px) {
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .hero-grid, .voyant-grid, .grid-avatars, .footer-grid { grid-template-columns: 1fr 1fr; }
  .sign-grid { grid-template-columns: repeat(4, 1fr); }
  .phone-number { font-size: 24px; }
  .nav a { padding: 10px 12px; font-size: 13px; }
}
@media (max-width: 560px) {
  .hero-grid, .voyant-grid, .grid-avatars, .footer-grid { grid-template-columns: 1fr; }
  .sign-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-phone { font-size: 22px; }
  .spread-row { gap: 16px; }
}

/* crystal ball */
@keyframes mistDrift {
  to { transform: rotate(360deg); }
}
.crystal-ball-wrap { display: flex; flex-direction: column; align-items: center; margin: 28px 0 16px; }
.crystal-ball { position: relative; z-index: 0; display: flex; flex-direction: column; align-items: center; }
.crystal-orb-stack { position: relative; z-index: 2; width: 150px; height: 150px; }
@keyframes crystalGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
.crystal-glow-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent 70%);
  animation: crystalGlowPulse 2.6s ease-in-out infinite;
}
.crystal-ball.loading .crystal-glow-ring { animation-duration: 1s; }
.crystal-sphere-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.32), 0 12px 22px rgba(20, 10, 40, 0.22);
}
.crystal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  clip-path: circle(50%);
}
.crystal-ball-base-svg {
  width: 150px;
  height: auto;
  margin-top: -38px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 14px rgba(20, 10, 40, 0.22));
}
.crystal-answer {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 6px;
  color: var(--gold-deep);
}

/* wheel of destiny */
.destiny-wheel-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 24px 0 28px; }
.destiny-wheel-frame { position: relative; width: 260px; height: 260px; max-width: 100%; }
.destiny-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid var(--night);
  box-shadow: 0 18px 40px rgba(20, 10, 40, 0.28), inset 0 0 0 2px var(--gold);
  position: relative;
  transition: transform 3.2s cubic-bezier(0.12, 0.75, 0.15, 1);
}
.destiny-wheel .seg-label-wrap { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.destiny-wheel .seg-label {
  position: absolute;
  left: -45px;
  top: -102px;
  width: 90px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.15;
  color: var(--ink);
}
.destiny-wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--gold-deep);
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(20, 10, 40, 0.3));
}
.destiny-wheel-hub {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* numerology */
.numero-tiles { display: flex; justify-content: center; gap: 10px; margin: 22px 0; perspective: 400px; }
@keyframes tileSettle {
  0% { transform: translateY(-40px) rotateX(90deg); opacity: 0; }
  60% { transform: translateY(4px) rotateX(0deg); opacity: 1; }
  100% { transform: translateY(0) rotateX(0deg); }
}
.numero-tile {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  background: var(--night);
  color: var(--gold);
  font-family: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(20, 10, 40, 0.26);
  animation: tileSettle 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
