:root {
  color-scheme: dark;
  --ink: #090a13;
  --ink-soft: #10111e;
  --paper: #f4f2ff;
  --muted: #a6a7bd;
  --muted-strong: #c1bfd2;
  --gold: #dbc49b;
  --lilac: #c8b5ff;
  --teal: #8fcdc5;
  --line: #ffffff17;
  --panel: #121320d9;
  --panel-raised: #191a2c;
  --glow: #a994ff25;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body.astra-page {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--paper);
  font: 400 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse at 50% -18%, #3529508c 0, transparent 45rem),
    radial-gradient(ellipse at 92% 39%, #283b4c25 0, transparent 33rem),
    radial-gradient(ellipse at 8% 72%, #392c5430 0, transparent 31rem),
    radial-gradient(circle at 18% 22%, #f2e9ff88 0 .65px, transparent 1.3px) 0 0 / 161px 169px,
    radial-gradient(circle at 74% 63%, #b7a3e477 0 .55px, transparent 1.2px) 0 0 / 127px 139px,
    linear-gradient(180deg, #090a13 0%, #0a0b15 48%, #080910 100%);
  background-attachment: fixed;
}

.telegram-auth-shell { min-height: 100svh; display: grid; place-items: center; padding: 1.25rem; }
.telegram-auth-panel { width: min(100%, 34rem); text-align: center; padding: clamp(1.5rem, 6vw, 3rem); }
.telegram-auth-panel .eyebrow { margin-top: 2rem; }
.telegram-auth-panel h1 { margin: .5rem 0 1rem; }
.product-notice { width: min(100% - 2rem, 82rem); margin: .6rem auto 0; padding: .7rem 1rem; border: 1px solid #dbc49b3f; border-radius: .8rem; color: var(--gold); background: #dbc49b0d; text-align: center; font-size: .86rem; }
body.astra-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}
body.astra-page::after {
  content: "";
  position: fixed;
  inset: -4vh -3vw;
  z-index: -1;
  pointer-events: none;
  opacity: .26;
  background-image:
    radial-gradient(1.5px 1.5px at 18px 24px, #fff 98%, transparent),
    radial-gradient(1px 1px at 84px 112px, #d8caff 98%, transparent),
    radial-gradient(1.5px 1.5px at 177px 56px, #f6dcaa 98%, transparent),
    radial-gradient(1px 1px at 231px 181px, #b9e6e2 98%, transparent);
  background-size: 263px 223px;
  filter: drop-shadow(0 0 3px #c5b0ff88);
  animation: starfield-drift 68s linear infinite, starfield-twinkle 6s ease-in-out infinite alternate;
}
.astra-page :focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
.astra-page [hidden] { display: none !important; }
.astra-page a { color: inherit; text-underline-offset: .22em; }
.astra-page :is(h1,h2,h3) { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.astra-page h1 { letter-spacing: -.055em; }
.astra-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 82rem);
  min-height: 76px;
  margin-inline: auto;
  padding: .7rem clamp(1rem, 4vw, 3.25rem);
  border-bottom: 1px solid #ffffff12;
}
.astra-nav a { text-decoration: none; }
.astra-brand {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  min-height: 44px;
  color: var(--paper);
  font: 500 1.48rem/1 Georgia, serif;
  letter-spacing: .075em;
  text-transform: lowercase;
}
.astra-brand span { color: var(--gold); font-size: .72em; transform: translateY(-.3em); }
.astra-nav .nav-readings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: .65rem;
  color: var(--paper);
  font-size: .84rem;
  white-space: nowrap;
  text-decoration: underline;
}
.astra-nav nav { display: flex; align-items: center; gap: .4rem; }
.astra-nav nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .35rem .85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: .84rem;
  transition: color .2s, background .2s, border-color .2s;
}
.astra-nav nav a:hover,
.astra-nav nav [aria-current="page"] { color: var(--paper); background: #ffffff0b; border-color: #ffffff15; }
.astra-nav nav .nav-telegram { color: var(--gold); }

.astra-page :is(button, .button-primary, .cosmic-primary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 1px solid #e3d4ff50;
  border-radius: .85rem;
  color: #14111e;
  background: linear-gradient(135deg, #e4d6ff, #c9b4ff 58%, #b9a1f2);
  box-shadow: 0 8px 30px #ab89ff24, inset 0 1px #ffffff8a;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s, border-color .2s;
}
.astra-page :is(button, .button-primary, .cosmic-primary):not(:disabled):hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 34px #ab89ff3c, inset 0 1px #ffffffa8;
}
.astra-page button:disabled { opacity: .52; cursor: not-allowed; }
.astra-page .button-quiet {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  color: var(--muted-strong);
  font-size: .88rem;
  text-decoration: none;
}
.astra-page .button-quiet:hover { color: var(--paper); }
.astra-page :is(input, select, textarea) {
  min-width: 0;
  min-height: 48px;
  border: 1px solid #ffffff1e;
  border-radius: .8rem;
  color: var(--paper);
  background: #0c0d17;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.astra-page :is(input, select, textarea):focus { border-color: #b9a2f2a3; box-shadow: 0 0 0 3px #ab89ff19; outline: 0; }
.astra-page textarea { width: 100%; }
.astra-page :is(summary, button) { -webkit-tap-highlight-color: transparent; }
.astra-page summary { cursor: pointer; }
.astra-page #horoscope-status:empty, .astra-page #status:empty { display: none; }
.astra-page #horoscope-status, .astra-page #status { color: var(--muted); }
.astra-page .note { color: var(--muted); font-size: .84rem; }

.cosmic-main {
  width: min(100%, 76rem);
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) 4rem;
}
.cosmic-home { width: min(100%, 82rem); max-width: 82rem; }
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr);
  align-items: center;
  min-height: clamp(32rem, 55vw, 42rem);
  padding: 1.6rem 0 3rem;
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 2; max-width: 41rem; padding-bottom: 2.7rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .62rem;
  margin: 0 0 1.35rem;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .19em;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.home-hero h1 {
  max-width: 11ch;
  margin: 0;
  color: #f4f0ff;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .97;
  text-wrap: balance;
}
.home-hero h1 span { color: #bdb0e8; }
.hero-lede { max-width: 27rem; margin: 1.55rem 0 1.8rem; color: var(--muted-strong); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; }
.hero-meta { display: flex; align-items: center; gap: .55rem; margin-top: 2rem; color: var(--muted); font-size: .77rem; }
.hero-meta span { color: var(--gold); }
.hero-art { position: relative; display: grid; min-height: 29rem; place-items: center; perspective: 900px; }
.art-glow { position: absolute; width: 20rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #9b7be637 0, #6d579822 39%, transparent 70%); filter: blur(10px); }
.orbit { position: absolute; width: min(100%, 26rem); aspect-ratio: 1; border: 1px solid #c3aedc25; border-radius: 50%; transform: rotate(-22deg) scaleY(.62); }
.orbit-two { width: min(82%, 22rem); transform: rotate(53deg) scaleY(.62); border-color: #9dcac421; }
.orbit-three { width: min(64%, 17rem); transform: rotate(12deg) scaleY(.62); border-style: dashed; border-color: #ddcba52c; }
.orbit-star { position: absolute; z-index: 3; color: var(--gold); text-shadow: 0 0 18px #dfc38b; }
.star-one { top: 17%; right: 18%; font-size: 1.35rem; }
.star-two { bottom: 22%; left: 12%; color: var(--teal); font-size: 1.55rem; }
.hero-card { position: absolute; top: 50%; left: 50%; width: clamp(10.8rem, 22vw, 15.2rem); aspect-ratio: 300 / 527; overflow: hidden; border: 1px solid #e0d1f1a8; border-radius: 1rem; background: #1b1726; box-shadow: 0 2rem 5rem #05050b9c, 0 0 2rem #b49be226; }
.hero-card-front { z-index: 2; transform: translate(-56%, -48%) rotate(-8deg); }
.hero-card-front img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-card-front span { position: absolute; right: .55rem; bottom: .52rem; left: .55rem; padding: .4rem; border: 1px solid #e5d1b544; border-radius: .45rem; color: #f3e5c7; background: #100e18c9; font-size: .55rem; letter-spacing: .24em; text-align: center; backdrop-filter: blur(9px); }
.hero-card-back { transform: translate(-39%, -53%) rotate(10deg); background: #1b1930 url("/card-art/back.png?v=cards-png") center / cover; opacity: .84; }
.hero-card-front { animation: card-drift 7s ease-in-out infinite; }
.hero-card-back { animation: card-drift-back 8s ease-in-out infinite; }
.orbit-one { animation: orbit-turn 95s linear infinite; }
.orbit-two { animation: orbit-turn-reverse 125s linear infinite; }
.orbit-star { animation: star-breathe 3.8s ease-in-out infinite; }
.star-two { animation-delay: 1.4s; }
@keyframes card-drift { 0%,100% { transform: translate(-56%, -48%) rotate(-8deg); } 50% { transform: translate(-56%, -51%) rotate(-6deg); } }
@keyframes card-drift-back { 0%,100% { transform: translate(-39%, -53%) rotate(10deg); } 50% { transform: translate(-39%, -50%) rotate(12deg); } }
@keyframes orbit-turn { to { rotate: 360deg; } }
@keyframes orbit-turn-reverse { to { rotate: -360deg; } }
@keyframes star-breathe { 0%,100% { opacity: .55; scale: .86; } 50% { opacity: 1; scale: 1.12; } }
.art-caption { position: absolute; right: 1%; bottom: 9%; display: flex; gap: .75rem; color: #b5abc9; font-size: .62rem; letter-spacing: .2em; }
.art-caption span:first-child { color: var(--gold); }

@media (min-width: 761px) and (max-width: 1050px) {
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(16rem, .82fr); }
  .home-hero h1 { font-size: clamp(3.35rem, 6.5vw, 5.4rem); }
  .hero-art { min-height: 25rem; }
}

.service-section { padding: 1.2rem 0 3.8rem; }
.section-heading, .plans-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-heading .eyebrow, .plans-heading .eyebrow { margin-bottom: .4rem; }
.section-heading h2, .plans-heading h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.035em; }
.section-index { color: #83849c; font-size: .68rem; letter-spacing: .17em; }
.astra-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.astra-service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #ffffff19;
  border-radius: 1.25rem;
  color: var(--paper);
  background: linear-gradient(145deg, #191a2aee, #10111c 72%);
  text-decoration: none;
  box-shadow: 0 1.2rem 3rem #02030a30;
  transition: transform .24s, border-color .24s, box-shadow .24s;
}
.astra-service::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .8; background: radial-gradient(ellipse at 100% 4%, #8970bc35, transparent 58%); }
.service-forecast::before { background: radial-gradient(ellipse at 100% 4%, #6c9a9c2e, transparent 58%); }
.service-numerology::before { background: radial-gradient(ellipse at 100% 4%, #a994ff30, transparent 58%); }
.astra-service:hover { transform: translateY(-4px); border-color: #d4c3f35b; box-shadow: 0 1.7rem 3.7rem #02030a5c; }
.service-topline { display: flex; justify-content: space-between; color: #a9a6bd; font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.service-topline span:last-child { color: var(--gold); font-size: 1rem; }
.service-copy { position: relative; z-index: 2; max-width: 22rem; }
.service-copy h3 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.045em; }
.service-copy p { max-width: 20rem; margin: .65rem 0 1.2rem; color: var(--muted-strong); font-size: .91rem; }
.service-action { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); font-size: .84rem; font-weight: 650; }
.service-art { position: absolute; z-index: -1; right: .2rem; top: 16%; width: clamp(9rem, 18vw, 13.8rem); pointer-events: none; }
.number-art { display: flex; align-items: center; justify-content: center; gap: .4rem; color: #d7c6ff; font: 500 3rem/1 Georgia, serif; text-shadow: 0 0 2rem #b99cff80; transform: rotate(-8deg); }
.number-art span:nth-child(2) { color: var(--gold); transform: translateY(-1.1rem); }
.number-art span:nth-child(3) { color: var(--teal); transform: translateY(.8rem); }
.tarot-art { opacity: .79; filter: saturate(.78); transform: rotate(13deg); mask-image: linear-gradient(180deg, #000 25%, #000 66%, transparent 100%); }
.tarot-art img { display: block; width: 100%; height: auto; border: 1px solid #e7dbbd77; border-radius: .8rem; box-shadow: 0 1rem 3rem #05050a8c; }
.cosmic-orbit { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #95c7c43a; border-radius: 50%; background: radial-gradient(circle, #91c7c522, transparent 68%); }
.cosmic-orbit::before, .cosmic-orbit::after, .cosmic-orbit i { content: ""; position: absolute; inset: 12%; border: 1px solid #b8c7e02b; border-radius: 50%; transform: rotate(36deg) scaleY(.55); }
.cosmic-orbit::after { inset: 23%; transform: rotate(-42deg) scaleY(.58); border-color: #d3bc8f36; }
.cosmic-orbit i { inset: 4%; transform: rotate(68deg) scaleY(.6); border-style: dashed; }
.cosmic-orbit span { width: 29%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #e6f8ef, #8bcbc1 35%, #3f777c 67%, #202339 88%); box-shadow: 0 0 3rem #91d3d35e, 0 0 7rem #7b6bb340; }

.home-bottom { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(15rem, .65fr); gap: 1rem; padding-bottom: 2rem; }
.cosmic-panel, .cosmic-reading article {
  border: 1px solid #ffffff18;
  border-radius: 1.2rem;
  background: linear-gradient(145deg, #171826e8, #11121cde);
  box-shadow: 0 1rem 3rem #02030a2b;
  backdrop-filter: blur(16px);
}
.astra-plans { padding: clamp(1.2rem, 3vw, 1.8rem); }
.plans-heading { align-items: center; margin-bottom: 1rem; }
.plans-heading h2 { font-size: 1.75rem; }
.plans-symbol { display: grid; width: 2.6rem; aspect-ratio: 1; place-items: center; border: 1px solid #dcc59446; border-radius: 50%; color: var(--gold); background: #dbc49b0b; font-size: 1.2rem; }
.astra-plans dl { margin: 0; }
.astra-plans dl div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid #ffffff12; }
.astra-plans dt { display: flex; align-items: center; gap: .7rem; color: var(--muted-strong); font-size: .87rem; }
.plan-mark { display: grid; width: 1.7rem; aspect-ratio: 1; place-items: center; border-radius: .55rem; color: var(--gold); background: #dbc49b12; }
.astra-plans dd { color: var(--paper); font-size: 1.12rem; font-weight: 700; white-space: nowrap; }
.astra-plans dd small { color: var(--gold); font-size: .75rem; }
.astra-plans > p { margin: .6rem 0 .1rem; color: var(--muted); font-size: .76rem; }
.astra-plans > .site-ruble-hint { color: var(--teal); }
.plans-link { display: inline-flex; gap: .5rem; margin-top: .9rem; color: var(--gold)!important; font-size: .82rem; font-weight: 650; text-decoration: none; }
.astra-plans .plans-link { min-height: 48px; padding-inline: 1rem; color: #14111e!important; font-size: .88rem; }
.telegram-card { display: flex; align-items: center; gap: .9rem; min-height: 100%; padding: 1.2rem; border: 1px solid #91c9c32c; border-radius: 1.2rem; color: var(--paper); background: radial-gradient(ellipse at 100% 0, #477a7830, transparent 60%), #11141d; text-decoration: none; transition: border-color .2s, transform .2s; }
.telegram-card:hover { transform: translateY(-2px); border-color: #91c9c36c; }
.telegram-icon { display: grid; flex: 0 0 2.6rem; aspect-ratio: 1; place-items: center; border: 1px solid #91c9c340; border-radius: .85rem; color: var(--teal); background: #91c9c315; font-size: 1.1rem; }
.telegram-card strong, .telegram-card small { display: block; }
.telegram-card strong { font-size: .88rem; }
.telegram-card small { margin-top: .25rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.telegram-arrow { margin-left: auto; color: var(--teal); }
.telegram-card { box-shadow: 0 0 2rem #91c9c312, inset 0 1px #ffffff08; }
.telegram-card:hover { box-shadow: 0 0 2.5rem #91c9c32b, inset 0 1px #ffffff10; }
.astra-footer { display: flex; justify-content: space-between; gap: 1rem; width: min(100%, 82rem); margin: auto; padding: 1.2rem clamp(1rem, 4vw, 2rem) max(1.4rem, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff11; color: #85869b; font-size: .7rem; }
.astra-footer a { color: var(--muted-strong); text-decoration: none; }
.astra-page .telegram-link-button { min-height: 40px; padding: .45rem .85rem; border-color: #91c9c33b; color: var(--teal); background: #91c9c30b; box-shadow: none; font-size: .78rem; }
.astra-page .telegram-link-button:hover { border-color: #91c9c37a; background: #91c9c318; }
.astra-footer i { color: var(--gold); font-style: normal; }
.demo-daily { margin-top: 1rem; padding-inline: 0!important; border: 0!important; color: var(--gold)!important; background: transparent!important; box-shadow: none!important; }
#telegram-daily:not([hidden]) { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }
#telegram-card-art { width: min(25vw, 7rem); height: auto; border-radius: .5rem; }

.plans-main { width: min(68rem, calc(100% - 2rem)); margin: 0 auto; padding: clamp(1.5rem, 3.5vw, 2.4rem) 0 3rem; }
.plans-intro { position: relative; isolation: isolate; max-width: 46rem; margin: 0 auto .8rem; text-align: center; }
.plans-intro::before { content: ""; position: absolute; z-index: -1; top: 14%; left: 15%; width: 70%; height: 72%; border-radius: 50%; background: radial-gradient(ellipse, #9c76ff30, #6189c30c 45%, transparent 72%); filter: blur(24px); animation: nebula-pulse 7s ease-in-out infinite alternate; }
.plans-intro .eyebrow { color: var(--gold); letter-spacing: .22em; }
.plans-intro h1 { margin: .25rem 0 .45rem; font-size: clamp(2.8rem, 5.4vw, 3.8rem); line-height: .98; text-shadow: 0 0 2rem #9b80ff1c; }
.plans-intro h1 span { color: #d8c5ff; text-shadow: 0 0 2.5rem #b79aff55; }
.plans-intro > p:last-child { color: var(--muted-strong); font: 1.15rem/1.55 Georgia, serif; }
.plans-checkout { position: relative; max-width: 43rem; margin: 0 auto; padding: clamp(1.3rem, 4vw, 2.2rem); overflow: hidden; border-color: #cbb3ff40; background: radial-gradient(ellipse at 50% -20%, #ac8cff29, transparent 58%), linear-gradient(145deg, #1b1b2deF, #10111cF2); box-shadow: 0 1rem 3rem #02030a55, 0 0 3rem #a888ff18; }
.plans-checkout::before { content: "✦"; position: absolute; top: 1rem; right: 1.3rem; color: #e0d0ff; text-shadow: 0 0 1.2rem #b99cff; animation: star-breathe 3.2s ease-in-out infinite; }
.offer-page .plans-checkout { margin-top: 1rem; line-height: 1.65; }
.offer-page .plans-checkout ol { padding-inline-start: 1.25rem; }
.offer-page .plans-checkout li + li { margin-top: .55rem; }
.plans-checkout-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #ffffff17; }
.plans-checkout-heading h2 { margin: .2rem 0 0; font-size: clamp(1.65rem, 4vw, 2.2rem); }
.plans-price { display: grid; margin: 0; text-align: right; }
.plans-price strong { color: var(--paper); font: 2rem Georgia, serif; white-space: nowrap; }
.plans-price > span { color: var(--teal); font-size: .75rem; }
.plans-benefits { display: grid; gap: .48rem; margin: .95rem 0; padding: 0; list-style: none; color: var(--muted-strong); }
.plans-benefits li { display: flex; align-items: start; gap: .7rem; }
.plans-benefits li span { color: var(--gold); text-shadow: 0 0 .9rem #dbc49b88; }
.plans-condition { color: var(--muted); font-size: .8rem; }
.astra-page .plans-buy { width: 100%; min-height: 58px; margin-top: .4rem; background: linear-gradient(110deg, #f0e5ff, #c6a7ff 55%, #b9a0ff); box-shadow: 0 0 1.6rem #ac8cff50, inset 0 1px #ffffffb5; animation: payment-glow 3.2s ease-in-out infinite; }
.plans-page #payment-panel .plans-buy { display: flex; width: 100%; margin: .75rem 0 0; }
.astra-page .plans-buy:hover { box-shadow: 0 0 2.3rem #b999ff88, 0 12px 34px #ab89ff3c, inset 0 1px #ffffffbd; }
.plans-checkout > .button-quiet { margin-top: .75rem; }
.plans-status { min-height: 1.4rem; margin: .7rem 0 0; color: var(--gold); font-size: .83rem; }
.plans-status:empty { display: none; }
.plans-provider { margin: .65rem 0 0; color: #8d8ea6; font-size: .7rem; text-align: center; }
.plans-telegram { max-width: 43rem; margin: 1rem auto; padding: 1.3rem; }
.plans-back { display: flex; justify-content: space-between; gap: 1rem; max-width: 43rem; margin: 1.3rem auto; color: var(--muted); font-size: .78rem; }
.plans-back a { color: var(--muted-strong); }
@keyframes starfield-drift { to { transform: translate3d(-12px, -34px, 0); } }
@keyframes starfield-twinkle { from { opacity: .14; } to { opacity: .34; } }
@keyframes payment-glow { 0%,100% { box-shadow: 0 0 1.1rem #ac8cff3a, inset 0 1px #ffffffa0; } 50% { box-shadow: 0 0 2.1rem #ac8cff72, inset 0 1px #ffffffd0; } }
@keyframes nebula-pulse { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.08); } }
@media (max-width: 560px) {
  .plans-main { padding-top: 1.5rem; }
  .plans-intro { text-align: left; margin-bottom: 1.3rem; }
  .plans-intro h1 { font-size: clamp(2.75rem, 10vw, 3.7rem); }
  .plans-checkout-heading { display: block; }
  .plans-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: .9rem; text-align: left; }
  .plans-back { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  body.astra-page::after, .plans-intro::before, .plans-checkout::before, .astra-page .plans-buy { animation: none; }
}

/* Inner pages */
.cosmic-main:not(.cosmic-home) > h1 { margin: 0 0 1.8rem; font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; }
.tarot-page .tarot-layout {
  display: grid;
  grid-template-columns: minmax(17rem, .83fr) minmax(0, 1.17fr);
  align-items: start;
  gap: clamp(1.3rem, 4vw, 3.5rem);
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: clamp(2.2rem, 6vw, 4.6rem) clamp(1rem, 4vw, 2rem) 4rem;
}
.tarot-controls { min-width: 0; padding: clamp(1.1rem, 2.3vw, 1.8rem); border: 1px solid #ffffff17; border-radius: 1.25rem; background: linear-gradient(150deg, #171827e6, #10111bde); box-shadow: 0 1.2rem 3rem #02030a30; }
.tarot-controls h1 { margin: 0 0 .8rem; font-size: clamp(2.55rem, 5vw, 4.2rem); line-height: .98; text-wrap: balance; }
.tarot-controls > p:first-of-type { color: var(--muted); font-size: .84rem; }
.tarot-page #tarot-form { display: grid; gap: .9rem; margin: 1.25rem 0 0; }
.tarot-page #tarot-form > label { color: var(--muted-strong); font-size: .82rem; font-weight: 620; }
.tarot-page #tarot-form > label span { color: #87889e; font-size: .75rem; font-weight: 400; }
.tarot-page #tarot-form textarea { width: 100%; min-height: 6.7rem; padding: .9rem 1rem; resize: vertical; }
.tarot-page textarea::placeholder { color: #77788e; }
.tarot-page #tarot-form summary, .tarot-page #tarot-card-meanings summary { display: flex; align-items: center; min-height: 44px; color: var(--gold); font-size: .84rem; }
.tarot-page .tarot-profile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-block: .75rem; }
.tarot-page .tarot-profile label { display: grid; gap: .35rem; color: var(--muted); font-size: .78rem; }
.tarot-page .tarot-profile :is(input, select) { width: 100%; padding: .55rem .65rem; }
.tarot-page #tarot-form > button { justify-self: stretch; margin-top: .2rem; }
.tarot-page #tarot-status { min-height: 1.3rem; margin: .8rem 0 0; color: var(--muted); font-size: .82rem; }
.tarot-page #tarot-status:empty { display: none; }
.tarot-page #tarot-basic, .tarot-page #tarot-retry { min-height: 42px; padding-inline: .2rem; border: 0; color: var(--gold); background: transparent; box-shadow: none; font-size: .8rem; }
.tarot-page #tarot-basic:hover, .tarot-page #tarot-retry:hover { text-decoration: underline; }
.tarot-table { min-width: 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #ffffff19; border-radius: 1.3rem; background: radial-gradient(ellipse at 50% 0, #27223a8c, transparent 55%), linear-gradient(155deg, #151623ed, #0f1019ed); box-shadow: 0 1.5rem 4rem #02030a40; }
.tarot-table h2 { margin: 0 0 1.35rem; color: #f0edfa; font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.tarot-table article { padding: 0; border: 0; background: transparent; }
.tarot-table :is(.tarot-slots, #tarot-preview) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(.4rem, 1.7vw, .9rem); max-width: 35rem; margin: 0 auto; padding: 0; list-style: none; }
.tarot-table #tarot-slots[hidden] { display: none; }
.tarot-table :is(.tarot-slots, #tarot-preview) li { display: grid; align-content: start; gap: .5rem; min-width: 0; padding: 0; border: 0; background: transparent; }
.tarot-table .tarot-back { display: grid; aspect-ratio: 300 / 527; place-items: center; border: 1px solid #bda6d83b; border-radius: .7rem; background: #211a30 url("/card-art/back.png?v=cards-png") center / 100% 100% no-repeat; box-shadow: 0 .7rem 1.7rem #04040c88; }
.tarot-table #tarot-preview img { display: block; width: 100%; border-radius: .7rem; box-shadow: 0 .7rem 1.7rem #04040c88; }
.tarot-table :is(.tarot-slots li > span:last-child, #tarot-preview .tarot-position) { color: var(--muted); font-size: clamp(.62rem, 1.6vw, .76rem); overflow-wrap: anywhere; }
.tarot-table #tarot-preview strong { color: var(--paper); font: clamp(.88rem, 2.1vw, 1.18rem)/1.25 Georgia, serif; overflow-wrap: anywhere; }
.tarot-table article section, .tarot-table #tarot-card-meanings { margin-top: 1.45rem; padding-top: 1rem; border: 0; border-top: 1px solid #ffffff18; }
.tarot-table h3 { margin: 0 0 .65rem; color: var(--gold); font: 400 1.35rem/1.3 Georgia, serif; }
.tarot-table #tarot-synthesis { margin: 0; color: #ebe8f2; font: 1.14rem/1.65 Georgia, serif; }
.tarot-table #tarot-next { margin: 0; color: var(--muted-strong); }
.tarot-table #tarot-meaning-list { margin: .4rem 0 0; }
.tarot-table #tarot-meaning-list dt { color: var(--gold); font-weight: 650; }
.tarot-table #tarot-meaning-list dd { margin: .2rem 0 .75rem; color: var(--muted-strong); font-size: .88rem; }
.tarot-flip { position: relative; aspect-ratio: 300 / 527; perspective: 850px; }
.tarot-turn { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .58s ease-in-out; }
.tarot-turn.is-revealed { transform: rotateY(180deg); }
.tarot-table #tarot-preview li:nth-child(2) .tarot-turn { transition-delay: .09s; }
.tarot-table #tarot-preview li:nth-child(3) .tarot-turn { transition-delay: .18s; }
.tarot-table #tarot-preview .tarot-face { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; backface-visibility: hidden; }
.tarot-front { transform: rotateY(180deg); }
.tarot-table button.tarot-flip, .tarot-table button.tarot-flip:not(:disabled):hover { width: 100%; min-height: auto; padding: 0; border: 0; background: transparent; box-shadow: none; cursor: zoom-in; }
#tarot-card-dialog { width: min(25rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: .85rem 1rem 1rem; border: 1px solid #ffffff2b; border-radius: 1rem; color: var(--paper); background: #11121e; text-align: center; }
#tarot-card-dialog::backdrop { background: #05040bdc; backdrop-filter: blur(7px); }
#tarot-card-dialog form { display: flex; justify-content: end; }
#tarot-card-dialog button { min-width: 44px; padding: 0; }
#tarot-card-dialog h2 { margin: .3rem 0 .8rem; font-size: 1.55rem; }
#tarot-card-dialog img { width: auto; max-width: 100%; max-height: 64dvh; border-radius: .6rem; }

#horoscope-form { display: flex; flex-wrap: wrap; align-items: end; gap: .8rem; margin: 0; }
#horoscope-form label { display: grid; flex: 1 1 11rem; gap: .45rem; color: var(--muted-strong); font-size: .82rem; }
#horoscope-form :is(select,input) { width: 100%; padding: .65rem .8rem; }
#horoscope-form button { flex: 0 0 auto; }
#natal-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  align-items: start;
  gap: .85rem;
}
#natal-form label { display: grid; gap: .45rem; color: var(--muted-strong); font-size: .82rem; }
#natal-form :is(select, input:not([type="checkbox"])) { width: 100%; padding: .65rem .8rem; }
#natal-form .natal-check { display: flex; align-items: center; min-height: 2rem; gap: .55rem; }
#natal-form .natal-check input { width: 1rem; min-height: 0; height: 1rem; margin: 0; accent-color: var(--gold); }
#natal-form .natal-time-fields .natal-check { margin-top: .35rem; }
#natal-form .natal-check:has(input[name="interpret"]), #natal-form button { grid-column: 1 / -1; }
#natal-form button { justify-self: start; }
#natal-status:empty, #natal-interpretation-status:empty { display: none; }
#natal-status, #natal-interpretation-status, #natal-time-note { color: var(--muted); }
.cosmic-panel { padding: clamp(1.1rem, 3vw, 1.8rem); }
.lunar-calendar { margin-top: 1rem; }
.lunar-calendar summary { display: flex; align-items: center; min-height: 48px; color: var(--gold); font: 1.2rem Georgia, serif; }
.lunar-calendar ul { padding: 0; list-style: none; }
.lunar-calendar li { padding: .75rem 0; border-bottom: 1px solid #ffffff13; }
.lunar-calendar li div { color: var(--muted); font-size: .82rem; }
#horoscope { margin-top: 1.25rem; padding: 1.2rem 0 0; border: 0; border-top: 1px solid #ffffff18; background: transparent; }
#horoscope h3 { margin: 0; color: var(--gold); font-size: 1.4rem; }
#horoscope-text { color: var(--paper); font: 1.18rem/1.65 Georgia, serif; white-space: pre-line; }
#horoscope-basis { color: var(--muted); font-size: .83rem; white-space: pre-line; }
#horoscope details summary, .cosmic-reading details summary { color: var(--teal); font-size: .83rem; }
.cosmic-reading article { padding: clamp(1.2rem, 4vw, 2.3rem); }
.cosmic-reading article h2 { color: var(--gold); font-size: 2rem; }
#card-art { display: block; width: min(42vw, 13rem); height: auto; margin: 1rem auto; border-radius: .75rem; box-shadow: 0 1rem 2.5rem #03040a66; }
#interpretation { color: var(--paper); font: 1.2rem/1.7 Georgia, serif; }
.question { padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--muted-strong); }
.astra-telegram { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold)!important; text-decoration: none; }
.astra-telegram:hover, .astra-footer a:hover { color: var(--paper)!important; }
.astra-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; width: min(100%, 82rem); margin: auto; padding: 1.2rem clamp(1rem, 4vw, 2rem) max(1.4rem, env(safe-area-inset-bottom)); border-top: 1px solid #ffffff11; color: #85869b; font-size: .7rem; }
.astra-footer a { color: var(--muted-strong); text-decoration: none; }
.astra-footer i { color: var(--gold); font-style: normal; }
.astra-seller {
  flex-basis: 100%;
  color: var(--muted-strong);
  font-size: .8rem;
  line-height: 1.5;
}
.astra-seller span { white-space: nowrap; }
.astra-seller summary {
  min-height: 44px;
  padding-block: .75rem;
  cursor: pointer;
}
.astra-seller .astra-seller-toggle { text-decoration: underline; text-underline-offset: .2em; }
.astra-seller .astra-seller-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  margin: 0;
}
.astra-seller .astra-seller-contacts a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.telegram-page .astra-nav { padding-top: max(.7rem, env(safe-area-inset-top, 0px)); }
.astra-page #payment-panel, .astra-page #stars-payment-panel { padding: 1rem; border: 1px solid #ffffff1d; border-radius: 1rem; background: #10111bd9; }
.plans-page #payment-panel { padding: clamp(1.35rem, 4vw, 2.1rem); border-color: #cbb3ff40; background: radial-gradient(ellipse at 50% -20%, #ac8cff29, transparent 58%), linear-gradient(145deg, #1b1b2def, #10111cf2); box-shadow: 0 1rem 3rem #02030a55, 0 0 3rem #a888ff18; }
.plans-page #payment-panel > p:not(.plans-status) { margin-block: .65rem; line-height: 1.5; }
.plans-page #payment-panel > p:has(+ .plans-buy) { color: var(--muted-strong); font-size: .9rem; }
.plans-page #payment-panel > p:has(+ .plans-buy) a { color: #d8c5ff; text-decoration-color: #d8c5ff70; }
.plans-page #payment-panel .plans-benefits { margin-top: 1.2rem; }
.site-ruble-hint { color: var(--teal); font-size: .82rem; }
.telegram-page .site-ruble-hint { display: none; }
.astra-page #payment-panel h2, .astra-page #stars-payment-panel h2 { margin-top: 0; font-size: 1.4rem; }
.astra-page #payment-panel button, .astra-page #stars-payment-panel button { margin: .25rem .3rem .25rem 0; }
.astra-page #stars-payment-panel .stars-refresh { min-height: 44px; padding: .45rem .2rem; border: 0; color: var(--muted-strong); background: transparent; box-shadow: none; font-size: .84rem; }
.astra-page #stars-payment-panel .stars-refresh:hover { color: var(--paper); background: transparent; box-shadow: none; text-decoration: underline; }
.tarot-sample { margin: 1rem 0 1.25rem; padding: .75rem .9rem; border: 1px solid #ffffff1c; border-radius: .8rem; background: #0d0e18a6; }
.tarot-sample summary { min-height: 2.6rem; align-content: center; color: var(--gold); cursor: pointer; }
.tarot-sample h3 { margin: 1rem 0 .35rem; color: var(--gold); font: 1.15rem/1.3 Georgia, serif; }
.tarot-sample p { line-height: 1.55; }
.sample-question { color: var(--muted-strong); }
.sample-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin: .75rem 0; padding: 0; list-style: none; }
.sample-cards li { display: grid; align-content: start; gap: .4rem; color: var(--muted); font-size: .72rem; }
.sample-cards img { display: block; width: 100%; border-radius: .45rem; }
.sample-note, .method-note { color: var(--muted); font-size: .82rem; }
.tarot-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid #ffffff18; }
.tarot-feedback p { flex-basis: 100%; margin: 0; color: var(--muted-strong); font-size: .9rem; }
.tarot-feedback button { min-height: 2.5rem; border: 1px solid #ffffff25; border-radius: 999px; padding: .5rem .8rem; color: var(--paper); background: #ffffff0c; font: inherit; cursor: pointer; }
.tarot-feedback button:disabled { opacity: .55; }
.tarot-feedback span { color: var(--teal); font-size: .82rem; }
.method-main { width: min(54rem, calc(100% - 2rem)); margin: 0 auto; padding-block: clamp(2rem, 7vw, 5rem); }
.method-main h1 { margin: .2rem 0 1rem; font-size: clamp(2.5rem, 8vw, 4.5rem); }
.method-lede { max-width: 42rem; margin-bottom: 1.5rem; color: var(--muted-strong); font: 1.2rem/1.65 Georgia, serif; }
.method-card { margin-block: 1rem; padding: clamp(1.1rem, 4vw, 2rem); }
.method-card .eyebrow { color: var(--gold); font-size: .72rem; letter-spacing: .14em; }
.method-card li, .method-card > p:not(.eyebrow) { margin-block: .7rem; color: var(--muted-strong); line-height: 1.7; }
.method-card ol { padding-left: 1.35rem; }
.method-note { max-width: 48rem; margin-block: 1.4rem; line-height: 1.6; }

@media (max-width: 760px) {
  .astra-nav { min-height: 66px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) minmax(10rem, .64fr); min-height: 33rem; }
  .hero-art { min-height: 24rem; }
  .hero-card { width: clamp(8rem, 25vw, 12rem); }
  .astra-services { gap: .8rem; }
  .astra-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astra-service { min-height: 20rem; }
  .tarot-page .tarot-layout { grid-template-columns: 1fr; gap: 1rem; }
  .tarot-page #tarot-form > button { justify-self: stretch; }
  .home-bottom { grid-template-columns: 1fr; }
  .telegram-card { min-height: 5.3rem; }
}
@media (max-width: 560px) {
  body.astra-page { background-attachment: scroll; }
  .astra-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem; padding: .55rem 1rem .65rem; }
  .astra-brand { font-size: 1.3rem; }
  .astra-nav nav { grid-column: 1 / -1; justify-content: space-between; gap: .1rem; min-width: 0; }
  .astra-nav .nav-readings { justify-self: end; }
  .astra-nav nav a { min-height: 40px; padding-inline: .45rem; font-size: .74rem; }
  .astra-nav nav .nav-telegram { display: none; }
  .cosmic-main { padding-top: 1.8rem; }
  .home-hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding: 1.8rem 0 2rem; }
  .hero-copy { padding: 0; }
  .home-hero h1 { max-width: 10ch; font-size: clamp(3.1rem, 14vw, 4.7rem); }
  .hero-lede { max-width: 23rem; margin-block: 1.1rem 1.3rem; font-size: .96rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button-primary { flex: 1 1 100%; }
  .button-quiet { justify-content: center; flex: 1 1 100%; }
  .hero-meta { margin-top: 1.1rem; }
  .hero-art { min-height: 19rem; margin-top: -.2rem; overflow: clip; }
  .hero-card { width: 8.6rem; }
  .orbit { width: 18rem; }
  .orbit-two { width: 15rem; }
  .orbit-three { width: 12rem; }
  .art-caption { right: 3%; bottom: 3%; }
  .service-section { padding: .8rem 0 2.5rem; }
  .section-heading h2 { font-size: 1.8rem; }
  .astra-services { grid-template-columns: 1fr; gap: .7rem; margin-top: 1rem; }
  .astra-service { min-height: 17rem; padding: 1.15rem; }
  .service-copy h3 { font-size: 2.45rem; }
  .service-art { width: 8rem; right: 0; opacity: .8; overflow: clip; }
  .home-bottom { gap: .7rem; }
  .astra-plans { padding: 1.1rem; }
  .astra-plans dt { font-size: .79rem; }
  .astra-plans dd { font-size: 1rem; }
  .astra-footer { align-items: flex-start; flex-direction: column; }
  .tarot-page .tarot-layout { padding-top: 1.2rem; }
  .tarot-controls { padding: 1rem; }
  .tarot-controls h1 { font-size: clamp(2.65rem, 12vw, 3.7rem); }
  .tarot-page .tarot-profile { grid-template-columns: 1fr 1fr; }
  .tarot-table { padding: .9rem; }
  .tarot-table h2 { margin-bottom: .85rem; font-size: 1.55rem; }
  .tarot-table :is(.tarot-slots, #tarot-preview) { gap: .4rem; }
  .tarot-table :is(.tarot-slots li > span:last-child, #tarot-preview .tarot-position) { font-size: .62rem; }
  .tarot-table #tarot-preview strong { font-size: .83rem; }
  #horoscope-form button { flex-basis: 100%; }
  .cosmic-main:not(.cosmic-home) > h1 { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}
