/* Таро ИИ — ночное небо, золото и стекло. Анимации отключаются при prefers-reduced-motion. */
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #0b0818;
  --bg2: #120d26;
  --card: #1e1640;
  --card2: #2a1f57;
  --line: rgba(232, 198, 117, .22);
  --gold: #e8c675;
  --gold2: #fff0c2;
  --violet: #8d6bff;
  --rose: #ff7eb6;
  --text: #f1ecff;
  --muted: #a99fcb;
  --glass: rgba(30, 22, 64, .55);
  --serif: "Cormorant Garamond", "Cormorant", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --cw: 110px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Зерно поверх всего — как у плёнки */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.nebula {
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 20% 25%, rgba(141, 107, 255, .28), transparent 70%),
    radial-gradient(35% 30% at 85% 15%, rgba(255, 126, 182, .14), transparent 70%),
    radial-gradient(45% 40% at 70% 80%, rgba(80, 60, 200, .22), transparent 70%),
    radial-gradient(30% 25% at 10% 90%, rgba(232, 198, 117, .08), transparent 70%),
    var(--bg);
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08); } }

a { color: var(--gold); text-decoration-color: rgba(232, 198, 117, .4); text-underline-offset: 3px; }
a:hover { color: var(--gold2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: .01em; }
h1 { font-size: clamp(34px, 6vw, 64px); margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 18px; }
h3 { font-size: 24px; margin: 28px 0 8px; color: var(--gold2); }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main > section, main > article, main > nav { margin-top: 72px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.lead { font-size: clamp(18px, 2vw, 21px); color: #d9d1f5; max-width: 720px; }
.note { color: var(--muted); font-size: 15px; }

/* ── Шапка ── */
.top { position: sticky; top: 0; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(11, 8, 24, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 600 24px var(--serif); }
.logo svg { width: 28px; height: 28px; color: var(--gold); filter: drop-shadow(0 0 8px rgba(232, 198, 117, .6)); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: 15px; opacity: .85; }
.nav a:not(.btn):hover { opacity: 1; color: var(--gold2); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold2), var(--gold) 60%, #c9a24f);
  color: #1a1030; font: 600 16px var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 6px 24px -8px rgba(232, 198, 117, .7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(232, 198, 117, .9); color: #1a1030; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--gold2); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(232, 198, 117, .1); color: var(--gold2); box-shadow: none; }
.btn[disabled], .btn-ring[disabled] { opacity: .5; cursor: default; pointer-events: none; }
/* Кнопка со светящимся кольцом: вращающийся градиент по рамке */
.btn-ring {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 2px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: conic-gradient(from var(--a), transparent 0 55%, var(--gold2) 70%, var(--rose) 80%, var(--violet) 90%, transparent);
  animation: spin 3.5s linear infinite;
  box-shadow: 0 0 40px -10px rgba(232, 198, 117, .8);
  transition: transform .25s var(--ease);
}
.btn-ring span {
  display: block; padding: 14px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #2b1f5c, #1a1238);
  color: var(--gold2); font: 600 17px var(--sans); letter-spacing: .01em;
}
.btn-ring:hover { transform: translateY(-2px) scale(1.02); color: var(--gold2); }
@keyframes spin { to { --a: 360deg; } }

/* ── Появление при прокрутке ── */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-split] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.4em); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d) * 70ms + 150ms); }
[data-split].in .w { opacity: 1; filter: none; transform: none; }
[data-split] .w.gold { background: linear-gradient(100deg, var(--gold2), var(--gold), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Первый экран ── */
.hero { position: relative; min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 24px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; width: 100%; }
.hero-title { font-size: clamp(40px, 6.4vw, 78px); }
.eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: rgba(232, 198, 117, .06); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.fan { position: relative; height: 440px; perspective: 1200px; }
.fan-card {
  --w: 190px;
  position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 5; margin: calc(var(--w) * -.83) 0 0 calc(var(--w) * -.5);
  transform-origin: 50% 120%;
  transform: rotate(calc(var(--i) * 11deg)) translateY(calc(var(--i) * var(--i) * 4px)) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .6s var(--ease);
  animation: float 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.2s);
}
.fan-card:nth-child(3) { z-index: 2; }
.fan-card .tc-face { position: absolute; inset: 0; }
@keyframes float { 50% { translate: 0 -12px; } }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--line); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .fan { height: 300px; order: -1; }
  .fan-card { --w: 128px; }
}

/* ── Бегущая строка ── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-in { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 500 22px var(--serif); color: #d9d1f5; white-space: nowrap; }
.marquee b { color: var(--gold); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Карта: рубашка и лицо ── */
.tc { width: var(--cw); aspect-ratio: 3 / 5; perspective: 1100px; }
.tc-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .95s var(--ease); }
.tc-back, .tc-face {
  position: absolute; inset: 0; border-radius: 9px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: radial-gradient(120% 80% at 50% 0%, var(--card2), var(--card) 60%, #150f30);
  box-shadow: 0 0 0 1px rgba(232, 198, 117, .35), 0 18px 40px -18px rgba(0, 0, 0, .9);
}
.fan-card .tc-face, .mini-art { background: radial-gradient(120% 80% at 50% 0%, var(--card2), var(--card) 60%, #150f30); border-radius: 9px; box-shadow: 0 0 0 1px rgba(232, 198, 117, .35), 0 18px 40px -18px rgba(0, 0, 0, .9); overflow: hidden; }
.tc .tc-face { transform: rotateY(180deg); }
.tc.flipped .tc-in { transform: rotateY(180deg); }
.tc.flipped .tc-face { animation: glow 1.6s var(--ease) both; }
.tc.rev .tc-face svg { transform: rotate(180deg); }
@keyframes glow { 0% { box-shadow: 0 0 0 1px var(--gold), 0 0 0 0 rgba(232, 198, 117, .9); } 40% { box-shadow: 0 0 0 1px var(--gold2), 0 0 50px 8px rgba(232, 198, 117, .55); } 100% { box-shadow: 0 0 0 1px rgba(232, 198, 117, .5), 0 0 26px -4px rgba(232, 198, 117, .35); } }
.tsvg { display: block; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.tsvg .s, .tsvg .sb, .tsvg .sd { fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; }
.tsvg .s { stroke-width: 1.4; }
.tsvg .sb { stroke-width: 2.6; }
.tsvg .sd { stroke-width: 1.2; stroke-dasharray: 2 3; }
.tsvg .f { fill: var(--gold); }
.tsvg .t { fill: var(--gold); font-family: var(--serif); font-weight: 600; text-anchor: middle; }
.tsvg .dot { fill: #fff; opacity: .45; }
.tsvg .fr { fill: none; stroke: var(--gold); stroke-width: .8; }
.tsvg .fr2 { opacity: .5; }
.tc-face .tsvg { filter: drop-shadow(0 0 2px rgba(232, 198, 117, .45)); }

/* ── Стол для расклада ── */
.table { position: relative; padding: 40px 16px 48px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, rgba(30, 22, 64, .55), rgba(14, 10, 32, .65)); backdrop-filter: blur(6px); scroll-margin-top: 72px; }
.table::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(232, 198, 117, .6), transparent 30%, transparent 70%, rgba(141, 107, 255, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.table-head { text-align: center; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); font: 500 15px var(--sans); cursor: pointer; transition: all .25s var(--ease); }
.chip small { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: rgba(232, 198, 117, .14); color: var(--gold); font-size: 12px; }
.chip i { font-style: normal; color: var(--gold); font-size: 13px; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: linear-gradient(135deg, rgba(232, 198, 117, .25), rgba(141, 107, 255, .2)); border-color: var(--gold); box-shadow: 0 0 24px -8px var(--gold); }
.ask { display: block; max-width: 640px; margin: 0 auto 18px; }
.ask-label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.ask textarea { width: 100%; resize: vertical; min-height: 64px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 6, 20, .6); color: var(--text); font: 16px/1.5 var(--sans); transition: border-color .2s, box-shadow .2s; }
.ask textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 198, 117, .12); }
.ask.hidden { display: none; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.stage { position: relative; margin-top: 28px; min-height: 40px; }
.stage-hint { text-align: center; color: var(--gold2); font: 500 22px var(--serif); margin: 0 0 12px; min-height: 1.4em; }

/* Колода, которая тасуется */
.deck { position: relative; width: var(--cw); aspect-ratio: 3 / 5; margin: 20px auto 30px; }
.deck .tc { position: absolute; inset: 0; }
.deck.shuffling .tc:nth-child(odd) { animation: riffleL 0.55s var(--ease) 3 both; animation-delay: calc(var(--k) * 12ms); }
.deck.shuffling .tc:nth-child(even) { animation: riffleR 0.55s var(--ease) 3 both; animation-delay: calc(var(--k) * 12ms); }
@keyframes riffleL { 40% { transform: translateX(-70%) rotate(-12deg); } }
@keyframes riffleR { 40% { transform: translateX(70%) rotate(12deg); } }

/* Веер, из которого выбирают карты */
.pick { position: relative; height: calc(var(--fw) * 1.9); margin: 0 auto; max-width: 100%; }
.pick .tc { position: absolute; left: 50%; bottom: 0; width: var(--fw); margin-left: calc(var(--fw) / -2); transform-origin: 50% 260%; transform: rotate(var(--ang)); transition: transform .5s var(--ease), opacity .4s, filter .3s; cursor: pointer; animation: deal .7s var(--ease) both; animation-delay: calc(var(--k) * 25ms); }
.pick .tc:hover, .pick .tc:focus-visible { transform: rotate(var(--ang)) translateY(-18px); filter: drop-shadow(0 0 14px rgba(232, 198, 117, .7)); outline: none; }
.pick .tc.taken { opacity: 0; pointer-events: none; }
.pick.closing .tc { transform: rotate(0deg) translateY(30px); opacity: 0; }
@keyframes deal { from { transform: rotate(0deg) translateY(40px); opacity: 0; } }

/* Места карт в раскладе */
.spread { position: relative; margin: 26px auto 8px; }
.slot { position: absolute; width: var(--cw); aspect-ratio: 3 / 5; border-radius: 9px; border: 1px dashed rgba(232, 198, 117, .35); background: rgba(232, 198, 117, .03); transition: border-color .3s; }
.slot.cross { z-index: 2; }
.slot.filled { border-color: transparent; background: none; }
.slot .tc { width: 100%; }
.slot-n { position: absolute; top: -10px; left: -10px; z-index: 3; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #1a1030; font: 700 12px var(--sans); box-shadow: 0 0 12px rgba(232, 198, 117, .6); }
.slot-label { position: absolute; left: -10px; right: -10px; top: calc(100% + 8px); text-align: center; font-size: 13px; color: var(--muted); line-height: 1.25; }
.fly { position: fixed; z-index: 60; pointer-events: none; transition: transform .75s var(--ease); }

/* Толкование */
.reading { max-width: 760px; margin: 42px auto 0; padding: 28px 22px; border-radius: 22px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.reading h3:first-child { margin-top: 0; }
.verdict { text-align: center; font: 700 clamp(44px, 8vw, 72px)/1 var(--serif); margin: 4px 0 18px; background: linear-gradient(100deg, var(--gold2), var(--gold), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cardlist { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.cardlist li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.cardlist b { color: var(--gold); font-weight: 600; min-width: 22px; }
.reading .text p { animation: rise .8s var(--ease) both; }
.reading .text .wd { opacity: 0; animation: wordIn .5s var(--ease) forwards; animation-delay: calc(var(--d) * 22ms); }
@keyframes wordIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.reading ul { padding-left: 0; list-style: none; }
.reading li { position: relative; padding-left: 22px; margin: 8px 0; }
.reading li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 13px; top: 3px; }
.loader { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 0; color: var(--gold2); font: 500 21px var(--serif); }
.orb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 40%, transparent 70%); box-shadow: 0 0 22px var(--gold); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
.upsell { margin-top: 26px; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(232, 198, 117, .14), rgba(141, 107, 255, .14)); border: 1px solid var(--line); }
.upsell h3 { margin-top: 0; }
.upsell .row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 12px; }
.upsell input[type=email] { flex: 1 1 220px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 6, 20, .6); color: var(--text); font: 15px var(--sans); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 12px; }
.check input { margin-top: 3px; accent-color: var(--gold); }
.form-status { min-height: 1.4em; margin: 10px 0 0; font-size: 15px; color: var(--rose); }
.again { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

/* ── Шаги ── */
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; list-style: none; counter-reset: s; }
.steps-list li { display: grid; gap: 8px; padding: 26px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); }
.steps-list li:nth-child(2) { transition-delay: .12s; }
.steps-list li:nth-child(3) { transition-delay: .24s; }
.step-n { font: 600 46px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); }
.steps-list strong { font: 600 24px var(--serif); }
@media (max-width: 760px) { .steps-list { grid-template-columns: 1fr; } }

/* ── Кольцо старших арканов ── */
.ring-sec { overflow: hidden; }
.ring-view { --rw: 130px; --rz: 520px; height: calc(var(--rw) * 2.6 + 40px); perspective: 1600px; margin: 10px 0 20px; }
.ring { position: relative; width: var(--rw); height: calc(var(--rw) * 5 / 3); margin: 30px auto 0; transform-style: preserve-3d; transform: rotateX(-6deg) rotateY(var(--rot, 0deg)); }
.ring .mini { position: absolute; inset: 0; transform: rotateY(calc(var(--n) * 360deg / 22)) translateZ(var(--rz)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ring .mini-name { position: absolute; left: -20px; right: -20px; top: calc(100% + 8px); text-align: center; font-size: 13px; }
@media (max-width: 760px) { .ring-view { --rw: 96px; --rz: 380px; height: calc(var(--rw) * 3 + 50px); } }

/* ── Мини-карты ── */
.mini { display: block; text-decoration: none; color: var(--text); }
.mini-art { display: block; aspect-ratio: 3 / 5; transition: transform .35s var(--ease), box-shadow .35s; }
.mini:hover .mini-art { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--gold), 0 16px 40px -12px rgba(232, 198, 117, .6); }
.mini-name { display: block; margin-top: 8px; font-size: 14px; text-align: center; }
.mini-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 22px 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.mini-row { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); }
.mini-row strong { display: block; font: 600 20px var(--serif); }
.mini-row .muted { font-size: 14px; }

/* ── Плитки раскладов и тарифы ── */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tile { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px 22px 54px; border-radius: 20px; border: 1px solid var(--line); background: var(--glass); color: var(--text); text-decoration: none; transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.tile::after { content: ''; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--px, 50%) var(--py, 0%), rgba(232, 198, 117, .14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover { border-color: rgba(232, 198, 117, .6); box-shadow: 0 20px 50px -24px rgba(232, 198, 117, .5); color: var(--text); }
.tile:hover::after { opacity: 1; }
.tile strong { font: 600 24px/1.15 var(--serif); }
.tile .muted { font-size: 15px; }
.tile-n { font: 600 40px/1 var(--serif); color: var(--gold); }
.tile em { position: absolute; left: 22px; bottom: 18px; font-style: normal; font-size: 13px; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.tile-sm { padding-bottom: 22px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan { padding: 30px 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass); }
.plan-hot { background: linear-gradient(160deg, rgba(232, 198, 117, .16), rgba(141, 107, 255, .14)); border-color: rgba(232, 198, 117, .55); }
.plan-name { font: 600 22px var(--serif); color: var(--gold2); margin: 0; }
.plan-price { font: 600 52px/1.1 var(--serif); margin: 6px 0 14px; }
.plan ul { padding: 0; list-style: none; margin: 0 0 22px; }
.plan li { position: relative; padding-left: 22px; margin: 8px 0; }
.plan li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 13px; top: 3px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ── Тексты ── */
.page-head { padding-top: 40px; animation: appear 1.1s var(--ease) both; }
@keyframes appear { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
.crumbs { margin-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span { opacity: .5; margin: 0 4px; }
.content { max-width: 820px; }
.content h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 36px; }
.content li { margin: 8px 0; }
.tags { margin-top: 28px; font-size: 14px; color: var(--muted); }
.tags span { display: inline-block; margin: 4px 6px 0 0; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: #d9d1f5; }
.cta-box { margin: 32px 0; padding: 24px; border-radius: 20px; border: 1px solid rgba(232, 198, 117, .5); background: linear-gradient(135deg, rgba(232, 198, 117, .12), rgba(141, 107, 255, .12)); }
.cta-box .btn-ring, .cta-box .btn { margin: 8px 8px 0 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 600 21px var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: #d9d1f5; }

/* ── Страница карты ── */
.card-page { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; margin-top: 28px !important; }
.card-big { perspective: 1200px; }
.tc-lg { --cw: 280px; margin: 0 auto; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.keys span { padding: 5px 12px; border-radius: 999px; background: rgba(232, 198, 117, .12); color: var(--gold2); font-size: 14px; }
.facts { display: grid; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.prevnext { display: grid; grid-template-columns: 110px 1fr 110px; gap: 16px; align-items: center; justify-items: center; }
@media (max-width: 760px) {
  .card-page { grid-template-columns: 1fr; gap: 28px; }
  .tc-lg { --cw: 220px; }
  .prevnext { grid-template-columns: 80px 1fr 80px; }
  .prevnext .btn { font-size: 14px; padding: 10px 14px; text-align: center; }
}

/* ── Страница заказа ── */
.order { max-width: 860px; }

/* ── Подвал и cookie ── */
.foot { margin-top: 110px; padding: 48px 0 40px; border-top: 1px solid var(--line); background: rgba(8, 6, 20, .55); }
.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 26px; }
.foot .cols div { display: grid; gap: 6px; align-content: start; font-size: 14px; }
.foot .cols strong { font: 600 18px var(--serif); color: var(--gold2); margin-bottom: 4px; }
.foot .cols a { color: var(--muted); text-decoration: none; }
.foot .cols a:hover { color: var(--gold2); }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(18, 13, 38, .94); backdrop-filter: blur(12px); font-size: 14px; box-shadow: 0 20px 60px -20px #000; }
.cookie p { margin: 0 0 10px; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  main > section, main > article, main > nav { margin-top: 56px; }
  .table { padding: 28px 12px 36px; border-radius: 22px; }
  .reading { padding: 22px 16px; }
  .btn-ring span { padding: 13px 22px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], [data-split] .w { opacity: 1; transform: none; filter: none; }
  .marquee-in { animation: none; }
}
