  :root{
    --base:#0d0a1f; --panel:#181330; --panel-2:#1f1840;
    --ink:#f4eeff; --muted:#b2a3d9;
    --violet:#b866f0; --violet-deep:#8b3fd6; --pink:#ff6fb0;
    --line: rgba(184,102,240,.22);
    --shadow: 0 24px 50px rgba(0,0,0,.45);
    --font-display: 'Bodoni Moda', serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --max: 1140px;
  }
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{ margin:0; background: var(--base); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
  a{ color:inherit; }
  img{ max-width:100%; display:block; }
  .container{ max-width: var(--max); margin:0 auto; padding-left: clamp(20px,5vw,56px); padding-right: clamp(20px,5vw,56px); position:relative; z-index:2; }
  .section{ padding: clamp(48px,6.5vw,80px) 0; position:relative; z-index:2; }
  h2{ font-family: var(--font-display); font-weight:600; font-size: clamp(24px,3vw,32px); line-height:1.25; margin:0 0 14px; color: var(--ink); }
  h3{ font-family: var(--font-display); font-weight:600; font-size:17px; margin:0 0 8px; }
  .note{ color: var(--muted); font-size:14.5px; line-height:1.7; }
  .section-intro{ max-width:840px; margin:0 0 22px; }

  /* ---------- AMBIENT AURORA + STARFIELD ---------- */
  .aurora{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
  .zring{ position:absolute; top:-30%; left:50%; width:1100px; height:1100px; margin-left:-550px; border-radius:50%; border:1px solid rgba(184,102,240,.16); animation: spin 140s linear infinite; }
  .zring.r2{ top:-20%; width:820px; height:820px; margin-left:-410px; border-color: rgba(255,111,176,.14); animation-duration:100s; animation-direction:reverse; }
  .zring::before{ content:""; position:absolute; inset:-40px; border-radius:50%; background: radial-gradient(circle at 50% 30%, rgba(184,102,240,.10), transparent 60%); }
  @keyframes spin{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }
  .star{ position:absolute; border-radius:50%; background: var(--violet); animation: twinkle ease-in-out infinite; }
  @keyframes twinkle{ 0%,100%{ opacity:.15; transform:scale(.7); } 50%{ opacity:.9; transform:scale(1.1); } }
  @media (prefers-reduced-motion: reduce){ .zring, .star{ animation:none; } }

  /* ---------- NAV ---------- */
  .nav{ position: sticky; top:0; z-index:30; padding: 14px 0; background: rgba(13,10,31,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
  .brand{ display:flex; align-items:center; gap:9px; font-family: var(--font-display); font-weight:600; font-size:16px; flex:none; }
  .brand-dot{ width:10px; height:10px; border-radius:50%; background: linear-gradient(135deg, var(--violet), var(--violet-deep)); }
  .nav-links{ display:flex; gap:18px; font-size:12.5px; color: var(--muted); flex-wrap:wrap; }
  .nav-links a{ text-decoration:none; white-space:nowrap; }
  .nav-links a:hover{ color: var(--ink); }
  @media (max-width:980px){ .nav-links{ display:none; } }

  /* ---------- BUTTONS ---------- */
  .btn{ display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:999px; border:1px solid var(--line); color: var(--ink); font-weight:600; font-size:13.5px; text-decoration:none; transition: all .2s ease; background: var(--panel); }
  .btn:hover{ border-color: var(--violet); }
  .btn-primary{ border:none; background: linear-gradient(135deg, var(--violet), var(--pink)); color:#1a0d2e; box-shadow: 0 14px 32px rgba(184,102,240,.35); }
  .btn-primary:hover{ transform: translateY(-1px); }

  /* ---------- HERO ---------- */
  .hero{ padding: clamp(40px,6vw,64px) 0 clamp(24px,4vw,40px); }
  .hero-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px,5vw,56px); align-items:center; }
  .badge{ display:inline-flex; font-size:12.5px; font-weight:700; color: var(--violet); background: var(--panel); border:1px solid var(--line); border-radius:999px; padding:8px 16px; margin-bottom:18px; box-shadow: var(--shadow); }
  .h1{ font-family: var(--font-display); font-weight:600; font-size: clamp(30px,4.2vw,52px); line-height:1.1; margin:0 0 16px; letter-spacing:-.01em; }
  .h1 em{ font-style:italic; color: var(--pink); }
  .sub{ color: var(--muted); font-size:15.5px; line-height:1.75; max-width:52ch; margin:0 0 16px; }
  .sub-seo{ font-size:13.5px; color: var(--muted); opacity:.75; max-width:52ch; margin:0 0 18px; }
  .hero-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:16px; }
  .btn-lg{ padding:16px 30px; font-size:15px; }
  .link-line{ color: var(--muted); text-decoration:none; font-weight:600; font-size:13.5px; border-bottom:1px solid var(--line); padding-bottom:2px; }
  .link-line:hover{ color: var(--ink); border-color: var(--violet); }
  .trust-row{ font-size:12.5px; color: var(--muted); }
  .trust-row span{ white-space:nowrap; }
  .feature-list{ display:grid; gap:11px; padding-left:20px; margin:0; }
  .feature-list li{ color: var(--muted); font-size:14.5px; line-height:1.6; }
  .feature-list strong{ color: var(--ink); }
  .accent-link{ color: var(--violet); text-decoration:none; border-bottom:1px solid rgba(184,102,240,.4); }
  .accent-link:hover{ border-bottom-color: var(--pink); color: var(--pink); }

  /* ---------- CARD FLIP (signature moment) ---------- */
  .card-stage{ position:relative; display:flex; justify-content:center; align-items:center; min-height:360px; }
  .stage-glow{ position:absolute; width:380px; height:380px; background: radial-gradient(circle, rgba(184,102,240,.30), transparent 70%); filter: blur(10px); z-index:0; }
  .fan{ position:relative; width:100%; max-width:360px; height:320px; z-index:1; }
  .fcard{
    position:absolute; top:50%; left:50%; width:148px; aspect-ratio:5/8; border-radius:14px;
    background: linear-gradient(180deg,#fdfaff,#f0e6fb); border:4px solid #fff;
    box-shadow: 0 26px 50px rgba(0,0,0,.45);
    display:flex; flex-direction:column; align-items:center; justify-content:space-between;
    padding:10px 8px 12px; color:#2a1650; opacity:0;
  }
  .fcard .fmark{ font-family: var(--font-display); font-size:10px; letter-spacing:.1em; color: var(--violet-deep); }
  .fcard .fart{ width:70%; }
  .fcard .ftitle{ font-family: var(--font-display); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; }
  .fcard.left{ animation: dealLeft .9s .25s cubic-bezier(.2,.8,.2,1) forwards; }
  .fcard.right{ animation: dealRight .9s .4s cubic-bezier(.2,.8,.2,1) forwards; }
  .fcard.center{ width:172px; z-index:2; animation: dealCenter .9s .55s cubic-bezier(.2,.8,.2,1) forwards; box-shadow: 0 32px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(184,102,240,.35); }
  @keyframes dealLeft{ from{ opacity:0; transform: translate(-50%,-50%) translateY(60px) rotate(0deg) scale(.8);} to{ opacity:1; transform: translate(-50%,-50%) translateX(-78px) translateY(6px) rotate(-13deg) scale(1);} }
  @keyframes dealRight{ from{ opacity:0; transform: translate(-50%,-50%) translateY(60px) rotate(0deg) scale(.8);} to{ opacity:1; transform: translate(-50%,-50%) translateX(78px) translateY(6px) rotate(13deg) scale(1);} }
  @keyframes dealCenter{ from{ opacity:0; transform: translate(-50%,-50%) translateY(60px) rotate(0deg) scale(.8);} to{ opacity:1; transform: translate(-50%,-50%) translateY(-14px) rotate(0deg) scale(1);} }
  @media (prefers-reduced-motion: reduce){
    .fcard.left, .fcard.right, .fcard.center{ animation:none; opacity:1; }
    .fcard.left{ transform: translate(-50%,-50%) translateX(-78px) translateY(6px) rotate(-13deg); }
    .fcard.right{ transform: translate(-50%,-50%) translateX(78px) translateY(6px) rotate(13deg); }
    .fcard.center{ transform: translate(-50%,-50%) translateY(-14px); }
  }
  .stage-caption{ position:absolute; bottom:-30px; left:50%; transform:translateX(-50%); font-size:12.5px; color: var(--muted); white-space:nowrap; z-index:2; }
  .stage-caption b{ color: var(--ink); }

  /* ---------- CONSTELLATION ---------- */
  .constellation-wrap{ position:relative; overflow:hidden; background: var(--panel); border-radius:24px; border:1px solid var(--line); box-shadow: var(--shadow); padding: clamp(28px,4vw,44px); }
  .constellation-wrap .ministar{ position:absolute; border-radius:50%; background:#fff; animation: twinkle ease-in-out infinite; }
  .constellation{ position:relative; max-width:600px; margin: 10px auto 0; aspect-ratio: 1/0.62; }
  .constellation svg.lines{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
  .connect-line{ fill:none; stroke: var(--violet); stroke-opacity:.55; stroke-width:.6; stroke-linecap:round; stroke-dasharray:150; stroke-dashoffset:150; }
  .constellation.is-visible .connect-line{ animation: drawline 1.1s ease forwards; }
  .connect-line:nth-of-type(1){ animation-delay:.15s !important; }
  .connect-line:nth-of-type(2){ animation-delay:.3s !important; }
  .connect-line:nth-of-type(3){ animation-delay:.45s !important; }
  .connect-line:nth-of-type(4){ animation-delay:.6s !important; }
  @keyframes drawline{ to{ stroke-dashoffset:0; } }
  .pulse-dot{ opacity:0; }
  .constellation.is-visible .pulse-dot{ opacity:1; }
  @media (prefers-reduced-motion: reduce){
    .connect-line{ stroke-dashoffset:0; animation:none !important; }
    .pulse-dot{ display:none; }
  }

  .node{ position:absolute; transform: translate(-50%,-50%); text-align:center; text-decoration:none; color: var(--ink); width:110px; }
  .node-card{ width:52px; height:70px; border-radius:9px; background: var(--panel-2); border:1.5px solid var(--violet); box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center; margin:0 auto 8px; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
  .node-card svg{ width:22px; height:22px; }
  .node:hover .node-card{ transform: scale(1.1) translateY(-3px); }
  .node span{ font-family: var(--font-display); font-weight:600; font-size:13px; }

  .node-hub{ z-index:2; }
  .hub-glow{ position:absolute; top:50%; left:50%; width:120px; height:120px; margin:-60px 0 0 -60px; border-radius:50%; background: radial-gradient(circle, rgba(184,102,240,.45), transparent 70%); filter: blur(6px); animation: breathe 3.4s ease-in-out infinite; }
  @keyframes breathe{ 0%,100%{ opacity:.6; transform:scale(1); } 50%{ opacity:1; transform:scale(1.12); } }
  .node-hub .node-card{
    position:relative; width:76px; height:102px; border-radius:12px;
    background: linear-gradient(180deg,#fdfaff,#f0e6fb); border:3px solid #fff;
    box-shadow: 0 0 0 1px rgba(184,102,240,.45), 0 22px 42px rgba(0,0,0,.45);
  }
  .node-hub .node-card svg{ width:34px; height:34px; }
  .node-hub span{ font-size:14px; }
  @media (prefers-reduced-motion: reduce){ .hub-glow{ animation:none; } }

  .n-hub{ top:50%; left:50%; }
  .n-1{ top:9%; left:17%; } .n-2{ top:14%; left:83%; }
  .n-3{ top:53%; left:11%; } .n-4{ top:57%; left:87%; }
  @media (max-width:640px){ .constellation{ display:none; } }
  .constellation-fallback{ display:none; }
  @media (max-width:640px){ .constellation-fallback{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:14px; } }
  .constellation-fallback a{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-radius:14px; border:1px solid var(--line); text-decoration:none; color: var(--ink); font-size:13px; font-weight:600; }
  .constellation-fallback svg{ width:20px; height:20px; flex:none; }

  /* ---------- MINI GRID ---------- */
  .mini-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
  .mini-card{ padding:18px 20px; border:1px solid var(--line); border-radius:16px; background: var(--panel); }
  .mini-card strong{ display:block; margin-bottom:6px; font-family: var(--font-display); font-size:15.5px; }

  /* ---------- SPLIT / GRID3 / TILE ---------- */
  .split{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
  .grid3{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; }
  @media (max-width:760px){ .split{ grid-template-columns:1fr; } }
  @media (max-width:900px){ .grid3{ grid-template-columns:1fr; } }
  .box, .tile{ padding:18px 20px; border:1px solid var(--line); border-radius:16px; background: var(--panel); }
  .box strong{ font-family: var(--font-display); font-size:15.5px; }
  .pills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
  .pill{ display:inline-flex; font-size:12.5px; font-weight:600; text-decoration:none; color: var(--muted); border:1px solid var(--line); border-radius:999px; padding:7px 13px; transition: all .2s ease; }
  .pill:hover{ border-color: var(--violet); color: var(--ink); }
  .pill-group{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }

  /* ---------- SOFT CALLOUT / MUTED GRID ---------- */
  .soft-callout{ border:1px solid rgba(124,82,201,.22); background: linear-gradient(135deg, rgba(124,82,201,.07), rgba(233,201,224,.10)); border-radius:20px; padding: clamp(22px,4vw,32px); }
  .muted-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:14px; }
  .soft-card{ padding:18px 20px; border:1px solid var(--line); border-radius:16px; background: var(--panel); }
  .soft-card strong{ display:block; margin-bottom:6px; font-family: var(--font-display); font-size:15.5px; }

  /* ---------- ASTROLOGY PROOF STRIP (new, additive) ---------- */
  .proof-strip{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
  .proof-item{ text-align:center; }
  .proof-frame{ border-radius:14px; overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow); opacity:0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
  .proof-frame.is-visible{ opacity:1; transform: translateY(0); }
  .proof-frame img{ width:100%; display:block; }
  .proof-item p{ margin:10px 0 0; font-family: var(--font-display); font-weight:600; font-size:14.5px; }
  @media (prefers-reduced-motion: reduce){ .proof-frame{ opacity:1; transform:none; } }
  @media (max-width:760px){ .proof-strip{ grid-template-columns:1fr; } }

  /* ---------- SCREENS ---------- */
  .screens{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
  .screens img{ width:100%; height:220px; object-fit:cover; border-radius:16px; border:1px solid var(--line); }
  @media (max-width:760px){ .screens{ grid-template-columns: repeat(2,1fr); } }
  @media (max-width:480px){ .screens{ grid-template-columns: 1fr; } }

  /* ---------- FAQ ---------- */
  .faq{ display:grid; gap:12px; }
  .faq-item{ padding:18px 22px; border:1px solid var(--line); border-radius:16px; background: var(--panel); }
  .faq-item h3{ margin:0 0 8px; }

  footer.footer{ border-top:1px solid var(--line); padding: 26px 0; position:relative; z-index:2; }

/* =========================================================================
   MINI HERO (subpages) — one clear CTA, no button bloat
   ========================================================================= */
.breadcrumb{ font-size:12px; color: var(--muted); margin-bottom:18px; text-align:center; }
.breadcrumb a{ text-decoration:none; color: var(--muted); }
.breadcrumb a:hover{ color: var(--ink); }
.breadcrumb .sep{ margin:0 8px; opacity:.5; }
.mini-hero{ padding: clamp(44px,6.5vw,68px) 0 clamp(20px,3vw,32px); text-align:center; position:relative; z-index:2; }
.mini-hero .badge{ margin-left:auto; margin-right:auto; }
.mini-hero .h1{ max-width:26ch; margin-left:auto; margin-right:auto; }
.mini-hero .sub{ max-width:58ch; margin-left:auto; margin-right:auto; }
.mini-hero .hero-actions{ justify-content:center; }
.mini-hero .trust-row{ text-align:center; }

/* =========================================================================
   GENERIC FALLBACKS for the many *-card / *-grid variants used across
   subpages (cluster-card, mode-card, news-card, profile-card, service-card,
   term-card, tool-card, and their matching *-grid containers). Rather than
   rewriting subpage markup, these are carried over as-is and restyled here
   so nothing renders unstyled regardless of which specific page pattern
   is used.
   ========================================================================= */
[class$="-grid"]{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
[class$="-card"]{ padding:18px 20px; border:1px solid var(--line); border-radius:16px; background: var(--panel); }
[class$="-card"] strong, [class$="-card"] h3{ font-family: var(--font-display); font-weight:600; font-size:15.5px; display:block; margin-bottom:6px; }
[class$="-card"] p, [class$="-card"] .note{ margin:0; }
.card{ padding:18px 20px; border:1px solid var(--line); border-radius:16px; background: var(--panel); }

.list{ padding-left:20px; margin:10px 0 0; color: var(--muted); }
.list li{ margin-bottom:8px; line-height:1.65; font-size:14.5px; }

.split-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:760px){ .split-2{ grid-template-columns:1fr; } }

.policy-list{ display:grid; gap:12px; }
.policy-item{ padding:16px 18px; border:1px solid var(--line); border-radius:14px; background: var(--panel); }

.portrait-wrap{ border-radius:16px; overflow:hidden; border:1px solid var(--line); max-width:280px; margin:0 auto; }
.portrait-wrap img{ width:100%; display:block; }

.single-shot{ border-radius:16px; overflow:hidden; border:1px solid var(--line); max-width:340px; margin:0 auto; }
.single-shot img{ width:100%; display:block; }

.shot-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; }
.shot-grid img{ width:100%; border-radius:14px; border:1px solid var(--line); display:block; }
