/* ============================================================
   МИЛЕНА АНТОНОВА — Астрология и Нумерология
   Дизайн-система „Тъмен космос“
   ============================================================ */

:root {
  --bg0: #04040c;
  --bg1: #0a0a1c;
  --bg2: #101026;

  --gold: #e8c66b;
  --gold-deep: #c9a44a;
  --gold-bright: #ffe9ad;
  --gold-line: rgba(232, 198, 107, 0.22);
  --gold-soft: rgba(232, 198, 107, 0.10);

  --violet: #8b6fd4;
  --violet-soft: rgba(139, 111, 212, 0.16);
  --blue: #6ba8ff;

  --ink: #ece8f4;
  --ink-dim: #aaa4c0;
  --ink-faint: #6f6a86;

  --panel: rgba(14, 14, 34, 0.62);
  --panel-solid: #0e0e22;

  --font-head: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-deep: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
}

/* ---------- Основа ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection { background: rgba(232, 198, 107, 0.28); color: #fff; }

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

/* Скролбар */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-deep), #4a3f78);
  border-radius: 8px;
  border: 2px solid var(--bg0);
}

/* ---------- Космос отзад ---------- */

#cosmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Fallback нощно небе, ако няма WebGL */
.no-webgl #cosmos { display: none; }
.no-webgl body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1100px 700px at 70% 12%, rgba(139, 111, 212, 0.16), transparent 60%),
    radial-gradient(900px 600px at 20% 80%, rgba(64, 84, 160, 0.18), transparent 60%),
    radial-gradient(ellipse at center, #0c0c22 0%, #04040c 75%);
}

/* Лека винетка върху всичко, за дълбочина */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(2, 2, 8, 0.72) 100%);
}

/* Съдържанието плува над космоса */
.page { position: relative; z-index: 2; }

/* ---------- Типография ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

.gold-text {
  background: linear-gradient(115deg, #f7e7b3 0%, var(--gold) 38%, #b98f35 62%, #f2dc9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, transparent, var(--gold-line));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold-line), transparent); }

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 14px;
}

.section-sub {
  color: #bab4d0;
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  text-shadow: 0 1px 14px rgba(4, 4, 12, 0.95), 0 0 30px rgba(4, 4, 12, 0.8);
}

.section-title { text-shadow: 0 2px 26px rgba(4, 4, 12, 0.7); }

.center { text-align: center; }

/* ---------- Навигация ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.45s ease, box-shadow 0.45s ease, padding 0.45s ease,
              backdrop-filter 0.45s ease;
}

.nav.scrolled {
  background: rgba(6, 6, 18, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--gold-line), 0 14px 40px rgba(0, 0, 0, 0.45);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 21px;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.nav-logo b { font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  list-style: none;
}
.nav-links a {
  position: relative;
  color: var(--ink-dim);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 2px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-links a.nav-cta {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 9px 20px;
  color: var(--gold);
  background: var(--gold-soft);
}
.nav-links a.nav-cta:hover { background: rgba(232, 198, 107, 0.2); color: var(--gold-bright); }
.nav-links a.nav-cta::after { display: none; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  width: 46px; height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* затъмнение зад отвореното мобилно меню; клик върху него затваря */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 4, 12, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
}

.hero-inner { max-width: 900px; position: relative; }

.hero-orbit {
  width: clamp(120px, 16vw, 168px);
  height: clamp(120px, 16vw, 168px);
  margin: 0 auto 30px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(52px, 9.5vw, 108px);
  font-weight: 600;
  line-height: 1.04;
  margin-bottom: 26px;
  filter: drop-shadow(0 3px 14px rgba(4, 4, 12, 0.95)) drop-shadow(0 0 34px rgba(4, 4, 12, 0.7));
}

.hero-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 26px;
  color: var(--gold);
}
.hero-sep::before, .hero-sep::after {
  content: "";
  height: 1px;
  width: clamp(60px, 12vw, 140px);
  background: linear-gradient(90deg, transparent, var(--gold-line), var(--gold));
}
.hero-sep::after {
  background: linear-gradient(90deg, var(--gold), var(--gold-line), transparent);
}

.hero-tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 26px);
  color: #cfc9e0;
  max-width: 620px;
  margin: 0 auto 44px;
  text-shadow: 0 1px 16px rgba(4, 4, 12, 0.95), 0 0 34px rgba(4, 4, 12, 0.8);
}

.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 38px;
  border: 1.5px solid var(--ink-faint);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--gold);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel {
  0%   { transform: translateY(0);   opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

/* ---------- Бутони ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, color 0.3s;
  border: none;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(120deg, #f1d68a, var(--gold) 45%, var(--gold-deep));
  color: #241a05;
  box-shadow: 0 8px 30px rgba(232, 198, 107, 0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(232, 198, 107, 0.38);
  color: #241a05;
}

.btn-ghost {
  /* плътен тъмен гръб → бутонът се чете върху всякакъв фон, вкл. светлата лента */
  background: rgba(10, 10, 26, 0.78);
  color: var(--gold);
  border: 1px solid rgba(232, 198, 107, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 8px rgba(4, 4, 12, 0.8);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
  color: var(--gold-bright);
}

/* ---------- Секции и панели ---------- */

.section {
  position: relative;
  padding: clamp(90px, 12vh, 150px) clamp(20px, 5vw, 60px);
  scroll-margin-top: 70px;
}

.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }

.glass {
  background: var(--panel);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
}

.section-head { text-align: center; margin-bottom: clamp(44px, 7vh, 70px); position: relative; }

/* Декоративни плаващи елементи (паралакс чрез JS data-parallax) */
.floater {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: -1;
}

/* ---------- За мен ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background:
    radial-gradient(140% 100% at 50% 0%, rgba(139, 111, 212, 0.22), transparent 55%),
    linear-gradient(180deg, #12122c, #0a0a1c);
  box-shadow: var(--shadow-deep);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--gold);
}
.portrait-empty svg { width: 46%; height: auto; opacity: 0.9; }
.portrait-empty span {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-faint);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232, 198, 107, 0.14);
  border-radius: 190px 190px 12px 12px;
  pointer-events: none;
}

.about-text {
  position: relative;
  background: rgba(10, 10, 26, 0.66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 198, 107, 0.16);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-deep);
}
.about-text h2 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 20px; }
.about-text p {
  color: #c3bdd6;
  margin-bottom: 16px;
  font-size: 17px;
  text-shadow: 0 1px 12px rgba(4, 4, 12, 0.95), 0 0 26px rgba(4, 4, 12, 0.85);
}
.about-text p b { color: var(--ink); font-weight: 600; }

.about-marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.about-mark {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.about-mark svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.about-mark b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Галерия „места на силата“ */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.ag-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  aspect-ratio: 1;
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
}
.ag-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.ag-item:hover { transform: translateY(-6px); border-color: rgba(232,198,107,.55); box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.ag-item:hover img { transform: scale(1.07); }
.ag-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(transparent, rgba(4,4,12,.88));
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

/* ---------- Услуги ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  perspective: 1400px;
}

.svc {
  position: relative;
  padding: 38px 30px 30px;
  border-radius: var(--radius);
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-line);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc:hover {
  border-color: rgba(232, 198, 107, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232, 198, 107, 0.12) inset;
}
.svc .glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%),
              rgba(232, 198, 107, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.svc:hover .glare { opacity: 1; }

.svc-icon {
  width: 60px; height: 60px;
  margin-bottom: 22px;
  color: var(--gold);
  transform: translateZ(40px);
}
.svc-icon svg { width: 100%; height: 100%; }

.svc h3 {
  font-size: 25px;
  margin-bottom: 12px;
  transform: translateZ(30px);
}
.svc p {
  color: var(--ink-dim);
  font-size: 15px;
  flex: 1;
  transform: translateZ(20px);
}

.svc-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 198, 107, 0.14);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  transform: translateZ(26px);
}
.svc-price {
  font-family: var(--font-head);
  font-size: 27px;
  color: var(--gold);
}
.svc .svc-book {
  margin-top: 18px;
  width: 100%;
  transform: translateZ(24px);
}
.svc-price small { font-size: 15px; color: var(--ink-faint); font-family: var(--font-body); }
.svc-note { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.06em; }

.svc-cta {
  text-align: center;
  margin-top: 44px;
  color: var(--ink-dim);
  font-size: 15.5px;
  text-shadow: 0 1px 12px rgba(4, 4, 12, 0.95), 0 0 26px rgba(4, 4, 12, 0.8);
}
.svc-cta a { border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; }

/* ---------- Зодиак ---------- */

.zodiac-stage {
  position: relative;
  height: 420px;
  margin: 10px auto 26px;
  max-width: 900px;
  perspective: 1500px;
  touch-action: pan-y;
  cursor: grab;
}
.zodiac-stage:active { cursor: grabbing; }
.zring {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.zring.dragging { transition: none; }

.zcard {
  position: absolute;
  top: 50%; left: 50%;
  width: 150px; height: 190px;
  margin: -95px 0 0 -75px;
  border-radius: 16px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(165deg, rgba(24, 24, 54, 0.92), rgba(10, 10, 28, 0.94));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.4s, box-shadow 0.4s;
  backface-visibility: hidden;
}
.zcard .zglyph {
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  font-family: var(--font-head);
  text-shadow: 0 0 22px rgba(232, 198, 107, 0.4);
}
.zcard .zname { font-family: var(--font-head); font-size: 19px; color: var(--ink); }
.zcard .zdates { font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.08em; }
.zcard.sel {
  border-color: var(--gold);
  box-shadow: 0 0 44px rgba(232, 198, 107, 0.28), 0 24px 60px rgba(0, 0, 0, 0.55);
}

.zodiac-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.zarrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  font-size: 19px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zarrow:hover { border-color: var(--gold); background: var(--gold-soft); }
.zodiac-hintline { font-size: 12.5px; letter-spacing: 0.14em; color: var(--ink-faint); text-transform: uppercase; }

.zpanel {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(28px, 4vw, 46px);
  align-items: center;
}
.zconst { position: relative; aspect-ratio: 1; }
.zconst svg { width: 100%; height: 100%; }
.zconst .cline {
  stroke: rgba(232, 198, 107, 0.55);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.25s;
}
.zconst.on .cline { stroke-dashoffset: 0; }
.zconst .cstar {
  fill: #fff;
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.5s;
  filter: drop-shadow(0 0 6px rgba(232, 198, 107, 0.9));
}
.zconst.on .cstar { opacity: 1; }

.zinfo h3 {
  font-size: clamp(30px, 3.6vw, 42px);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.zinfo h3 .g { color: var(--gold); font-size: 0.9em; }
.zinfo .zperiod { color: var(--ink-faint); font-size: 14px; letter-spacing: 0.12em; margin-bottom: 20px; }

.zmeta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.zchip {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--ink-dim);
}
.zchip b { color: var(--gold); font-weight: 600; }

.zinfo p { color: var(--ink-dim); font-size: 16px; }

/* ---------- Луна ---------- */

.moon-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 4vw, 50px);
  max-width: 900px;
  margin: 0 auto;
}
.moon-canvas-wrap {
  position: relative;
  width: clamp(170px, 22vw, 230px);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 44px rgba(200, 210, 255, 0.18));
}
.moon-canvas-wrap canvas { width: 100%; height: 100%; }

.moon-info h3 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 6px; }
.moon-phase-name {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 21px;
  color: var(--gold);
  margin-bottom: 14px;
}
.moon-info p { color: var(--ink-dim); font-size: 15.5px; }
.moon-facts { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.moon-fact b {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--ink);
  font-weight: 600;
}
.moon-fact span { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Небето при раждането ти ---------- */

.bs-form {
  max-width: 640px;
  margin: 0 auto 44px;
  padding: clamp(24px, 4vw, 34px);
}
.bs-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.bs-form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.bs-form-row input[type=date] {
  flex: 1;
  min-width: 190px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(232, 198, 107, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  color-scheme: dark;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.bs-form-row input[type=date]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 198, 107, 0.12);
}
.bs-error {
  display: none;
  margin-top: 12px;
  color: #ff9d9d;
  font-size: 14.5px;
}

.bs-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.bs-card {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
}
.bs-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
}
.bs-const {
  width: min(170px, 60%);
  aspect-ratio: 1;
  margin: -6px auto 8px;
}
.bs-sign-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}
.bs-glyph {
  font-family: var(--font-head);
  font-size: 46px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(232, 198, 107, 0.45);
}
.bs-card h3 { font-size: 25px; }
.bs-dates { color: var(--ink-faint); font-size: 13px; letter-spacing: 0.08em; margin-top: 2px; }
.bs-card .zmeta { justify-content: center; margin: 10px 0 14px; }
.bs-card p { color: var(--ink-dim); font-size: 14.5px; margin-top: auto; }
.bs-moon-wrap {
  width: min(150px, 52%);
  aspect-ratio: 1;
  margin: 0 auto 14px;
  filter: drop-shadow(0 0 30px rgba(200, 210, 255, 0.16));
}
.bs-moon-wrap canvas { width: 100%; height: 100%; }
.bs-num {
  font-family: var(--font-head);
  font-size: 96px;
  line-height: 1;
  text-align: center;
  margin: 6px 0 4px;
}
.bs-num.pop { animation: bsPop 0.7s var(--ease-out); }
@keyframes bsPop {
  0%   { transform: scale(0.2); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
.bs-steps {
  text-align: center;
  color: var(--ink-faint);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  margin: 8px 0 14px;
  line-height: 1.9;
}
.bs-steps span {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid rgba(232, 198, 107, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.bs-cta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 10px 20px 6px;
}
.bs-cta p {
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 auto 22px;
  font-size: 15.5px;
  text-shadow: 0 1px 12px rgba(4, 4, 12, 0.95);
}

@media (max-width: 960px) {
  .bs-result { grid-template-columns: 1fr; }
  .bs-form-row .btn { width: 100%; }
}

/* ---------- Блог teasers ---------- */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-bottom: 46px;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-line);
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
  color: var(--ink);
}
.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 198, 107, 0.5);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  color: var(--ink);
}
.post-cover {
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #191937, #0c0c20);
  position: relative;
  overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.post-card:hover .post-cover img { transform: scale(1.06); }
.post-cover .cover-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 52px;
  color: rgba(232, 198, 107, 0.5);
  font-family: var(--font-head);
}
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post-body h3 { font-size: 23px; margin-bottom: 10px; line-height: 1.25; }
.post-body p { color: var(--ink-dim); font-size: 14.5px; flex: 1; }
.post-more { margin-top: 16px; font-size: 13.5px; letter-spacing: 0.08em; color: var(--gold); }

/* ---------- Контакти ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: stretch;
}

.contact-info { padding: clamp(28px, 4vw, 42px); display: flex; flex-direction: column; gap: 8px; }
.contact-info h3 { font-size: 28px; margin-bottom: 8px; }
.contact-info > p { color: var(--ink-dim); font-size: 15px; margin-bottom: 18px; }

.c-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 198, 107, 0.1);
  color: var(--ink);
}
.c-row:last-of-type { border-bottom: none; }
.c-row svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.c-row a { color: var(--ink); }
.c-row a:hover { color: var(--gold-bright); }
.c-row small { display: block; color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.08em; }

.contact-form { padding: clamp(28px, 4vw, 42px); }
.contact-form h3 { font-size: 28px; margin-bottom: 20px; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-field { margin-bottom: 16px; }
.f-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.f-field input, .f-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(232, 198, 107, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.f-field input:focus, .f-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 198, 107, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.f-field textarea { resize: vertical; min-height: 120px; }

.form-status { margin-top: 14px; font-size: 14.5px; display: none; }
.form-status.ok { display: block; color: #9be29b; }
.form-status.err { display: block; color: #ff9d9d; }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  border-top: 1px solid var(--gold-line);
  background: rgba(5, 5, 14, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 46px clamp(20px, 5vw, 60px) 34px;
  text-align: center;
}
.footer .nav-logo { justify-content: center; margin-bottom: 14px; }
.footer-tag { color: var(--ink-faint); font-family: var(--font-head); font-style: italic; font-size: 16px; margin-bottom: 22px; }
.footer-links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { color: var(--ink-dim); font-size: 14px; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy { color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.06em; }

/* ---------- Reveal анимации ---------- */

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Блог страници (blog.php / article.php) ---------- */

.page-head {
  padding: 170px 24px 60px;
  text-align: center;
}
.page-head h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.page-head p { color: var(--ink-dim); max-width: 560px; margin: 0 auto; }

.blog-list { max-width: 1180px; margin: 0 auto; padding: 20px clamp(20px, 5vw, 60px) 110px; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--gold-line);
  color: var(--ink-dim);
  font-size: 14.5px;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-bright); }
.pagination .cur { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); }

.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 40px) 110px;
}
.article-head { text-align: center; padding: 170px 24px 40px; max-width: 860px; margin: 0 auto; }
.article-head h1 { font-size: clamp(34px, 5vw, 54px); margin: 14px 0 18px; line-height: 1.15; }
.article-head .post-date { margin-bottom: 0; }

.article-cover {
  max-width: 980px;
  margin: 0 auto 50px;
  padding: 0 clamp(20px, 5vw, 40px);
}
.article-cover img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-deep);
}

.article-body {
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 54px);
  font-size: 17px;
  color: #d9d4e8;
}
.article-body h2 { font-size: 30px; margin: 36px 0 14px; color: var(--ink); }
.article-body h3 { font-size: 24px; margin: 30px 0 12px; color: var(--ink); }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 12px; margin: 26px auto; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 26px 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
}
.article-body a { border-bottom: 1px solid var(--gold-line); }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.empty-note {
  text-align: center;
  color: var(--ink-dim);
  padding: 60px 20px;
  font-size: 17px;
  text-shadow: 0 1px 12px rgba(4, 4, 12, 0.95), 0 0 26px rgba(4, 4, 12, 0.8);
}

/* ---------- Светлина, следваща курсора ---------- */

.btn, .post-card, .zpanel, .moon-panel, .contact-info, .contact-form, .about-mark, .ag-item {
  position: relative;
  overflow: hidden;
}
.btn::after, .post-card::after, .zpanel::after, .moon-panel::after,
.contact-info::after, .contact-form::after, .about-mark::after, .ag-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -30%),
              var(--shine-c, rgba(255, 240, 200, 0.14)), transparent 65%);
}
.btn:hover::after, .post-card:hover::after, .zpanel:hover::after, .moon-panel:hover::after,
.contact-info:hover::after, .contact-form:hover::after, .about-mark:hover::after, .ag-item:hover::after {
  opacity: 1;
}
.btn::after { background: radial-gradient(130px circle at var(--mx, 50%) var(--my, 50%),
              var(--shine-c, rgba(255, 240, 200, 0.25)), transparent 65%); }
.btn-gold { --shine-c: rgba(255, 255, 255, 0.4); }

/* ---------- Страница на зодия (znak.php) ---------- */

.znak-head { padding-bottom: 20px; }
.znak-glyph {
  font-family: var(--font-head);
  font-size: clamp(64px, 10vw, 96px);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 44px rgba(232, 198, 107, 0.45);
  margin: 10px 0 6px;
}
.znak-meta { justify-content: center; margin-top: 18px; }
.znak-strengths {
  margin-top: 14px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.znak-const-wrap { display: flex; justify-content: center; padding: 0 20px; }
.znak-const { width: min(260px, 60vw); aspect-ratio: 1; margin-bottom: 10px; }
.zchip-good { border-color: rgba(232, 198, 107, 0.45); color: var(--gold); }
.zchip-hard { opacity: 0.75; }
.znak-cta {
  margin-top: 26px;
  padding: clamp(24px, 4vw, 36px);
  text-align: center;
}
.znak-cta p { color: var(--ink-dim); margin-bottom: 18px; font-size: 16.5px; }
.znak-cta p b { color: var(--ink); }
.znak-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 0 !important; }

.footer-zodiac {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-bottom: 22px;
}
.footer-zodiac a { color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.06em; }
.footer-zodiac a:hover { color: var(--gold); }

/* ---------- Отзиви ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.review-card {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.review-stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; margin-bottom: 14px; }
.review-text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 17.5px;
  color: #d9d4e8;
  flex: 1;
  margin-bottom: 16px;
}
.review-text::before { content: "„"; color: var(--gold); }
.review-text::after { content: "“"; color: var(--gold); }
.review-name { font-size: 14px; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; }

/* ---------- ЧЗВ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-list details[open] { border-color: rgba(232, 198, 107, 0.45); }
.faq-list summary {
  cursor: pointer;
  padding: 20px 54px 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 24px;
  font-weight: 400;
  transition: transform 0.3s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p {
  padding: 0 24px 22px;
  color: var(--ink-dim);
  font-size: 15.5px;
}

/* ---------- Запазване на час ---------- */

.booking-form {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px);
}
.booking-form .f-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.booking-form select {
  width: 100%;
  background: #0c0c20;
  border: 1px solid rgba(232, 198, 107, 0.18);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
}
.booking-form select:focus { outline: none; border-color: var(--gold); }
.booking-form input[type=date] { color-scheme: dark; }
@media (max-width: 820px) {
  .booking-form .f-row3 { grid-template-columns: 1fr; }
}

/* ---------- Viber / Messenger бутони ---------- */

.chat-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: transform 0.25s, box-shadow 0.3s;
}
.chat-btn:hover { transform: translateY(-2px); color: #fff; }
.chat-btn svg { width: 19px; height: 19px; }
.chat-viber { background: #7360f2; box-shadow: 0 6px 22px rgba(115, 96, 242, 0.35); }
.chat-messenger { background: linear-gradient(120deg, #0099ff, #a033ff); box-shadow: 0 6px 22px rgba(0, 153, 255, 0.3); }

/* ---------- Споделяне ---------- */

.share-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ---------- Мобилни ---------- */

@media (max-width: 960px) {
  .about-grid, .contact-grid, .zpanel { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; margin: 0 auto; }
  .zconst { max-width: 300px; margin: 0 auto; }
  .moon-panel { grid-template-columns: 1fr; text-align: center; }
  .moon-canvas-wrap { margin: 0 auto; }
  .moon-facts { justify-content: center; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 330px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(7, 7, 18, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--gold-line);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 60;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 19px; }
  .burger { display: flex; z-index: 70; }

  .zodiac-stage { height: 340px; }
  .zcard { width: 124px; height: 162px; margin: -81px 0 0 -62px; padding: 8px; }
  .zcard .zglyph { font-size: 36px; }
  .zcard .zdates { font-size: 10px; line-height: 1.4; text-align: center; padding: 0 4px; }
  .f-row { grid-template-columns: 1fr; }
  body { font-size: 15.5px; }
  .scroll-hint { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}
