/* ═══════════════════════════════════════════════════════════
   TaroSkoop — Müstiline disainisüsteem (WordPress versioon)
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --clr-bg:          #06040f;
  --clr-bg-2:        #0b071a;
  --clr-bg-3:        #0f0b21;

  --clr-gold-deep:   #8a6620;
  --clr-gold:        #c89b4b;
  --clr-gold-light:  #f0d080;
  --clr-gold-glow:   rgba(200, 155, 75, 0.18);
  --clr-gold-glow-s: rgba(200, 155, 75, 0.06);

  --clr-purple:      #5b3fa0;
  --clr-purple-mid:  #7b55c5;
  --clr-purple-light:#a87de8;
  --clr-purple-glow: rgba(91, 63, 160, 0.35);

  --clr-teal:        #1a8fa0;
  --clr-rose:        #c45080;

  --clr-text:        #e8e0d0;
  --clr-text-muted:  #a09080;
  --clr-text-dim:    #6a6070;

  --grad-gold:       linear-gradient(135deg, #c89b4b 0%, #f0d080 50%, #c89b4b 100%);
  --grad-mystic:     linear-gradient(160deg, #1a0b35 0%, #06040f 40%, #0a1530 100%);
  --grad-card:       linear-gradient(160deg, rgba(91,63,160,0.15) 0%, rgba(200,155,75,0.05) 100%);

  --shadow-gold:     0 0 40px rgba(200, 155, 75, 0.25);
  --shadow-card:     0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(200,155,75,0.1);
  --shadow-btn:      0 0 30px rgba(200, 155, 75, 0.4), 0 4px 20px rgba(0,0,0,0.5);

  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       36px;

  --font-display:    'Cinzel Decorative', serif;
  --font-heading:    'Cinzel', serif;
  --font-body:       'EB Garamond', Georgia, serif;

  --transition:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body.taroskoop-theme {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

body.taroskoop-theme a { color: var(--clr-gold); text-decoration: none; }
body.taroskoop-theme img { max-width: 100%; }
body.taroskoop-theme button { cursor: pointer; }

/* ── Stars Canvas ───────────────────────────────────────────── */
#starsCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Floating Particles ─────────────────────────────────────── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clr-gold-light);
  box-shadow: 0 0 6px var(--clr-gold);
  animation: particleDrift var(--dur, 12s) linear infinite;
  opacity: 0;
}
@keyframes particleDrift {
  0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) translateX(var(--dx, 30px)) scale(1.5); opacity: 0; }
}

/* ── Cursor Trail ───────────────────────────────────────────── */
.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.trail-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--clr-gold-light), var(--clr-gold));
  box-shadow: 0 0 8px var(--clr-gold), 0 0 16px rgba(200,155,75,0.4);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}
@media (max-width: 900px) {
  .cursor-trail { display: none; }
}

/* ── Wrapper ────────────────────────────────────────────────── */
.site-wrapper, .taroskoop-page {
  position: relative;
  z-index: 10;
}

/* ── Animatsioonid ──────────────────────────────────────────── */
@keyframes logoPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(200,155,75,0.5), 0 0 40px rgba(200,155,75,0.3); }
  50%       { text-shadow: 0 0 40px rgba(200,155,75,0.8), 0 0 80px rgba(200,155,75,0.5); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes symbolFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%  { transform: translateY(-12px) rotate(3deg); }
  66%  { transform: translateY(-6px) rotate(-2deg); }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   NAVIGATSIOON
   ════════════════════════════════════════════════════════════ */
.ts-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.ts-nav.scrolled {
  background: rgba(6, 4, 15, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,155,75,0.12);
}
.ts-nav__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoPulse 4s ease-in-out infinite;
}
.ts-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.ts-nav__links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: color var(--transition);
}
.ts-nav__links a:hover { color: var(--clr-gold-light); }

/* ════════════════════════════════════════════════════════════
   HERO SEKTSIOON
   ════════════════════════════════════════════════════════════ */
.ts-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.ts-hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,63,160,0.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.ts-hero__tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease both;
}
.ts-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}
.ts-hero__title .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ts-hero__subtitle {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  margin: 0 auto 2.5rem;
  animation: fadeSlideUp 0.8s 0.4s ease both;
}
.ts-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--grad-gold);
  color: #0b071a;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: var(--shadow-btn);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeSlideUp 0.8s 0.6s ease both;
  text-decoration: none;
}
.ts-hero__cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(200,155,75,0.6), 0 8px 30px rgba(0,0,0,0.6);
  color: #0b071a;
}

/* Trust metrics */
.ts-trust {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeSlideUp 0.8s 0.8s ease both;
}
.ts-trust__item { text-align: center; }
.ts-trust__num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-gold-light);
}
.ts-trust__label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
}

/* ════════════════════════════════════════════════════════════
   KUIDAS TOIMIB
   ════════════════════════════════════════════════════════════ */
.ts-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ts-section__tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-gold);
  text-align: center;
  margin-bottom: 1rem;
}
.ts-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ts-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.ts-step {
  background: var(--grad-card);
  border: 1px solid rgba(200,155,75,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ts-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}
.ts-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #0b071a;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.ts-step__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--clr-gold-light);
  margin-bottom: 0.6rem;
}
.ts-step__desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALID
   ════════════════════════════════════════════════════════════ */
.ts-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ts-testimonial {
  background: var(--grad-card);
  border: 1px solid rgba(200,155,75,0.12);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.ts-testimonial__stars { color: var(--clr-gold); margin-bottom: 0.8rem; }
.ts-testimonial__text {
  font-style: italic;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.ts-testimonial__author {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--clr-gold);
}

/* ════════════════════════════════════════════════════════════
   FORTUNE REVEAL (Täname lehe sektsioon)
   ════════════════════════════════════════════════════════════ */
.ts-fortune-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.ts-fortune-loading {
  text-align: center;
  padding: 4rem 2rem;
}
.ts-fortune-loading__orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--clr-purple-mid), var(--clr-purple));
  margin: 0 auto 2rem;
  animation: glowPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 40px var(--clr-purple-glow);
}
.ts-fortune-loading__text {
  font-family: var(--font-heading);
  color: var(--clr-gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* Kaardid */
.ts-cards-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}
.ts-card-wrap {
  perspective: 800px;
  width: 130px;
}
.ts-card {
  width: 130px; height: 220px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.ts-card.flipped { transform: rotateY(180deg); }
.ts-card__face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ts-card__back {
  background: linear-gradient(160deg, #1a0b35 0%, #2a1055 50%, #1a0b35 100%);
  border: 1px solid rgba(200,155,75,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.ts-card__front {
  transform: rotateY(180deg);
  border: 1px solid rgba(200,155,75,0.4);
}
.ts-card__front img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ts-card__name {
  text-align: center;
  margin-top: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--clr-gold);
  opacity: 0;
  transition: opacity 0.5s ease 0.8s;
}
.ts-card.flipped + .ts-card__name,
.ts-card-wrap.flipped .ts-card__name { opacity: 1; }

/* Fortune tekst */
.ts-fortune-text {
  background: var(--grad-card);
  border: 1px solid rgba(200,155,75,0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--clr-text);
}
.ts-fortune-text h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--clr-gold-light);
  margin: 1.8rem 0 0.8rem;
  letter-spacing: 0.05em;
}
.ts-fortune-text h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--clr-purple-light);
  margin: 1.2rem 0 0.5rem;
}
.ts-fortune-text p { margin: 0.6rem 0; }
.ts-fortune-text strong { color: var(--clr-gold-light); }
.ts-fortune-text em { color: var(--clr-text-muted); }
.ts-fortune-text ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.ts-fortune-text li { margin: 0.3rem 0; }

.ts-fortune-error {
  text-align: center;
  padding: 3rem;
  background: rgba(196,80,128,0.1);
  border: 1px solid rgba(196,80,128,0.3);
  border-radius: var(--radius-lg);
}
.ts-fortune-error p { color: var(--clr-rose); margin-bottom: 1rem; }
.ts-fortune-error button {
  padding: 0.8rem 2rem;
  background: var(--grad-gold);
  color: #0b071a;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

/* Täname päis */
.ts-thankyou-header {
  text-align: center;
  padding: 6rem 2rem 2rem;
  position: relative;
  z-index: 10;
}
.ts-thankyou-header__tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}
.ts-thankyou-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.ts-thankyou-header__sub {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* Täname lehe email notice */
.ts-thankyou-email-notice {
  text-align: center;
  max-width: 480px;
  margin: 3rem auto 2rem;
  padding: 2.5rem 2rem;
  background: rgba(11,7,26,0.7);
  border: 1px solid rgba(200,155,75,0.2);
  border-radius: 20px;
}
.ts-thankyou-email-icon {
  font-size: 2rem;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
  animation: pulse-glow 3s ease-in-out infinite;
}
.ts-thankyou-email-notice h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--clr-gold-light);
  margin: 0 0 0.75rem;
}
.ts-thankyou-email-notice p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin: 0 0 0.5rem;
}
.ts-thankyou-email-address {
  font-family: var(--font-heading);
  font-size: 0.85rem !important;
  color: var(--clr-gold) !important;
  letter-spacing: 0.05em;
  margin: 0.25rem 0 1rem !important;
}
.ts-thankyou-email-note {
  font-size: 0.78rem !important;
  color: rgba(160,144,128,0.5) !important;
  margin-top: 1rem !important;
}
.ts-order-meta {
  text-align: center;
  color: var(--clr-text-dim);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.ts-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(200,155,75,0.1);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--clr-text-dim);
}
.ts-footer a { color: var(--clr-text-muted); }
.ts-footer a:hover { color: var(--clr-gold); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ts-nav { padding: 1rem; }
  .ts-trust { gap: 1.5rem; }
  .ts-cards-row { gap: 1rem; }
  .ts-card-wrap { width: 100px; }
  .ts-card { width: 100px; height: 170px; }
  .ts-fortune-text { padding: 1.5rem; }
}

/* ════════════════════════════════════════════════════════════
   NAV — 1:1 TAROSKOOP originaaliga
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(6, 4, 15, 0.75);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(200, 155, 75, 0.12);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
  background: rgba(6, 4, 15, 0.95);
  border-bottom-color: rgba(200, 155, 75, 0.2);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--clr-gold-light);
  text-decoration: none;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-logo:hover { color: #fff; text-shadow: 0 0 20px var(--clr-gold); }
.logo-symbol {
  font-size: 1.1rem;
  color: var(--clr-gold);
  animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--grad-gold);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover { color: var(--clr-gold-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 0.5rem 1.4rem !important;
  border: 1px solid rgba(200, 155, 75, 0.5) !important;
  border-radius: 50px !important;
  color: var(--clr-gold-light) !important;
  background: rgba(200, 155, 75, 0.07);
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.nav-cta:hover {
  background: rgba(200, 155, 75, 0.15) !important;
  border-color: var(--clr-gold) !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(200,155,75,0.3);
}
.nav-cta::after { display: none !important; }

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-right: 0.5rem;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--clr-text-muted);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}
.lang-btn:hover { color: var(--clr-gold-light); border-color: rgba(200,155,75,0.3); }
.lang-btn.active { color: var(--clr-gold); border-color: rgba(200,155,75,0.5); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(200,155,75,0.07);
  border: 1px solid rgba(200,155,75,0.2);
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
  transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-hamburger:hover { background: rgba(200,155,75,0.14); border-color: rgba(200,155,75,0.4); }
.ham-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-gold-light);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
}
.nav-hamburger.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .ham-bar:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,4,15,0.7);
  backdrop-filter: blur(4px);
  z-index: 110;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.is-visible { opacity: 1; }

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    text-align: center;
    position: fixed;
    top: 70px; left: 0; right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(6, 4, 15, 0.97);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid rgba(200,155,75,0.15);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0; padding: 0;
    z-index: 150;
    pointer-events: none;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.is-open { max-height: 400px; pointer-events: auto;
padding-bottom: 25px; }
  .nav-link-item {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.12em !important;
    border-bottom: 1px solid rgba(200,155,75,0.08) !important;
    border-radius: 0 !important;
    background: none !important;
    color: var(--clr-text-muted) !important;
    box-shadow: none !important;
  }
  .nav-link-item:hover { color: var(--clr-gold-light) !important; background: rgba(200,155,75,0.06) !important; }
  .nav-link-item::after { display: none !important; }
  .nav-links li { opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.3s ease; margin-top: 10px;
margin-bottom: 10px;}
  .nav-links.is-open li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
  .nav-links.is-open li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
  .nav-links.is-open li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.15s; }
  .lang-switcher { display: none; }
}

/* ════════════════════════════════════════════════════════════
   FOOTER — 1:1 TAROSKOOP originaaliga
   ════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem;
  background: var(--clr-bg);
  border-top: 1px solid rgba(200,155,75,0.08);
  text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo {
  justify-content: center;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 1.5rem;
}
.footer-symbols {
  font-size: 0.9rem;
  color: var(--clr-gold);
  opacity: 0.4;
  letter-spacing: 0.5em;
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  margin-bottom: 0.5rem;
}
.footer-copy a { color: var(--clr-gold); opacity: 0.7; text-decoration: none; transition: 0.35s ease; }
.footer-copy a:hover { opacity: 1; }
.footer-disclaimer {
  font-size: 0.72rem;
  color: #9f97b5;
  opacity: 1;
  font-style: italic;
}

@media (max-width: 640px) {
  .footer { padding: 3rem 1rem; }
  .footer-symbols { letter-spacing: 0.3em; }
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE ORDER FORM
   ══════════════════════════════════════════════════════════════ */
.ts-order {
  position: relative;
  z-index: 2;
  padding: 7rem 0;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(91,63,160,.12) 0%, transparent 70%),
              linear-gradient(180deg, var(--clr-bg-2) 0%, var(--clr-bg-3) 100%);
}
.ts-order-bg-glow {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,63,160,.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.ts-form-wrap { position: relative; max-width: 720px; margin: 0 auto; transition: opacity .3s; }

/* Oracle form card */
.ts-oracle-form {
  position: relative; z-index: 3;
  background: linear-gradient(160deg, rgba(15,11,33,.9) 0%, rgba(11,7,26,.95) 100%);
  border: 1px solid rgba(200,155,75,.15);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(200,155,75,.08), inset 0 1px 0 rgba(200,155,75,.08);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

/* Field groups */
.ts-field-group { display: flex; flex-direction: column; gap: .5rem; }
.ts-field-full  { grid-column: 1 / -1; }

.ts-field-label {
  font-family: var(--font-heading);
  font-size: .82rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--clr-gold);
  display: flex; align-items: center; gap: .5rem;
}
.ts-label-icon { font-size: .7rem; opacity: .8; }

.ts-field-wrap { position: relative; }

.ts-field-input {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(200,155,75,.2);
  border-radius: var(--radius-sm);
  padding: .875rem 1.1rem;
  color: var(--clr-text);
  font-size: 1rem; font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
}
.ts-field-input::placeholder { color: var(--clr-text-dim); }
.ts-field-input:focus {
  border-color: var(--clr-gold);
  background: rgba(200,155,75,.05);
  box-shadow: 0 0 0 3px rgba(200,155,75,.12), 0 0 20px rgba(200,155,75,.08);
}
.ts-field-input.is-error { border-color: #c04060; box-shadow: 0 0 0 3px rgba(192,64,96,.15); }
.ts-field-input--textarea { resize: vertical; min-height: 120px; line-height: 1.7; font-style: italic; }
.ts-field-input--date::-webkit-calendar-picker-indicator { filter: invert(.7) sepia(1) hue-rotate(10deg); cursor: pointer; }

.ts-field-error {
  font-size: .8rem; color: #e06080; font-family: var(--font-heading);
  letter-spacing: .03em; display: none; align-items: center; gap: .3rem;
}
.ts-field-error.visible { display: flex; }
.ts-field-hint { font-size: .78rem; color: var(--clr-text-dim); margin-top: .25rem; }

/* Topic radio buttons */
.ts-topic-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.ts-topic-option {
  position: relative;
}
.ts-topic-option input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ts-topic-option label {
  display: flex; align-items: center; gap: .55rem;
  padding: .65rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(200,155,75,.18);
  border-radius: var(--radius-sm);
  color: var(--clr-text-muted);
  font-family: var(--font-heading);
  font-size: .8rem; letter-spacing: .06em;
  cursor: pointer;
  transition: var(--transition);
}

.ts-topic-option input:checked + label .cs-icon,
.ts-topic-option label:hover .cs-icon { opacity: 1; }
.ts-topic-option input:checked + label {
  border-color: var(--clr-gold);
  background: rgba(200,155,75,.08);
  color: var(--clr-gold-light);
  box-shadow: 0 0 0 1px rgba(200,155,75,.2);
}
.ts-topic-option label:hover { border-color: rgba(200,155,75,.4); color: var(--clr-gold-light); }
.ts-topic-wrap.is-error label { border-color: #c04060; }

/* Submit */
.ts-submit-btn {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: center;
  padding: 1.15rem 2rem;
  background: var(--grad-gold);
  color: #1a0b10;
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: none; border-radius: var(--radius-md);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  display: flex; align-items: center; gap: .6rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.ts-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(200,155,75,.5), 0 8px 30px rgba(0,0,0,.5); }
.ts-submit-btn:active { transform: translateY(0); }
.ts-form-note { grid-column: 1 / -1; text-align: center; font-size: .8rem; color: var(--clr-text-dim); }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE CARD REVEAL + PAYMENT CTA
   ══════════════════════════════════════════════════════════════ */
.ts-reveal {
  position: relative; z-index: 2;
  padding: 6rem 0 5rem;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(200,155,75,.08) 0%, transparent 70%),
              linear-gradient(180deg, var(--clr-bg-3) 0%, var(--clr-bg-2) 100%);
}
.ts-reveal-sub {
  text-align: center; color: var(--clr-text-dim);
  font-style: italic; font-size: .9rem;
  margin-bottom: 3rem;
}

/* Card trio */
.ts-preview-trio {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Individual preview card */
.ts-prev-card {
  width: 140px;
  perspective: 800px;
  cursor: pointer;
  animation: fadeSlideUp .6s calc(var(--stagger, 0s) + .3s) both;
}
.ts-prev-card-inner {
  position: relative;
  width: 100%; height: 220px;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
  border-radius: 14px;
}
.ts-prev-card.is-flipped .ts-prev-card-inner {
  transform: rotateY(180deg);
}
.ts-prev-card-back,
.ts-prev-card-front {
  position: absolute; inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ts-prev-card-back {
  background: linear-gradient(160deg, #1a0b35, #06040f);
  border: 1px solid rgba(200,155,75,.3);
  box-shadow: var(--shadow-card), inset 0 0 30px rgba(91,63,160,.2);
}
.tpc-back-sym {
  font-size: 2.5rem; color: var(--clr-gold); opacity: .4;
  animation: logoPulse 3s ease-in-out infinite;
}
.ts-prev-card-front {
  background: linear-gradient(160deg, rgba(91,63,160,.2), rgba(11,7,26,.95));
  border: 1px solid rgba(200,155,75,.35);
  box-shadow: var(--shadow-card), 0 0 30px rgba(200,155,75,.1);
  transform: rotateY(180deg);
  padding: 1.25rem 1rem;
  text-align: center;
  gap: .4rem;
}
.tpc-pos {
  font-family: var(--font-heading); font-size: .6rem;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--clr-gold); opacity: .7;
  padding: .2rem .6rem;
  border: 1px solid rgba(200,155,75,.3);
  border-radius: 50px;
}
.tpc-sym {
  font-size: 2.4rem; color: var(--clr-gold);
  text-shadow: 0 0 20px rgba(200,155,75,.5);
  line-height: 1.2;
}
.tpc-name {
  font-family: var(--font-heading); font-size: .78rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--clr-gold-light);
}
.tpc-meaning {
  font-size: .7rem; color: var(--clr-text-muted);
  font-style: italic; line-height: 1.5;
}

/* Card image on preview front face */
.tpc-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
@media (max-width: 640px) {
  .tpc-img { max-height: 100px; }
}

/* Card hint */
.ts-card-hint {
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  opacity: 0;
  margin-top: .75rem;
  animation: tsHintPulse 3.5s cubic-bezier(.45,0,.55,1) infinite;
}
.ts-card-hint--visible {
  animation: tsHintSettle 2.5s 2s cubic-bezier(.45,0,.55,1) forwards;
}
@keyframes tsHintPulse {
  0%, 100% { opacity: .08; }
  50%       { opacity: .55; }
}
@keyframes tsHintSettle {
  0%   { opacity: 0; }
  40%  { opacity: .5; }
  70%  { opacity: .25; }
  100% { opacity: .38; }
}

/* Loading state inside card trio */
.ts-loading {
  width: 100%;
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeSlideUp .5s both;
}
.ts-loading-orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(200,155,75,.35) 0%, transparent 70%);
  border: 1px solid rgba(200,155,75,.4);
  margin: 0 auto 1.5rem;
  animation: logoPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(200,155,75,.25);
}
.ts-loading p {
  font-family: var(--font-heading);
  letter-spacing: .3em;
  color: var(--clr-gold);
  font-size: .82rem;
  text-transform: uppercase;
  transition: opacity .3s ease;
  min-height: 1.4em;
}

/* Fortune / preview error box */
.ts-fortune-error {
  text-align: center; padding: 2rem 1rem;
  color: var(--clr-text-muted); font-style: italic;
}
.ts-fortune-error button {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid rgba(200,155,75,.4);
  color: var(--clr-gold);
  padding: .5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: .15em;
  font-size: .8rem;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.ts-fortune-error button:hover {
  background: rgba(200,155,75,.1);
  border-color: rgba(200,155,75,.7);
}

/* Payment CTA box */
.ts-payment-cta {
  max-width: 600px; margin: 0 auto;
  background: linear-gradient(160deg, rgba(200,155,75,.06) 0%, rgba(91,63,160,.08) 100%);
  border: 1px solid rgba(200,155,75,.25);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: 0 0 60px rgba(200,155,75,.08), var(--shadow-card);
  animation: fadeSlideUp .7s .9s both;
}
.ts-cta-eyebrow {
  font-family: var(--font-heading); font-size: .75rem;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--clr-gold); margin-bottom: .75rem;
}
.ts-cta-title {
  font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--grad-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .75rem; line-height: 1.3;
}
.ts-cta-desc {
  color: var(--clr-text-muted); font-size: .9rem; font-style: italic;
  margin-bottom: 1.5rem; line-height: 1.7;
}
.ts-cta-price {
  font-family: var(--font-display); font-size: 3rem;
  background: var(--grad-gold); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 1.5rem;
}
.ts-cta-price sup { font-size: 1.3rem; vertical-align: super; }
.ts-cta-note { font-size: .78rem; color: var(--clr-text-dim); margin-top: 1rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .ts-oracle-form { grid-template-columns: 1fr; gap: 1.25rem; }
  .ts-field-full { grid-column: 1; }
  .ts-submit-btn { grid-column: 1; }
  .ts-form-note { grid-column: 1; }
}
@media (max-width: 640px) {
  .ts-order { padding: 4rem 0; }
  .ts-oracle-form { padding: 1.5rem 1rem; border-radius: var(--radius-lg); }
  .ts-topic-grid { grid-template-columns: 1fr 1fr; }
  .ts-preview-trio { gap: 1rem; }
  .ts-prev-card { width: 110px; }
  .ts-prev-card-inner { height: 175px; }
  .tpc-sym { font-size: 1.8rem; }
  .ts-reveal { padding: 4rem 0 3rem; }
}

#ts-pay-btn,.btn--hero{
  color:#1a0b10 !important;
}

/* ═══════════════════════════════════════════════════════════
   QUICK CHECKOUT MODAL
   ═══════════════════════════════════════════════════════════ */
/* iOS scroll lock: position:fixed + saved scroll offset via JS */
.ts-qc-body-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
}

.ts-qc-modal {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.ts-qc-modal.is-open {
  opacity: 1; pointer-events: all;
}

.ts-qc-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,4,15,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ts-qc-sheet {
  position: relative; z-index: 1;
  width: 100%; max-width: 580px;
  height: 96dvh;
  background: var(--clr-bg-2);
  border: 1px solid rgba(200,155,75,.2);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(200,155,75,.06);
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.ts-qc-modal.is-open .ts-qc-sheet {
  transform: translateY(0);
}

/* Pill handle */
.ts-qc-sheet::before {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: rgba(200,155,75,.3);
  border-radius: 2px;
  margin: .75rem auto 0;
  flex-shrink: 0;
}

.ts-qc-bar {
  display: flex; align-items: center;
  padding: 0 .75rem 0 1.25rem;
  height: 48px;
  font-family: var(--font-heading); font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--clr-gold); opacity: .7;
  border-bottom: 1px solid rgba(200,155,75,.1);
  flex-shrink: 0;
}
.ts-qc-bar > span { flex: 1; text-align: center; }

.ts-qc-close {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--clr-text-muted); font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.ts-qc-close:hover { background: rgba(255,255,255,.13); color: var(--clr-text); }

.ts-qc-iframe {
  flex: 1; width: 100%; border: none;
  background: var(--clr-bg-2);
  display: block;
}

/* Desktop: centered modal */
@media (min-width: 640px) {
  .ts-qc-modal { align-items: center; padding: 1.5rem; }
  .ts-qc-sheet {
    border-radius: 28px; border-bottom: 1px solid rgba(200,155,75,.2);
    height: 92dvh; max-height: 820px;
    transform: translateY(40px) scale(.97);
  }
  .ts-qc-modal.is-open .ts-qc-sheet {
    transform: translateY(0) scale(1);
  }
  .ts-qc-sheet::before { display: none; }
}

/* Checkout inside quick mode */
body.ts-quick-checkout {
  background: var(--clr-bg-2) !important;
}
body.ts-quick-checkout .woocommerce-checkout {
  padding: 1.5rem 1.5rem 2rem;
  max-width: 460px; margin: 0 auto;
}
body.ts-quick-checkout h1, body.ts-quick-checkout h2,
body.ts-quick-checkout h3 {
  font-family: 'Cinzel Decorative', serif;
  background: linear-gradient(135deg,#c89b4b,#f0d080);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-align: center;
}
body.ts-quick-checkout .ts-checkout-header { padding: 1.5rem 0 .5rem; }
body.ts-quick-checkout .ts-checkout-header h1 { font-size: 1.3rem; margin-bottom: .4rem; }
body.ts-quick-checkout #order_review_heading { display: none; }
body.ts-quick-checkout .woocommerce-checkout-review-order { margin-top: 1.5rem; }
/* Icon box */
.cs-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(200,155,75,0.07);
  border: 1px solid rgba(200,155,75,0.15);
  color: var(--clr-gold);
  transition: background 0.18s, border-color 0.18s;
  -webkit-transition: background 0.18s, border-color 0.18s;
  -moz-transition: background 0.18s, border-color 0.18s;
  -ms-transition: background 0.18s, border-color 0.18s;
  -o-transition: background 0.18s, border-color 0.18s;
}
.cs-icon svg { width: 18px; height: 18px; }
.cs-option:hover .cs-icon,
.cs-option[aria-selected="true"] .cs-icon {
  background: rgba(200,155,75,0.14);
  border-color: rgba(200,155,75,0.35);
}


/* ════════════════════════════════════════════════════════════
   PÄEVANE HOROSKOOP — shortcode [taroskoop_horoscoop]
   ════════════════════════════════════════════════════════════ */

.ts-horoscope-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
}

/* H1 pealkiri — näidatakse ainult kui pole eraldi hero plokki */
.ts-horoscope-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 400;
  text-align: center;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold) 60%, var(--clr-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ts-horo-main .ts-horoscope-title {
  display: none; /* hero on eraldi, ei dubleeri */
}

/* Alapealkiri / eyebrow */
.ts-horoscope-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ts-horo-main .ts-horoscope-header {
  display: none;
}

.ts-horoscope-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(200,155,75,0.5);
  margin: 0 0 0.6rem;
}

.ts-horoscope-date {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: var(--clr-gold-light);
  margin: 0;
}

/* ── Grid ──────────────────────────────────────────────────── */

.ts-horoscope-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

/* ── Kaart ─────────────────────────────────────────────────── */

.ts-horoscope-card {
  position: relative;
  display: grid;
  grid-template-columns: 6rem 1fr;
  align-items: start;
  gap: 0 1.5rem;
  background:
    linear-gradient(160deg, rgba(91,63,160,0.14) 0%, rgba(10,7,25,0.6) 100%);
  border: 1px solid rgba(200,155,75,0.14);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/* Sisemine sära alt */
.ts-horoscope-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: radial-gradient(ellipse 90% 60% at 50% 100%, rgba(200,155,75,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Peenike kuldne viirutus ülaservas */
.ts-horoscope-card::after {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,155,75,0.35), transparent);
}

.ts-horoscope-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,155,75,0.38);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 30px rgba(91,63,160,0.12),
    0 0 0 1px rgba(200,155,75,0.08) inset;
}

/* ── Kaardi ülaosa: sümbol + nimi + kuupäevad ─────────────── */

.ts-horoscope-card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 0.25rem 0;
  border-right: 1px solid rgba(200,155,75,0.12);
  margin-right: 0;
  align-self: stretch;
}

.ts-horoscope-card__sym {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--clr-gold);
  text-shadow: 0 0 20px rgba(200,155,75,0.6);
}

.ts-horoscope-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-gold-light);
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.ts-horoscope-card__dates {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(200,155,75,0.45);
  margin: 0;
}

/* ── Horoskoobi tekst ──────────────────────────────────────── */

.ts-horoscope-card__text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(220,205,185,0.78);
  margin: 0;
  align-self: center;
}

.ts-horoscope-card__text em {
  color: rgba(200,155,75,0.4);
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════
   HOROSKOOP LEHT — page-horoscoop.php hero
   ════════════════════════════════════════════════════════════ */

.ts-horo-hero {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem 4rem;
}

.ts-horo-hero__tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(200,155,75,0.55);
  margin: 0 0 1.25rem;
}

.ts-horo-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  margin: 0 0 1.25rem;
  line-height: 1.15;
  background: linear-gradient(160deg, var(--clr-gold-light) 0%, var(--clr-gold) 55%, var(--clr-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ts-horo-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 540px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.ts-horo-hero__date {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,155,75,0.45);
  margin: 0;
}

/* Kuldne eraldaja */
.ts-horo-hero::after {
  content: '✦  ·  ✦  ·  ✦';
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  color: rgba(200,155,75,0.25);
  margin-top: 3rem;
}

.ts-horo-main {
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

/* ═══════════════════════════════════════════════════════════
   Horoskoop arhiiv — tabid + kaardid
   ═══════════════════════════════════════════════════════════ */

/* ── Tabid ──────────────────────────────────────────────── */
.ts-arc-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0 1.5rem 2.5rem;
  position: relative;
  z-index: 10;
}

.ts-arc-tab {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  background: transparent;
  border: 1px solid rgba(200,155,75,0.18);
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.ts-arc-tab:hover {
  color: var(--clr-gold);
  border-color: rgba(200,155,75,0.45);
}

.ts-arc-tab.is-active {
  background: linear-gradient(135deg, rgba(200,155,75,0.18), rgba(200,155,75,0.06));
  color: var(--clr-gold-light);
  border-color: rgba(200,155,75,0.55);
  box-shadow: 0 0 18px rgba(200,155,75,0.12);
}

/* ── Kaardiruum ─────────────────────────────────────────── */
.ts-arc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 10;
}

@media (max-width: 900px) {
  .ts-arc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .ts-arc-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Kaart ──────────────────────────────────────────────── */
.ts-arc-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200,155,75,0.12);
  background: linear-gradient(160deg, rgba(91,63,160,0.12) 0%, rgba(6,4,15,0.85) 100%);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ts-arc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% -20%, rgba(200,155,75,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.ts-arc-card:hover {
  border-color: rgba(200,155,75,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(200,155,75,0.1);
}

.ts-arc-card:hover::before { opacity: 1; }

.ts-arc-card.is-today {
  border-color: rgba(200,155,75,0.45);
  background: linear-gradient(160deg, rgba(91,63,160,0.2) 0%, rgba(200,155,75,0.06) 100%);
  box-shadow: 0 0 40px rgba(200,155,75,0.12), inset 0 1px 0 rgba(200,155,75,0.2);
}

.ts-arc-card__inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem 1.5rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Täna badge */
.ts-arc-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-bg);
  background: var(--grad-gold);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-weight: 700;
}

/* Päeva nimi */
.ts-arc-card__dayname {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,155,75,0.5);
}

/* Suur kuupäev */
.ts-arc-card__date {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.ts-arc-card__day {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

.ts-arc-card__month {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--clr-text-muted);
  text-transform: lowercase;
}

/* Sodiaagisümbolid */
.ts-arc-card__symbols {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: rgba(200,155,75,0.3);
  transition: var(--transition);
  line-height: 1;
}

.ts-arc-card:hover .ts-arc-card__symbols {
  color: rgba(200,155,75,0.6);
}

/* Preview tekst */
.ts-arc-card__preview {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA */
.ts-arc-card__cta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  opacity: 0.6;
  transition: var(--transition);
  margin-top: auto;
}

.ts-arc-card:hover .ts-arc-card__cta {
  opacity: 1;
  letter-spacing: 0.28em;
}

/* ── Tühi olek ──────────────────────────────────────────── */
.ts-arc-empty {
  text-align: center;
  color: var(--clr-text-muted);
  font-style: italic;
  padding: 3rem;
  z-index: 10;
  position: relative;
}

/* ── Pagination ─────────────────────────────────────────── */
.ts-arc-pagination,
.ts-horo-main .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem 2rem;
  position: relative;
  z-index: 10;
}

.ts-horo-main .nav-links a,
.ts-horo-main .nav-links span {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(200,155,75,0.25);
  border-radius: 50px;
  color: var(--clr-gold);
  transition: var(--transition);
}

.ts-horo-main .nav-links a:hover {
  background: rgba(200,155,75,0.1);
  border-color: rgba(200,155,75,0.5);
  text-decoration: none;
}

.ts-horo-main .nav-links a:hover::after {
  display: none;
}

/* ── Tagasi link single vaates ──────────────────────────── */
.ts-horo-back {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,155,75,0.55);
  margin-top: 1rem;
  transition: var(--transition);
}

.ts-horo-back:hover { color: var(--clr-gold); }

/* ── Single nav (eelmine/järgmine päev) ─────────────────── */
.ts-horo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(200,155,75,0.1);
  position: relative;
  z-index: 10;
}

.ts-horo-nav__link {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: var(--transition);
}

/* ── reCAPTCHA + CookieYes ───────────────────────────────────────────────── */

/* Põhilehel: näita reCAPTCHA badge alati (mitte ainult aktiivse tegevuse ajal) */
body:not(.ts-qc-body-open) .grecaptcha-badge {
  right: 14px !important;
  box-shadow: rgba(0,0,0,0.3) 0px 0px 6px !important;
}

/* Checkout modal lahti: peida CookieYes ja reCAPTCHA modali kohal roomamise vältimiseks */
body.ts-qc-body-open .cky-consent-container,
body.ts-qc-body-open .cky-revisit-btn,
body.ts-qc-body-open .grecaptcha-badge {
  display: none !important;
}

.ts-horo-nav__link:hover { color: var(--clr-gold); }
.ts-horo-nav__link--next { margin-left: auto; }
