/* ==========================================================
   RK Astro Solutions - Main Stylesheet
   ========================================================== */

:root {
  --bg-dark: #0b0820;
  --bg-deep: #120c33;
  --bg-card: rgba(255, 255, 255, 0.05);
  --border-soft: rgba(255, 255, 255, 0.1);
  --gold: #f5c76b;
  --gold-dark: #d9a441;
  --purple: #7b5cff;
  --pink: #ff6ec7;
  --text: #e8e4ff;
  --text-muted: #a9a3cc;
  --gradient-gold: linear-gradient(135deg, #f5c76b 0%, #ffdf9e 50%, #d9a441 100%);
  --gradient-cosmic: linear-gradient(135deg, #7b5cff 0%, #ff6ec7 100%);
  --radius: 18px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

p { color: var(--text-muted); }

::selection { background: var(--gold); color: var(--bg-dark); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--purple), var(--pink)); border-radius: 10px; }

.text-gold { color: var(--gold) !important; }
.text-muted-soft { color: var(--text-muted) !important; }

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-deep); }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid rgba(245, 199, 107, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1rem;
  background: rgba(245, 199, 107, 0.06);
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.section-subtitle { max-width: 640px; margin: 0 auto 3rem; }

/* ---------------- Preloader ---------------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-orbit {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(245, 199, 107, 0.2);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite;
  position: relative;
}
.loader-orbit::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 2px solid rgba(123, 92, 255, 0.2);
  border-bottom-color: var(--purple);
  animation: spin 1.5s linear infinite reverse;
}

/* ---------------- Star background ---------------- */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ---------------- Navbar ---------------- */
.navbar {
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(11, 8, 32, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.navbar-brand {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand .brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
  font-size: 1.3rem;
  animation: spin 18s linear infinite;
}
.navbar .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  padding: 8px 4px !important;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition);
  transform: translateX(-50%);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { width: 100%; }
.navbar .nav-link.active,
.navbar .nav-link:hover { color: var(--gold) !important; }
.navbar-toggler { border: 1px solid var(--border-soft); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(245, 199, 107, 0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28245,199,107,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(18, 12, 51, 0.97);
    margin-top: 15px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
  }
  .navbar .nav-link { margin: 4px 0; }
}

/* ---------------- Buttons ---------------- */
.btn-gold {
  background: var(--gradient-gold);
  color: var(--bg-dark);
  font-weight: 600;
  border: none;
  padding: 13px 32px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(245, 199, 107, 0.3);
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover {
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(245, 199, 107, 0.45);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  padding: 11px 30px;
  border-radius: 50px;
  background: transparent;
  transition: var(--transition);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.35) 0%, transparent 70%);
  top: -150px;
  left: -200px;
  filter: blur(40px);
  animation: floatBlob 12s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 110, 199, 0.25) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  filter: blur(40px);
  animation: floatBlob 14s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.2; margin-bottom: 1.5rem; }
.hero .lead { font-size: 1.15rem; margin-bottom: 2rem; max-width: 560px; }

.typed-text { color: var(--gold); border-right: 3px solid var(--gold); padding-right: 4px; animation: blink 0.8s step-end infinite; }

.hero-stats { display: flex; gap: 40px; margin-top: 3rem; flex-wrap: wrap; }
.hero-stats .stat h3 { font-size: 2rem; margin: 0; }
.hero-stats .stat span { color: var(--text-muted); font-size: 0.9rem; }

.hero-features { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.5rem; }
.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-feature i { color: var(--gold); font-size: 1.1rem; }

/* Astrologer profile */
.astrologer-card { display: flex; gap: 40px; align-items: center; }
.astrologer-card .team-avatar { width: 170px; height: 170px; font-size: 4rem; flex-shrink: 0; margin: 0; }
.astrologer-card .role { color: var(--gold); font-weight: 500; }
@media (max-width: 767.98px) {
  .astrologer-card { flex-direction: column; text-align: center; gap: 25px; }
}

/* Zodiac wheel */
.zodiac-wheel-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.zodiac-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(245, 199, 107, 0.35);
  animation: spin 60s linear infinite;
  box-shadow: 0 0 80px rgba(123, 92, 255, 0.35), inset 0 0 60px rgba(245, 199, 107, 0.1);
}
.zodiac-wheel::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(245, 199, 107, 0.35);
}
.zodiac-wheel .sign {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  background: rgba(18, 12, 51, 0.85);
  border: 1px solid rgba(245, 199, 107, 0.4);
  border-radius: 50%;
}
.zodiac-center {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe6a8, #f5c76b 40%, #b37a1f 100%);
  box-shadow: 0 0 60px rgba(245, 199, 107, 0.7), 0 0 120px rgba(245, 199, 107, 0.35);
  animation: pulseGlow 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 7vw, 4rem);
  color: var(--bg-dark);
}
.orbit-planet {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: spin 20s linear infinite reverse;
}
.orbit-planet::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-cosmic);
  box-shadow: 0 0 20px var(--pink);
}

/* ---------------- Page header (inner pages) ---------------- */
.page-header {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at top, rgba(123, 92, 255, 0.35), transparent 65%);
}
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.breadcrumb { justify-content: center; background: transparent; margin: 0; }
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ---------------- Cards ---------------- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 35px 28px;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(123, 92, 255, 0.2);
}
.glass-card:hover::before { opacity: 1; }
.glass-card.static-card:hover { transform: none; box-shadow: none; }
.glass-card.static-card:hover::before { opacity: 0; }

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.25), rgba(255, 110, 199, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.glass-card:hover .icon-box {
  background: var(--gradient-gold);
  color: var(--bg-dark);
  transform: rotateY(360deg);
}
.glass-card h3, .glass-card h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }

.card-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card-link i { transition: var(--transition); }
.card-link:hover i { transform: translateX(5px); }

/* Zodiac selector cards */
.zodiac-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  width: 100%;
  color: var(--text);
}
.zodiac-card .symbol {
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  transition: var(--transition);
}
.zodiac-card .name { font-family: "Cinzel", serif; font-weight: 600; display: block; margin-top: 6px; }
.zodiac-card .dates { font-size: 0.75rem; color: var(--text-muted); }
.zodiac-card:hover,
.zodiac-card.active {
  border-color: var(--gold);
  background: rgba(245, 199, 107, 0.08);
  transform: translateY(-6px);
}
.zodiac-card:hover .symbol,
.zodiac-card.active .symbol { transform: scale(1.2) rotate(10deg); }

.horoscope-result {
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.15), rgba(255, 110, 199, 0.08));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 35px;
  margin-top: 40px;
  display: none;
}
.horoscope-result.show { display: block; animation: fadeUp 0.6s ease both; }
.horoscope-meter { height: 8px; background: rgba(255, 255, 255, 0.08); border-radius: 10px; overflow: hidden; }
.horoscope-meter span { display: block; height: 100%; background: var(--gradient-gold); border-radius: 10px; width: 0; transition: width 1.2s ease; }

/* ---------------- About / Image placeholders ---------------- */
.about-visual {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 199, 107, 0.45), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(255, 110, 199, 0.35), transparent 45%),
    linear-gradient(160deg, #2a1d6e, #120c33);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.about-visual i { font-size: 8rem; color: var(--gold); opacity: 0.9; animation: float 5s ease-in-out infinite; }
.about-visual .experience-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}
.experience-badge strong { font-family: "Cinzel", serif; font-size: 2rem; display: block; line-height: 1; }
.experience-badge span { font-size: 0.85rem; font-weight: 600; }

.check-list { list-style: none; padding: 0; }
.check-list li { padding: 8px 0; display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.check-list li i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

/* ---------------- Counters ---------------- */
.counter-box { text-align: center; padding: 30px 15px; }
.counter-box .counter { font-family: "Cinzel", serif; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; }
.counter-box p { margin: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }

/* ---------------- Team ---------------- */
.team-card { text-align: center; }
.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.3rem;
  background: var(--gradient-cosmic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  position: relative;
}
.team-avatar::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(245, 199, 107, 0.5);
  animation: spin 15s linear infinite;
}
.team-card .role { color: var(--gold); font-size: 0.9rem; font-weight: 500; }
.social-links { display: flex; gap: 10px; justify-content: center; margin-top: 1rem; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  color: var(--text);
}
.social-links a:hover { background: var(--gold); color: var(--bg-dark); border-color: var(--gold); transform: translateY(-3px); }

/* ---------------- Timeline ---------------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold), var(--purple), var(--pink));
}
.timeline-item { position: relative; margin-bottom: 35px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--gold);
  box-shadow: 0 0 15px rgba(245, 199, 107, 0.6);
}
.timeline-item .year { color: var(--gold); font-weight: 600; font-size: 0.9rem; letter-spacing: 1px; }
.timeline-item h4 { font-size: 1.2rem; margin: 4px 0 6px; }

/* ---------------- Process steps ---------------- */
.step-card { text-align: center; position: relative; }
.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(245, 199, 107, 0.1);
  transition: var(--transition);
}
.step-card:hover .step-number { box-shadow: 0 0 0 16px rgba(245, 199, 107, 0.12); transform: scale(1.05); }

/* ---------------- Pricing ---------------- */
.price-card { text-align: center; }
.price-card .price { font-family: "Cinzel", serif; font-size: 2.8rem; font-weight: 700; color: #fff; }
.price-card .price small { font-size: 1rem; color: var(--text-muted); font-family: "Poppins", sans-serif; }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--border-soft); color: var(--text); }
.price-card.featured { border-color: var(--gold); background: rgba(245, 199, 107, 0.06); transform: scale(1.04); }
.price-card.featured:hover { transform: scale(1.04) translateY(-10px); }
.popular-badge {
  position: absolute;
  top: 18px;
  right: -35px;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

/* ---------------- Testimonials ---------------- */
.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 30px;
}
.testimonial-card .quote-icon { font-size: 3rem; color: var(--gold); opacity: 0.5; }
.testimonial-card p { font-size: 1.15rem; font-style: italic; color: var(--text); }
.testimonial-card .stars { color: var(--gold); margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 1.5rem; }
.testimonial-author .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-cosmic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}
.testimonial-author h5 { margin: 0; font-size: 1rem; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background-color: var(--gold); }
.carousel-indicators { position: relative; margin-top: 20px; }

/* ---------------- FAQ (Accordion) ---------------- */
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft) !important;
  border-radius: 14px !important;
  margin-bottom: 15px;
  overflow: hidden;
}
.accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 20px 24px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: rgba(245, 199, 107, 0.08); color: var(--gold); }
.accordion-button::after { filter: invert(80%) sepia(40%) saturate(600%) hue-rotate(350deg); }
.accordion-body { color: var(--text-muted); padding: 0 24px 22px; }

/* ---------------- CTA ---------------- */
.cta-box {
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.4), rgba(255, 110, 199, 0.3));
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "\2726  \2727  \2726";
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.4;
  animation: twinkle 3s ease-in-out infinite;
}
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------------- Contact ---------------- */
.contact-info-card { display: flex; gap: 20px; align-items: flex-start; }
.contact-info-card .icon-box { flex-shrink: 0; width: 60px; height: 60px; font-size: 1.5rem; margin: 0; }
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-info-card p { margin: 0; }

.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  transition: var(--transition);
}
.form-control::placeholder { color: rgba(169, 163, 204, 0.7); }
.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(245, 199, 107, 0.15);
}
.form-select option { background: var(--bg-deep); color: #fff; }
.form-label { color: var(--text); font-weight: 500; font-size: 0.9rem; }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; animation: fadeUp 0.6s ease both; }
.form-success i { font-size: 4rem; color: var(--gold); }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(200deg) saturate(0.8); }

/* ---------------- Gallery ---------------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 45px; }
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--gradient-gold);
  color: var(--bg-dark);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(245, 199, 107, 0.3);
}

.gallery-grid { column-count: 3; column-gap: 24px; }
.gallery-cell { break-inside: avoid; margin-bottom: 24px; }
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(11, 8, 32, 0.95) 0%, rgba(11, 8, 32, 0.4) 45%, transparent 75%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-overlay .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transform: scale(0.4);
  transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.gallery-overlay .gallery-title {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}
.gallery-overlay .gallery-sub { display: block; font-size: 0.82rem; color: var(--gold); transform: translateY(15px); transition: transform 0.45s ease; }
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(245, 199, 107, 0.15);
  outline: none;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.gallery-item:hover .zoom-icon,
.gallery-item:focus-visible .zoom-icon { transform: scale(1); }
.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-sub,
.gallery-item:focus-visible .gallery-title,
.gallery-item:focus-visible .gallery-sub { transform: translateY(0); }
.gallery-cell.is-hidden { display: none; }
.gallery-cell.is-showing { animation: galleryIn 0.5s ease both; }

@keyframes galleryIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 991.98px) { .gallery-grid { column-count: 2; } }
@media (max-width: 575.98px) {
  .gallery-grid { column-count: 1; }
  .gallery-item .gallery-overlay { opacity: 1; }
  .gallery-overlay .zoom-icon { display: none; }
  .gallery-overlay .gallery-title, .gallery-overlay .gallery-sub { transform: none; }
}

/* Award highlight cards */
.award-card { text-align: center; }
.award-card .award-year {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--bg-dark);
  background: var(--gradient-gold);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.award-card .award-meta { font-size: 0.9rem; margin-bottom: 0.3rem; }
.award-card .award-meta i { color: var(--gold); margin-right: 6px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 3, 18, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.lightbox.open .lightbox-figure img.loaded { transform: scale(1); opacity: 1; }
.lightbox-figure figcaption { text-align: center; margin-top: 18px; }
.lightbox-figure figcaption h3 { font-size: 1.15rem; margin: 0 0 4px; }
.lightbox-figure figcaption p { margin: 0; color: var(--gold); font-size: 0.9rem; }
.lightbox-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-btn:hover { background: var(--gold); color: var(--bg-dark); border-color: var(--gold); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 32px; left: 30px; color: var(--text-muted); font-size: 0.9rem; letter-spacing: 1px; }
body.lightbox-active { overflow: hidden; }

@media (max-width: 767.98px) {
  .lightbox { padding: 70px 15px 90px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; transform: none; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
}

/* ---------------- Footer ---------------- */
.footer {
  background: #07051a;
  padding: 80px 0 0;
  border-top: 1px solid var(--border-soft);
  position: relative;
}
.footer h3 { font-size: 1.1rem; margin-bottom: 1.4rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.footer .social-links { justify-content: flex-start; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.9rem; }
/* ---------------- Back to top ---------------- */
#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  border: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 10px 25px rgba(245, 199, 107, 0.35);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-5px); }

/* ---------------- Scroll reveal animations ---------------- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
[data-animate="fade-up"] { transform: translateY(50px); }
[data-animate="fade-down"] { transform: translateY(-50px); }
[data-animate="fade-left"] { transform: translateX(60px); }
[data-animate="fade-right"] { transform: translateX(-60px); }
[data-animate="zoom-in"] { transform: scale(0.85); }
[data-animate="flip"] { transform: perspective(800px) rotateY(25deg); }
[data-animate].in-view { opacity: 1; transform: none; }

/* ---------------- Keyframes ---------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(245, 199, 107, 0.6), 0 0 120px rgba(245, 199, 107, 0.3); }
  50% { box-shadow: 0 0 90px rgba(245, 199, 107, 0.85), 0 0 160px rgba(245, 199, 107, 0.45); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.8; }
}
@keyframes blink { 50% { border-color: transparent; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .hero { text-align: center; padding-top: 130px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-stats,
  .hero-features { justify-content: center; }
  .zodiac-wheel-wrap { max-width: 380px; margin-top: 60px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-10px); }
}
@media (max-width: 575.98px) {
  .section { padding: 65px 0; }
  .navbar-brand { font-size: 1.1rem; gap: 8px; }
  .navbar-brand .brand-icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .hero-features { justify-content: center; }
  .hero-stats { gap: 25px; }
  .zodiac-wheel .sign { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 1.1rem; }
  .cta-box { padding: 50px 22px; }
  .page-header { padding: 150px 0 70px; }
  .horoscope-result { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-animate] { opacity: 1; transform: none; }
}
