:root {
  --midnight: #0a0612;
  --deep-violet: #1a0a2e;
  --royal-purple: #2d1155;
  --mystic: #6b21a8;
  --gold: #d4a843;
  --gold-light: #f0c96a;
  --gold-pale: #fef3c7;
  --starwhite: #f5f0ff;
  --rose: #c084fc;
  --teal: #2dd4bf;
  --font-display: 'Cinzel Decorative', serif;
  --font-body: 'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--starwhite);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

#stars-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107,33,168,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(45,212,191,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(212,168,67,0.1) 0%, transparent 60%);
  z-index: -1;
}

/* ─── ZODIAC CIRCLE IMAGE ─── */
.zodiac-hero-img {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 32px;
  animation: slowSpin 60s linear infinite, subtleGlow 4s ease-in-out infinite alternate;
  box-shadow: 0 0 40px rgba(107,33,168,0.5), 0 0 80px rgba(212,168,67,0.15);
  border: 2px solid rgba(212,168,67,0.3);
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes subtleGlow {
  from { box-shadow: 0 0 40px rgba(107,33,168,0.5), 0 0 80px rgba(212,168,67,0.15); }
  to   { box-shadow: 0 0 60px rgba(107,33,168,0.7), 0 0 120px rgba(212,168,67,0.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
  animation: fadeUp 1s ease both;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--rose);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 1s 0.2s ease both;
}

.divider-stars {
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.6em;
  margin-bottom: 24px;
  animation: fadeUp 1s 0.4s ease both;
}

.hero-desc {
  max-width: 560px;
  font-size: 1.15rem;
  color: rgba(245,240,255,0.75);
  animation: fadeUp 1s 0.6s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── ZODIAC STRIP ─── */
.zodiac-strip {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 24px 48px;
  animation: fadeUp 1s 0.8s ease both;
}

.zodiac-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  cursor: default;
}
.zodiac-sign:hover { opacity: 1; transform: translateY(-4px) scale(1.15); }

.zodiac-glyph { font-size: 1.6rem; filter: drop-shadow(0 0 6px var(--gold)); }
.zodiac-name { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-pale); }

/* ─── SECTION BASE ─── */
section { position: relative; z-index: 1; padding: 80px 24px; }

.section-inner { max-width: 1000px; margin: 0 auto; }

.section-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--gold-light), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.section-text {
  font-size: 1.1rem;
  color: rgba(245,240,255,0.72);
  max-width: 620px;
  margin-bottom: 40px;
}

/* ─── SOCIAL LINKS ─── */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: 14px;
  background: rgba(45,17,85,0.45);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: var(--starwhite);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.social-card:hover {
  border-color: var(--gold);
  background: rgba(107,33,168,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,168,67,0.2);
}

.social-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.social-icon.yt  { background: linear-gradient(135deg, #ff0000, #cc0000); }
.social-icon.ig  { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-icon.tt  { background: linear-gradient(135deg, #010101, #69c9d0); }
.social-icon.fb  { background: linear-gradient(135deg, #1877f2, #0d5bba); }

.social-label { font-weight: 600; font-size: 0.95rem; }
.social-handle { font-size: 0.78rem; color: var(--gold-pale); opacity: 0.7; }

/* ─── READING SECTION ─── */
.reading-section {
  background: radial-gradient(ellipse 100% 80% at 50% 50%, rgba(45,17,85,0.6) 0%, transparent 80%);
}

.reading-card {
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: 20px;
  padding: 48px;
  background: rgba(10,6,18,0.7);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.reading-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212,168,67,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tarot-cards-visual {
  display: flex;
  justify-content: center;
  gap: -10px;
  margin-bottom: 32px;
}

.mini-card {
  width: 54px; height: 88px;
  border: 1px solid rgba(212,168,67,0.5);
  border-radius: 6px;
  background: linear-gradient(160deg, var(--royal-purple), var(--midnight));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: transform 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.mini-card:nth-child(1) { transform: rotate(-12deg) translateY(8px); }
.mini-card:nth-child(2) { transform: rotate(0deg) translateY(0px); z-index: 2; }
.mini-card:nth-child(3) { transform: rotate(12deg) translateY(8px); }
.tarot-cards-visual:hover .mini-card:nth-child(1) { transform: rotate(-18deg) translateX(-10px) translateY(4px); }
.tarot-cards-visual:hover .mini-card:nth-child(3) { transform: rotate(18deg) translateX(10px) translateY(4px); }

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(212,168,67,0.2), rgba(192,132,252,0.2));
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 10px 28px;
  margin: 20px 0 28px;
  font-size: 1.05rem;
  font-weight: 600;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
  font-weight: 700;
}

.price-detail { color: rgba(245,240,255,0.65); font-style: italic; font-size: 0.95rem; }

.reading-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,17,85,0.6);
  border: 1px solid rgba(192,132,252,0.3);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--rose);
}

.btn-book {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #b7810a);
  color: var(--midnight);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 18px 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  box-shadow: 0 8px 32px rgba(212,168,67,0.45);
}

.btn-book:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(212,168,67,0.6);
  filter: brightness(1.08);
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,6,18,0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: linear-gradient(160deg, var(--deep-violet), var(--midnight));
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: 20px;
  padding: 48px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal-overlay.open .modal { transform: scale(1); }
.modal-icon { font-size: 2rem; margin-bottom: 12px; }

.modal h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-light); margin-bottom: 12px; }
.modal p { color: rgba(245,240,255,0.72); margin-bottom: 20px; font-size: 1rem; }

.modal input, .modal textarea, .modal select {
  width: 100%;
  background: rgba(45,17,85,0.5);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--starwhite);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.modal input:focus, .modal textarea:focus { border-color: var(--gold); }
.modal textarea { height: 90px; resize: none; }

.booking-error {
  display: none;
  color: #ffb3b3;
  background: rgba(255, 45, 85, 0.08);
  border: 1px solid rgba(255, 45, 85, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  line-height: 1.3;
}

.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  color: rgba(245,240,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--gold); }

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--mystic), var(--royal-purple));
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: box-shadow 0.3s, filter 0.3s;
  margin-top: 4px;
}
.btn-submit:hover { box-shadow: 0 8px 32px rgba(107,33,168,0.5); filter: brightness(1.1); }
.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  filter: grayscale(0.15);
}

.modal-price-badge {
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.modal-price-amount {
  font-size: 1.3rem;
}

/* ─── SUCCESS POPUP ─── */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 6, 18, 0.9);
  backdrop-filter: blur(10px);
}

.success-overlay.open {
  display: flex;
}

.success-box {
  width: min(520px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 67, 0.45);
  background: linear-gradient(160deg, rgba(26, 10, 46, 0.95), rgba(10, 6, 18, 0.98));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(107, 33, 168, 0.25);
  text-align: center;
  padding: 38px 30px 30px;
}

.success-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(212, 168, 67, 0.45);
  margin-bottom: 10px;
}

.success-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--gold-light);
  margin-bottom: 12px;
}

.success-box p {
  color: rgba(245, 240, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.success-close {
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mystic), var(--royal-purple));
  color: var(--gold-light);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 12px 30px;
  cursor: pointer;
  transition: filter 0.25s, box-shadow 0.25s, transform 0.25s;
}

.success-close:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(107, 33, 168, 0.45);
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--royal-purple), var(--midnight));
  border: 1px solid rgba(212,168,67,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.about-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 30%, rgba(107,33,168,0.4), transparent);
}

.portrait-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(212,168,67,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.service-card {
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 16px;
  padding: 32px 24px;
  background: rgba(26,10,46,0.5);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(212,168,67,0.6);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(107,33,168,0.25);
}

.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-title { font-family: var(--font-display); font-size: 1rem; color: var(--gold-light); margin-bottom: 10px; }
.service-desc { font-size: 0.9rem; color: rgba(245,240,255,0.6); line-height: 1.6; }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  border: 1px solid rgba(192,132,252,0.2);
  border-radius: 14px;
  padding: 28px;
  background: rgba(45,17,85,0.25);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245,240,255,0.75);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: -10px; left: 20px;
  line-height: 1;
}

.testimonial-author { margin-top: 16px; font-style: normal; font-size: 0.85rem; color: var(--rose); letter-spacing: 0.08em; }

.sep { text-align: center; color: var(--gold); opacity: 0.35; font-size: 1rem; letter-spacing: 0.8em; padding: 8px 0; }

footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 48px 24px 36px;
  border-top: 1px solid rgba(212,168,67,0.15);
}

.footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); margin-bottom: 12px; }
.footer-text { font-size: 0.85rem; color: rgba(245,240,255,0.35); }

.particle {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── TAROT CARD 3D FLIP ─── */
.tarot-draw-container {
  perspective: 1000px;
  width: 180px;
  height: 280px;
  margin: 30px auto 10px;
  cursor: pointer;
}

.tarot-card {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.tarot-card.flipped {
  transform: rotateY(180deg);
  pointer-events: none;
}

.tarot-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.tarot-card-front, .tarot-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.tarot-card-front {
  background: linear-gradient(135deg, var(--deep-violet), var(--midnight));
}

.tarot-card-back {
  background: linear-gradient(135deg, var(--royal-purple), var(--mystic));
  transform: rotateY(180deg);
  padding: 15px;
}

@media (max-width: 900px) {
  section {
    padding: 64px 18px;
  }

  .hero {
    min-height: auto;
    padding: 96px 18px 58px;
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .reading-card {
    padding: 30px 20px;
  }

  .reading-features {
    gap: 12px;
    margin-bottom: 26px;
  }

  .feature-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .btn-book {
    width: 100%;
    padding: 16px 18px;
    font-size: 0.8rem;
  }

  .social-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-card,
  .service-card,
  .testimonial {
    padding: 20px 16px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
    line-height: 1.6;
  }

  .zodiac-strip {
    gap: 12px;
    padding: 8px 10px 34px;
  }

  .hero {
    padding-top: 132px;
  }

  .zodiac-glyph {
    font-size: 1.35rem;
  }

  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 26px 16px 20px;
    text-align: left;
  }

  .modal h2 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }

  .modal p {
    font-size: 0.96rem;
    margin-bottom: 14px;
  }

  .modal input,
  .modal select,
  .modal textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .modal textarea {
    min-height: 110px;
  }

  .modal-close {
    top: 10px;
    right: 12px;
    font-size: 1.35rem;
    padding: 8px;
  }

  .btn-submit {
    min-height: 50px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    margin-top: 8px;
  }

  .success-box {
    padding: 26px 18px 20px;
  }

  .success-box p {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }

  .success-close {
    width: 100%;
    min-height: 46px;
  }
}
