/* ============================================================
   TarotNL — Main Stylesheet
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg-deep:      #140826;
  --bg-darker:    #0E0520;
  --bg-card:      #221140;
  --bg-card-alt:  #2C1B57;

  --purple-dark:  #1A0E3A;
  --purple-mid:   #3A2168;
  --purple-glow:  rgba(124, 91, 192, 0.14);
  --purple-glow2: rgba(124, 91, 192, 0.16);

  --gold:         #F1D588;
  --gold-bright:  #F4DC95;
  --gold-dim:     rgba(241, 213, 136, 0.28);
  --gold-border:  rgba(241, 213, 136, 0.18);
  --gold-border2: rgba(241, 213, 136, 0.16);

  --text-primary: #F4ECFB;
  --text-body:    #EDE6FB;
  --text-muted:   #C8BBE6;
  --text-dimmer:  #B6A6D8;
  --text-faint:   #9C8DC0;
  --text-faintest:#7C6E9E;
  --text-nav:     #CDBDEC;
  --text-teal:    #7AD3C2;

  --grad-gold:    linear-gradient(135deg, #F4DC95, #D2A746);
  --grad-card-bg: linear-gradient(160deg, #2F1C5C 0%, #1A0E3A 70%, #150A2E 100%);

  --font-serif:   'Newsreader', serif;
  --font-sans:    'Manrope', system-ui, sans-serif;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); }

::selection { background: var(--gold); color: #241046; }
input::placeholder, textarea::placeholder { color: rgba(182, 166, 216, 0.6); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  color: #241046;
  background: var(--gold);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.16s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(241, 213, 136, 0.22); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
@keyframes twinkle {
  0%, 100% { opacity: .2; }
  50%       { opacity: .9; }
}
@keyframes blink {
  0%, 80%, 100% { opacity: .25; transform: translateY(0);   }
  40%            { opacity: 1;   transform: translateY(-3px); }
}
@keyframes cardFlipReveal {
  0%, 28% { transform: rotateY(0deg); }
  100%    { transform: rotateY(180deg); }
}
@keyframes cardNameReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes oracleGlimmer {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

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

.page-wrap {
  min-height: 100vh;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 64px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(20, 8, 38, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border2);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.header-logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(241, 213, 136, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 34% 30%, var(--purple-mid), var(--purple-dark));
  flex-shrink: 0;
}

.header-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.header-logo__name {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  font-weight: 500;
}

.header-logo__tagline {
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--text-dimmer);
  text-transform: uppercase;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 28px);
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--text-nav);
  padding: 6px 2px;
}

.btn-primary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #241046;
  background: var(--grad-gold);
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(210, 167, 70, 0.8);
  display: inline-block;
  text-decoration: none;
}

.btn-primary--lg {
  font-size: 16px;
  padding: 15px 30px;
  box-shadow: 0 12px 30px -10px rgba(210, 167, 70, 0.7);
}

.btn-outline {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(241, 213, 136, 0.45);
  padding: 15px 28px;
  border-radius: 999px;
  display: inline-block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(241, 213, 136, 0.12);
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 72px) 36px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand { max-width: 320px; }

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.footer-brand__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-faint);
  margin: 0;
}

.footer-cols {
  display: flex;
  gap: clamp(32px, 6vw, 72px);
  flex-wrap: wrap;
}

.footer-col__heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-teal);
  margin-bottom: 14px;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__links a,
.footer-col__links span {
  color: var(--text-nav);
  font-size: 14px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(241, 213, 136, 0.1);
  font-size: 12px;
  color: var(--text-faintest);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ============================================================
   LANDING PAGE
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(56px, 7vw, 104px);
  min-height: calc(100vh - 64px);
  background:
    radial-gradient(ellipse 80% 60% at 22% 18%, rgba(124, 91, 192, 0.30), transparent 55%),
    radial-gradient(ellipse 60% 50% at 84% 28%, rgba(241, 213, 136, 0.10), transparent 50%),
    var(--bg-deep);
}

.hero__star {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}
.hero__star--1 { left: 12%; top: 22%; width: 3px; height: 3px; animation: twinkle 4s   ease-in-out       infinite; }
.hero__star--2 { left: 46%; top: 14%; width: 2px; height: 2px; animation: twinkle 5.2s ease-in-out  .6s  infinite; background: var(--text-body); }
.hero__star--3 { left: 30%; top: 64%; width: 2px; height: 2px; animation: twinkle 4.6s ease-in-out 1.1s infinite; }
.hero__star--4 { left: 88%; top: 70%; width: 3px; height: 3px; animation: twinkle 6s   ease-in-out  .3s  infinite; background: var(--text-body); }

.hero__content {
  flex: 1 1 440px;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: rgba(241, 213, 136, 0.6);
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero__title-accent {
  background: linear-gradient(90deg, #F6E3A1, #D7B45A 55%, #B0832F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero__body {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 24px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__note {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Floating cards */
.hero__cards {
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  z-index: 1;
}

.cards-stage {
  position: relative;
  width: min(440px, 84vw);
  height: 400px;
}

.float-card {
  position: absolute;
  aspect-ratio: 2 / 3.25;
  border-radius: 13px;
  background: linear-gradient(160deg, var(--bg-card-alt), #160B33);
  border: 1px solid rgba(241, 213, 136, 0.45);
  box-shadow:
    inset 0 0 0 4px rgba(241, 213, 136, 0.09),
    0 22px 50px -16px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card__inner {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(241, 213, 136, 0.28);
  border-radius: 9px;
}

.float-card--left  { left: 2%;  top: 20%; width: clamp(120px, 28vw, 160px); rotate: -15deg; animation: floatY 6.2s ease-in-out      infinite; }
.float-card--mid   { left: 50%; top: 48%; width: clamp(140px, 32vw, 184px); rotate:  -2deg; z-index: 3; transform: translate(-50%, -50%); animation: floatY 6.8s ease-in-out  .4s infinite; border: 1px solid rgba(241, 213, 136, 0.6); box-shadow: inset 0 0 0 4px rgba(241, 213, 136, 0.12), 0 30px 60px -18px rgba(0,0,0,0.8); border-radius: 14px; }
.float-card--right { right: 2%; top: 22%; width: clamp(120px, 28vw, 160px); rotate:  13deg; animation: floatY 5.9s ease-in-out  .8s infinite; }

/* How it works */
.how-section {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(241, 213, 136, 0.1);
}

.how-section__inner { max-width: 900px; margin: 0 auto; }

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-teal);
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0;
  color: var(--text-primary);
  text-align: center;
}

.how-header { margin-bottom: clamp(36px, 5vw, 56px); }

.how-steps {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 32px);
}

.how-step {
  flex: 1 1 240px;
  padding: clamp(20px, 3vw, 28px);
  background: rgba(124, 91, 192, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
}

.how-step__num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: rgba(241, 213, 136, 0.25);
  line-height: 1;
  margin-bottom: 14px;
}

.how-step__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.how-step__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dimmer);
  margin: 0;
}

/* CTA band */
.cta-band {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 72px);
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(124, 91, 192, 0.18), transparent 70%);
}

.cta-band__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text-primary);
  margin: 0 0 24px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
  min-height: calc(100vh - 64px);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(ellipse 80% 44% at 50% 0%, rgba(124, 91, 192, 0.16), transparent 62%),
    var(--bg-deep);
}

.about-inner {
  max-width: 880px;
  margin: 0 auto;
}

.about-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-teal);
  margin-bottom: 14px;
}

.about-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1;
  color: var(--text-primary);
  margin: 0 0 clamp(30px, 5vw, 48px);
}

.about-copy {
  max-width: 760px;
}

.about-copy h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
  color: var(--gold);
  margin: clamp(34px, 5vw, 48px) 0 14px;
}

.about-copy p {
  color: var(--text-body);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
  margin: 0 0 18px;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-copy {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0;
}

.faq-item {
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  background: rgba(124, 91, 192, 0.08);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 17px 20px;
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.4;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-muted);
}

.faq-item a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-cta {
  margin-top: 28px;
}

.seo-copy {
  max-width: 840px;
}

.seo-lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
}

.seo-section {
  margin-top: clamp(30px, 5vw, 46px);
}

.seo-section h2,
.seo-cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--gold);
  margin: 0 0 14px;
}

.article-body .seo-section p {
  margin-bottom: 18px;
}

.article-body .seo-section p:last-child {
  margin-bottom: 0;
}

.seo-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  color: var(--text-body);
  background: rgba(124, 91, 192, 0.08);
  line-height: 1.6;
}

.seo-list li::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(241, 213, 136, 0.12);
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.seo-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(122, 211, 194, 0.34);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--text-body);
  background: rgba(122, 211, 194, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.seo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 6vw, 58px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(241, 213, 136, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 100% at 100% 0%, rgba(241, 213, 136, 0.10), transparent 55%),
    rgba(124, 91, 192, 0.10);
}

.seo-cta p {
  max-width: 520px;
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.blog-card {
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 90% 120% at 100% 0%, rgba(122, 211, 194, 0.08), transparent 54%),
    rgba(124, 91, 192, 0.08);
}

.blog-card__meta,
.blog-post__meta {
  margin-bottom: 10px;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
}

.blog-card h2 a {
  color: var(--gold);
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-card h2 a:focus-visible,
.blog-card__link:hover,
.blog-card__link:focus-visible,
.source-list a:hover,
.source-list a:focus-visible,
.blog-links a:hover,
.blog-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-card p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.blog-card__link,
.source-list a,
.blog-links a {
  color: var(--gold);
  font-weight: 800;
}

.blog-card-figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 34px auto 0;
  padding: 22px;
  border: 1px solid rgba(241, 213, 136, 0.22);
  border-radius: 16px;
  background: rgba(124, 91, 192, 0.08);
}

.blog-card-figure img {
  width: min(240px, 70vw);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(7, 2, 18, 0.38);
}

.blog-card-figure figcaption {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--text-muted);
}

.blog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.blog-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(241, 213, 136, 0.28);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(241, 213, 136, 0.08);
  text-decoration: none;
}

/* ============================================================
   READING / CHAT PAGE
   ============================================================ */
.reading-page {
  height: calc(100vh - 64px);
  width: min(100%, 920px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #111111;
  background: #ffffff;
  border-right: 1px solid rgba(241, 213, 136, 0.12);
  border-left: 1px solid rgba(241, 213, 136, 0.12);
  box-shadow: 0 0 48px rgba(7, 2, 18, 0.22);
}

.mobile-reading-shell {
  display: flex;
  flex: none;
  min-height: 160px;
  padding: 16px clamp(28px, 5vw, 56px) 6px;
  flex-direction: column;
  color: #111111;
  background: #ffffff;
}

.mobile-reading-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mobile-back-btn,
.mobile-token-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #eeeeef;
  color: #77777d;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.mobile-back-btn {
  gap: 4px;
  padding: 0 16px 0 11px;
}

.mobile-token-pill {
  gap: 7px;
  padding: 0 15px;
  color: #4d4b55;
}

.mobile-token-pill svg {
  color: #7a5af8;
}

.mobile-advisor-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0 2px;
  text-align: center;
}

.mobile-advisor-photo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
}

.mobile-advisor-photo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 10px 28px rgba(15, 6, 32, 0.2);
}

.mobile-advisor-online {
  position: absolute;
  right: 2px;
  bottom: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #22d468;
  border: 3px solid #ffffff;
}

.mobile-advisor-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.mobile-advisor-name {
  margin: 0;
  color: #111111;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.1;
}

.mobile-info-btn {
  width: 21px;
  height: 21px;
  border: 1px solid rgba(122, 90, 248, 0.18);
  border-radius: 50%;
  color: #7a5af8;
  background: #f4f2fb;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.mobile-advisor-line {
  margin: 3px 0 0;
  color: #77747e;
  font-size: 13px;
  font-weight: 700;
}

.mobile-info-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 108px 18px 18px;
  background: rgba(15, 8, 28, 0.45);
}

.mobile-info-panel[hidden] {
  display: none;
}

.mobile-info-card {
  position: relative;
  width: min(100%, 420px);
  max-height: min(78dvh, 680px);
  overflow-y: auto;
  border-radius: 24px;
  padding: 28px 24px 24px;
  color: #241046;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 8, 28, 0.28);
}

.mobile-info-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #6d647a;
  background: #f1eff5;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.mobile-info-card h2 {
  margin: 0 44px 14px 0;
  color: #111111;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 650;
}

.mobile-info-copy p {
  margin: 0 0 15px;
  color: #443454;
  font-size: 15px;
  line-height: 1.65;
}

.mobile-info-copy p:last-child {
  margin-bottom: 0;
  font-weight: 800;
}

body.mobile-info-open {
  overflow: hidden;
}

.chat-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 22px clamp(28px, 5vw, 64px) 24px;
  background: #ffffff;
}

.chat-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.chat-header { display: none; }

.initial-greeting {
  display: flex;
}

.initial-greeting .msg-col > .msg-bubble:not(.oracle-opening) {
  display: none;
}

.oracle-opening {
  position: relative;
  overflow: hidden;
  padding-top: 17px;
  background:
    radial-gradient(circle at 16% 0%, rgba(241, 213, 136, 0.24), transparent 32%),
    linear-gradient(135deg, #fbf6e8 0%, #f5effb 52%, #eee9fb 100%);
  border-color: rgba(196, 166, 91, 0.32);
  box-shadow: 0 18px 40px -30px rgba(36, 16, 70, 0.5);
}

.oracle-opening::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.42) 46%, transparent 62%);
  transform: translateX(-120%);
  animation: oracleGlimmer 3.8s ease 0.5s both;
}

.oracle-opening__text {
  position: relative;
  margin: 0;
}

.chat-header__guide {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}

.chat-header__spread {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 6px;
}

.chat-header__limit {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 11px;
  border: 1px solid rgba(122, 211, 194, 0.24);
  border-radius: 999px;
  color: var(--text-teal);
  background: rgba(122, 211, 194, 0.08);
  font-size: 12px;
}

.new-reading-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(36, 16, 70, 0.08);
  border-radius: 50%;
  color: #7a5af8;
  background: #f5f3f8;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.new-reading-btn:hover,
.new-reading-btn:focus-visible {
  border-color: rgba(122, 90, 248, 0.26);
  background: #eeeaf8;
  transform: translateY(-1px);
}

.new-reading-btn svg {
  flex: none;
}

/* Messages */
.msg-ai {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.msg-avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(241, 213, 136, 0.5);
  background: radial-gradient(circle at 35% 30%, var(--purple-mid), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.msg-bubble {
  align-self: flex-start;
  max-width: 94%;
  background: #f4f0fa;
  border: 1px solid rgba(36, 16, 70, 0.12);
  border-radius: 4px 16px 16px 16px;
  padding: 13px 18px;
  color: #241046;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-line;
}

.msg-user {
  display: flex;
  flex-direction: row;
  align-self: flex-end;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.msg-user__bubble {
  order: 1;
  max-width: min(82%, 560px);
  background: #faedc2;
  color: #241046;
  border: 1px solid rgba(210, 167, 70, 0.18);
  border-radius: 18px 4px 18px 18px;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 620;
  text-align: start;
  box-shadow: 0 7px 18px -16px rgba(36, 16, 70, 0.22);
}

.msg-user__avatar {
  order: 2;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #7a5af8;
  background: #f4f2fb;
  border: 1px solid rgba(122, 90, 248, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.msg-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

/* Typing indicator */
.typing-indicator {
  display: none;
  gap: 12px;
  align-items: center;
}

.typing-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  background: #f4f0fa;
  border: 1px solid rgba(36, 16, 70, 0.12);
  border-radius: 16px;
  padding: 14px 18px;
}

.msg-bubble--stream-waiting {
  display: inline-flex;
  width: fit-content;
  min-width: 70px;
  min-height: 38px;
  gap: 6px;
  align-items: center;
  padding: 14px 18px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.typing-dot:nth-child(1) { animation: blink 1.2s 0s    infinite ease-in-out; }
.typing-dot:nth-child(2) { animation: blink 1.2s .18s  infinite ease-in-out; }
.typing-dot:nth-child(3) { animation: blink 1.2s .36s  infinite ease-in-out; }

/* Cards */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 132px));
  justify-content: center;
  align-items: start;
  gap: 18px;
  width: min(100%, 760px);
  margin: 6px auto 10px;
  padding: 8px 0;
}

.card-row:has(.card-item:only-child) {
  grid-template-columns: 132px;
  width: 132px;
}

.card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 0;
  animation: cardIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.card-item--deal {
  perspective: 900px;
  animation-delay: var(--deal-delay, 0ms);
}

.tarot-card-flip {
  width: 132px;
  aspect-ratio: 2 / 3.25;
  perspective: 900px;
}

.tarot-card-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cardFlipReveal 1.25s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(var(--deal-delay, 0ms) + 260ms);
}

.tarot-card-flip__side {
  position: absolute;
  inset: 0;
  display: flex;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tarot-card-flip__front {
  transform: rotateY(180deg);
}

.tarot-card-flip .tarot-card {
  width: 100%;
  height: 100%;
}

.tarot-card--back {
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background:
    radial-gradient(circle at 50% 42%, rgba(241, 213, 136, 0.16), transparent 44%),
    linear-gradient(160deg, #2f1c5c 0%, #160b33 100%);
}

.tarot-card__back-mark {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(241, 213, 136, 0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 8, 38, 0.34);
}

.card-item--deal .card-item__name {
  opacity: 0;
  animation: cardNameReveal 0.45s ease forwards;
  animation-delay: calc(var(--deal-delay, 0ms) + 1450ms);
}

.msg-bubble--typing::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 1.1em;
  margin-inline-start: 2px;
  border-right: 2px solid rgba(36, 16, 70, 0.55);
  vertical-align: -0.18em;
  animation: blink 1s infinite;
}

.msg-bubble--pending {
  opacity: 0;
}

.tarot-card {
  width: 132px;
  aspect-ratio: 2 / 3.25;
  border-radius: 11px;
  background: var(--grad-card-bg);
  border: 1px solid rgba(241, 213, 136, 0.55);
  box-shadow:
    inset 0 0 0 4px rgba(241, 213, 136, 0.10),
    inset 0 0 26px rgba(124, 91, 192, 0.30),
    0 14px 32px -12px rgba(0, 0, 0, 0.7);
  padding: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.tarot-card--image {
  padding: 5px;
  background: rgba(9, 6, 24, 0.82);
}

.tarot-card--reversed .tarot-card__image,
.tarot-card--reversed .tarot-card__glyph,
.tarot-card--reversed .tarot-card__footer {
  transform: rotate(180deg);
}

.tarot-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.card-item__name {
  max-width: 136px;
  font-family: var(--font-serif);
  color: #241046;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.tarot-card__num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.tarot-card__glyph { width: 60px; height: 60px; }

.tarot-card__footer { text-align: center; }

.tarot-card__name {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.15;
}

.tarot-card__kw {
  color: var(--text-dimmer);
  font-size: 9px;
  margin-top: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Reading block */
.reading-block {
  background: rgba(124, 91, 192, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 18px 20px;
}

.reading-row {
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid rgba(241, 213, 136, 0.12);
}
.reading-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.reading-row__card {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 3px;
}

.reading-row__kw {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.reading-row__text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.reading-close {
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(241, 213, 136, 0.12);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-dimmer);
}

.suggestion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.suggestion-btn {
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.35;
  color: #241046;
  background: #f5f3f8;
  border: 1px solid rgba(36, 16, 70, 0.1);
  padding: 8px 12px;
  border-radius: 999px;
  max-width: 100%;
  text-align: start;
}

.suggestion-btn:hover {
  background: #eeeaf8;
}

.followup-prompt {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.followup-prompt__text {
  max-width: min(100%, 520px);
  color: #21152e;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.35;
  text-align: start;
}

.followup-prompt__yes {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(122, 90, 248, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #6f4fe8, #8a49c8);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(132, 104, 244, 0.25);
}

.followup-prompt__yes svg {
  transform: scaleX(-1);
}

.followup-prompt__yes:hover {
  background: linear-gradient(135deg, #6847d8, #7c3fb8);
  transform: translateY(-1px);
}

/* Input bar */
.chat-inputbar {
  flex: none;
  border-top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 18%, #ffffff);
  backdrop-filter: none;
  padding: 14px clamp(28px, 5vw, 64px) 22px;
}

.chat-inputbar__inner {
  max-width: 760px;
  margin: 0 auto;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.send-btn:disabled,
.chat-textarea:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.chat-textarea {
  flex: 1;
  resize: none;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: #21152e;
  background: #f5f4f6;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  max-height: 120px;
  outline: none;
}

.chat-textarea::placeholder {
  color: #6d647a;
  font-weight: 700;
}

.chat-textarea:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible {
  border-color: rgba(241, 213, 136, 0.78);
  box-shadow: 0 0 0 3px rgba(241, 213, 136, 0.18);
}

.send-btn {
  flex: none;
  cursor: pointer;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #9db8ff, #c382f7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(132, 104, 244, 0.34);
}

.send-btn svg {
  transform: rotate(-45deg);
  stroke: #ffffff;
}

.send-btn:focus-visible,
.suggestion-btn:focus-visible,
.followup-prompt__yes:focus-visible,
.form-submit:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-ghost:focus-visible,
.header-logo:focus-visible,
.footer-col__links a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  flex: 1;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(124, 91, 192, 0.20), transparent 55%),
    var(--bg-deep);
}

.contact-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 340px;
  max-width: 460px;
}

.contact-info__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-teal);
  margin-bottom: 16px;
}

.contact-info__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
  text-wrap: balance;
}

.contact-info__body {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 22px 0 36px;
  text-wrap: pretty;
}

.contact-details { display: flex; flex-direction: column; gap: 22px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(241, 213, 136, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-glow);
}

.contact-detail__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.contact-detail__value {
  color: var(--text-body);
  font-size: 16px;
}

/* Contact form card */
.contact-form-card {
  flex: 1 1 360px;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label__text {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.form-input,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(241, 213, 136, 0.26);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}

.form-textarea {
  line-height: 1.5;
  resize: vertical;
  rows: 4;
}

.form-submit {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: #241046;
  background: var(--grad-gold);
  border: none;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 10px 24px -10px rgba(210, 167, 70, 0.7);
  margin-top: 4px;
}

/* Form errors */
.form-errors {
  background: rgba(255, 100, 80, 0.1);
  border: 1px solid rgba(255, 100, 80, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.form-error-item {
  font-size: 14px;
  color: #F4A99E;
}

/* Contact success state */
.contact-success { text-align: center; padding: 24px 8px; }

.contact-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 1px solid rgba(241, 213, 136, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 34% 30%, var(--purple-mid), var(--purple-dark));
}

.contact-success__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.contact-success__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dimmer);
  margin: 0 0 24px;
}

.btn-ghost {
  display: inline-block;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(241, 213, 136, 0.4);
  padding: 11px 22px;
  border-radius: 999px;
}

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-notice {
  display: block;
  margin-top: 8px;
  color: var(--text-faint);
  font-size: 11px;
  line-height: 1.45;
}

.recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  body:has(.reading-page) .site-header,
  body:has(.reading-page) .site-footer {
    display: none;
  }

  .reading-page {
    position: relative;
    height: 100dvh;
    width: 100%;
    margin: 0;
    min-height: 100dvh;
    overflow: hidden;
    color: #111111;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  .mobile-reading-shell {
    display: flex;
    flex: none;
    min-height: 19dvh;
    padding: calc(env(safe-area-inset-top, 0px) + 9px) 18px 5px;
    flex-direction: column;
    color: #111111;
    background: #ffffff;
  }

  .mobile-reading-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .mobile-back-btn,
  .mobile-token-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eeeeef;
    color: #77777d;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  }

  .mobile-back-btn {
    gap: 4px;
    padding: 0 11px 0 8px;
  }

  .mobile-token-pill {
    gap: 7px;
    padding: 0 11px;
    color: #4d4b55;
  }

  .mobile-token-pill svg {
    color: #7a5af8;
  }

  .mobile-advisor-card {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 3px;
    text-align: center;
  }

  .mobile-advisor-photo-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 6px;
  }

  .mobile-advisor-photo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 28px rgba(15, 6, 32, 0.2);
  }

  .mobile-advisor-online {
    position: absolute;
    right: 2px;
    bottom: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #22d468;
    border: 3px solid #ffffff;
  }

  .mobile-advisor-name {
    margin: 0;
    color: #111111;
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.1;
  }

  .mobile-advisor-name-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .mobile-info-btn {
    width: 21px;
    height: 21px;
    border: 1px solid rgba(122, 90, 248, 0.18);
    border-radius: 50%;
    color: #7a5af8;
    background: #f4f2fb;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-advisor-line {
    margin: 3px 0 0;
    color: #77747e;
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-info-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 112px) 18px 18px;
    background: rgba(15, 8, 28, 0.45);
  }

  .mobile-info-panel[hidden] {
    display: none;
  }

  .mobile-info-card {
    position: relative;
    width: min(100%, 420px);
    max-height: min(78dvh, 680px);
    overflow-y: auto;
    border-radius: 24px;
    padding: 28px 24px 24px;
    color: #241046;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 8, 28, 0.28);
  }

  .mobile-info-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #6d647a;
    background: #f1eff5;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-info-card h2 {
    margin: 0 44px 14px 0;
    color: #111111;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 650;
  }

  .mobile-info-copy p {
    margin: 0 0 15px;
    color: #443454;
    font-size: 15px;
    line-height: 1.65;
  }

  .mobile-info-copy p:last-child {
    margin-bottom: 0;
    font-weight: 800;
  }

  body.mobile-info-open {
    overflow: hidden;
  }

  .chat-header {
    display: none;
  }

  .chat-scroll {
    flex: 1;
    min-height: 0;
    padding: 6px 16px 154px;
    background: #ffffff;
  }

  .chat-inner {
    max-width: none;
    gap: 18px;
  }

  .msg-ai {
    gap: 8px;
  }

  .msg-avatar {
    width: 32px;
    height: 32px;
  }

  .msg-bubble {
    max-width: 100%;
    border-radius: 16px 16px 16px 4px;
    background: #f4f0fa;
    border-color: rgba(36, 16, 70, 0.12);
    color: #241046;
    font-size: 15px;
  }

  .msg-user {
    width: 100%;
    max-width: 100%;
    gap: 7px;
  }

  .msg-user__bubble {
    max-width: calc(100% - 40px);
    border-radius: 18px 4px 18px 18px;
    font-size: 15px;
    box-shadow: none;
  }

  .msg-user__avatar {
    width: 31px;
    height: 31px;
  }

  .chat-inputbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 8px 20px calc(env(safe-area-inset-bottom, 0px) + 18px);
    background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 18%, #ffffff);
    border-top: 0;
    z-index: 20;
  }

  .chat-inputbar__inner {
    max-width: none;
  }

  .input-row {
    gap: 8px;
    align-items: center;
  }

  .chat-textarea {
    min-height: 58px;
    max-height: 108px;
    border: 0;
    border-radius: 999px;
    padding: 18px 20px;
    color: #21152e;
    background: #f5f4f6;
    font-size: 17px;
    box-shadow: none;
  }

  .chat-textarea::placeholder {
    color: #6d647a;
    font-weight: 700;
  }

  .send-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9db8ff, #c382f7);
    box-shadow: 0 12px 28px rgba(132, 104, 244, 0.34);
  }

  .send-btn svg {
    transform: rotate(-45deg);
    stroke: #ffffff;
  }

  .new-reading-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #7a5af8;
    background: #f5f3f8;
    border-color: rgba(36, 16, 70, 0.08);
  }

  .chat-header__limit {
    margin-top: 8px;
  }

  .card-row {
    grid-template-columns: repeat(3, minmax(0, 92px));
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 304px;
    margin: 4px auto 8px;
    overflow: visible;
  }

  .card-item {
    min-width: 0;
    gap: 6px;
  }

  .tarot-card {
    width: 100%;
    max-width: 92px;
    border-radius: 8px;
  }

  .tarot-card-flip {
    width: 100%;
    max-width: 92px;
  }

  .tarot-card--image {
    padding: 3px;
  }

  .tarot-card__image {
    border-radius: 6px;
  }

  .card-item__name {
    max-width: 96px;
    font-size: 12px;
  }

  .card-row:has(.card-item:only-child) {
    grid-template-columns: 104px;
    width: 104px;
  }

  .card-row:has(.card-item:only-child) .card-item {
    width: 104px;
  }

  .card-row:has(.card-item:only-child) .tarot-card-flip {
    width: 104px;
    max-width: 104px;
  }

  .followup-prompt {
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
  }

  .followup-prompt__text {
    flex: 1;
    font-size: 18px;
    line-height: 1.35;
  }

  .followup-prompt__yes {
    min-width: 68px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 15px;
  }
}
