:root {
  --zodiac-ink: #15131f;
  --zodiac-muted: #6f6878;
  --zodiac-soft: #fff8e9;
  --zodiac-cream: #fff2d7;
  --zodiac-peach: #ffe4d4;
  --zodiac-rose: #ffeaf3;
  --zodiac-lavender: #f3edff;
  --zodiac-sky: #edf8ff;
  --zodiac-orange: #ff9708;
  --zodiac-orange-dark: #de7600;
  --zodiac-border: rgba(21, 19, 31, 0.1);
  --zodiac-shadow: 0 18px 45px rgba(41, 32, 18, 0.11);
}

#loaderOtpLogin,
#loaderVerifyLogin {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body.english.country-in,
body.Is-Offer {
  background:
    radial-gradient(circle at top left, rgba(255, 151, 8, 0.12), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #fff7e7 42%, #fff 100%) !important;
  color: var(--zodiac-ink);
  font-family: Gilroy, Inter, "Segoe UI", Arial, sans-serif;
}

.zodiac-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.zodiac-auth-page .login-offer {
  width: 100%;
  margin-top: 0 !important;
}

.zodiac-auth-page .login-offer .container {
  max-width: 1080px;
}

.zodiac-auth-page .login-offer-bg {
  border-radius: 28px 28px 0 0 !important;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.34), transparent 12rem),
    linear-gradient(135deg, #1a1520 0%, #342238 52%, #ff9708 150%) !important;
}

.zodiac-auth-page .login-offer-bg p {
  padding: 1.4rem 1.2rem !important;
  font-size: 1.35rem !important;
  letter-spacing: 0 !important;
}

.zodiac-auth-page .login-offer-bg img {
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.zodiac-auth-page .bg-white.p-4.shadow-sm {
  border: 1px solid rgba(21, 19, 31, 0.08) !important;
  border-radius: 0 0 28px 28px !important;
  box-shadow: 0 28px 70px rgba(21, 19, 31, 0.16) !important;
}

.wrapper {
  overflow-x: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1045;
  background: rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(255, 151, 8, 0.16);
  box-shadow: 0 12px 36px rgba(34, 25, 9, 0.08);
  backdrop-filter: blur(18px);
}

.header .navbar {
  background: transparent !important;
  border: 0 !important;
  padding: 0.55rem 0;
}

.header .top-navbar {
  border-bottom: 1px solid rgba(21, 19, 31, 0.07) !important;
}

.header .navbar:nth-of-type(2) {
  padding: 0.35rem 0 0.5rem;
}

.header .container {
  max-width: 1180px;
}

.navbar-toggler {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 19, 31, 0.12) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(21, 19, 31, 0.08);
}

.header a.text-decoration-none > .d-flex {
  gap: 0.2rem;
}

.header a.text-decoration-none img[alt] {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  border-radius: 50%;
  padding: 5px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(255, 151, 8, 0.16);
}

.astroway-logo-ntext {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.astroway-logo-text {
  color: var(--zodiac-ink) !important;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.astroway-logo-subtext {
  margin-top: 0.18rem;
  color: var(--zodiac-muted) !important;
  font-size: 0.76rem !important;
  font-weight: 700;
  max-width: 255px;
  white-space: nowrap;
}

.btn-chat-astro,
.btn-chat {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  border: 1px solid rgba(255, 151, 8, 0.25) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--zodiac-ink) !important;
  box-shadow: 0 12px 30px rgba(255, 151, 8, 0.12);
  font-weight: 900 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-chat-astro:hover,
.btn-chat:hover {
  transform: translateY(-1px);
  background: var(--zodiac-orange) !important;
  border-color: var(--zodiac-orange) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(255, 151, 8, 0.28);
}

.btn-chat-astro img,
.btn-chat img {
  width: 18px;
  height: 18px;
}

.loginSignUp {
  margin-left: 0.35rem;
  color: var(--zodiac-ink);
  font-weight: 900;
}

.header .fa-bell,
.header .fa-wallet,
.header .fa-user,
.header .fa-solid {
  color: var(--zodiac-ink);
}

.header .dropdown-toggle img,
.header .psychic-img {
  border-radius: 50% !important;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(21, 19, 31, 0.14);
  object-fit: cover;
}

.header .navbar-nav {
  gap: 0.35rem;
  align-items: center;
}

.header .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  padding: 0.48rem 0.88rem !important;
  border-radius: 999px;
  color: rgba(21, 19, 31, 0.82) !important;
  font-size: 0.94rem;
  font-weight: 900 !important;
  letter-spacing: 0;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.header .navbar-nav .nav-link img {
  width: 19px !important;
  height: 19px !important;
  object-fit: contain;
}

.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-item.show > .nav-link {
  color: var(--zodiac-ink) !important;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(21, 19, 31, 0.08);
}

.header .dropdown-menu,
.user-options.dropdown-menu {
  border: 1px solid rgba(21, 19, 31, 0.08) !important;
  border-radius: 18px !important;
  padding: 0.65rem !important;
  box-shadow: 0 22px 55px rgba(21, 19, 31, 0.17) !important;
}

.header .dropdown-item {
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  color: var(--zodiac-ink) !important;
  font-weight: 800;
}

.header .dropdown-item:hover {
  background: var(--zodiac-soft);
  color: var(--zodiac-orange-dark) !important;
}

.gWalletbalance {
  background: rgba(255, 151, 8, 0.13) !important;
  color: var(--zodiac-orange-dark) !important;
  font-weight: 900;
}

.badge-counter,
.badge-danger {
  background: var(--zodiac-orange) !important;
  color: #fff !important;
}

.modal-content {
  border-radius: 24px !important;
  border: 1px solid rgba(21, 19, 31, 0.09) !important;
  box-shadow: 0 28px 70px rgba(21, 19, 31, 0.22) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(21, 19, 31, 0.08) !important;
}

.form-control,
.select2-container .select2-selection--single {
  min-height: 44px;
  border-radius: 14px !important;
  border-color: rgba(21, 19, 31, 0.15) !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--zodiac-orange) !important;
  box-shadow: 0 0 0 0.18rem rgba(255, 151, 8, 0.15) !important;
}

.banner {
  border-radius: 0 0 42px 42px;
  overflow: hidden;
  background: var(--zodiac-soft);
}

.banner__content,
.container.my-5.mt-5,
.astroway-live-astrologers,
.as_padderTop80,
.astroway-astrologers,
section.py-5,
.backimage,
.container.pt-5.pb-5 {
  position: relative;
}

.container.my-5.mt-5 {
  margin-top: 2.2rem !important;
  margin-bottom: 2.2rem !important;
}

.kundli-card,
.panchang-card,
.psychic-card,
.video-card,
.vedic-card,
.product-card,
.card,
.story,
.time-card {
  border: 1px solid rgba(21, 19, 31, 0.08) !important;
  border-radius: 22px !important;
  box-shadow: var(--zodiac-shadow) !important;
  overflow: hidden;
}

.kundli-card,
.time-card,
.product-card,
.psychic-card,
.card {
  background: rgba(255, 255, 255, 0.9) !important;
}

.panchang-card {
  background: linear-gradient(135deg, #1e93c9 0%, #9d55e4 100%) !important;
}

.vedic-card:nth-child(odd),
.vedic-card {
  background: linear-gradient(145deg, var(--zodiac-rose), #fff6df) !important;
}

.vedic-card:nth-child(even) {
  background: linear-gradient(145deg, var(--zodiac-sky), var(--zodiac-lavender)) !important;
}

.bg-astrologer-pink-light,
section.bg-white,
.as_padderTop80,
.backimage {
  background: transparent !important;
}

.astroway-astrologers,
section#calculator,
.container.pt-5.pb-5,
section.py-5.bg-white,
.backimage {
  margin-top: 2.1rem;
  margin-bottom: 2.1rem;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  border-top: 1px solid rgba(21, 19, 31, 0.06);
  border-bottom: 1px solid rgba(21, 19, 31, 0.06);
}

.astroway-astrologers {
  background: linear-gradient(135deg, #fff1f7, #fff8e9) !important;
}

section#calculator {
  background:
    linear-gradient(135deg, rgba(237, 248, 255, 0.94), rgba(243, 237, 255, 0.94)),
    var(--zodiac-sky) !important;
}

.zodiac-video-section {
  margin: 2.6rem 0;
  padding: 4rem 0 4.4rem !important;
  background: linear-gradient(135deg, #edf8ff 0%, #f5efff 100%) !important;
  border-top: 1px solid rgba(21, 19, 31, 0.06);
  border-bottom: 1px solid rgba(21, 19, 31, 0.06);
  overflow: hidden;
}

.zodiac-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.zodiac-section-head h2 {
  margin: 0;
  color: var(--zodiac-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
}

.zodiac-section-head span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(21, 19, 31, 0.58);
  font-weight: 800;
}

.zodiac-video-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 470px);
  gap: 1.35rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0.35rem max(1.2rem, calc((100vw - 1180px) / 2)) 0.9rem;
}

.zodiac-video-track::-webkit-scrollbar,
.zodiac-blog-grid::-webkit-scrollbar {
  height: 8px;
}

.zodiac-video-track::-webkit-scrollbar-thumb,
.zodiac-blog-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 151, 8, 0.42);
  border-radius: 999px;
}

.zodiac-video-card {
  scroll-snap-align: start;
  min-height: 220px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: stretch;
  text-decoration: none !important;
  color: var(--zodiac-ink) !important;
  border-radius: 30px;
  background: #c8efff;
  box-shadow: 0 20px 46px rgba(21, 19, 31, 0.09);
  overflow: hidden;
}

.zodiac-video-card:nth-child(2n) {
  background: #efd1ff;
}

.zodiac-video-card:nth-child(3n) {
  background: #ffe6c4;
}

.zodiac-video-copy {
  min-width: 0;
  padding: 1.6rem 1rem 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zodiac-video-copy h3 {
  margin: 0;
  color: var(--zodiac-ink);
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 950;
}

.zodiac-video-copy p {
  margin: 0.5rem 0 auto;
  color: rgba(21, 19, 31, 0.58);
  font-weight: 800;
}

.zodiac-video-copy span {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--zodiac-ink);
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(21, 19, 31, 0.1);
}

.zodiac-video-media {
  position: relative;
  min-height: 220px;
}

.zodiac-video-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.zodiac-video-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(200, 239, 255, 0.4), rgba(255, 255, 255, 0));
}

.zodiac-video-media b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #ff1f1f;
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 31, 31, 0.26);
}

.container.pt-5.pb-5 {
  background: linear-gradient(135deg, #fff8e9, #fff1f7);
  border-radius: 34px;
}

.backimage {
  background: linear-gradient(135deg, #f7fbff, #fff8e9) !important;
}

.zodiac-blog-section {
  margin: 2.6rem 0;
  padding: 3.6rem 0 4rem;
  background: linear-gradient(135deg, #fff8e9 0%, #f6fbff 100%);
}

.zodiac-blog-page {
  background: linear-gradient(135deg, #fff8e9 0%, #eef8ff 54%, #fff1f7 100%);
}

.zodiac-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.zodiac-blog-card {
  position: relative;
  min-height: 410px;
  border-radius: 30px;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 22px 52px rgba(21, 19, 31, 0.16);
  background: #1a1520;
}

.zodiac-blog-card img,
.zodiac-blog-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.zodiac-blog-card:hover img,
.zodiac-blog-card:hover video {
  transform: scale(1.05);
}

.zodiac-blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 19, 31, 0.04) 20%, rgba(21, 19, 31, 0.88) 100%),
    linear-gradient(90deg, rgba(255, 151, 8, 0.18), transparent 48%);
}

.zodiac-blog-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.45rem;
  backdrop-filter: blur(7px);
}

.zodiac-blog-overlay h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.16;
  font-weight: 950;
}

.zodiac-blog-overlay p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  line-height: 1.4;
}

.zodiac-blog-overlay div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  color: #ffd166;
  font-weight: 900;
  font-size: 0.92rem;
}

.heading,
.as_heading,
h2.heading,
.text-center.text-black.heading,
.text-center.text-black.py-3.font-28.heading {
  color: var(--zodiac-ink) !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

.heading::after,
.as_heading::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin: 0.75rem auto 0;
  border-radius: 999px;
  background: var(--zodiac-orange);
}

.button-blog,
.view-more,
.vedic-button,
.btn-primary,
.btn-dark,
.btn-call {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--zodiac-orange) !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 32px rgba(255, 151, 8, 0.24);
}

.button-blog:hover,
.view-more:hover,
.vedic-button:hover,
.btn-primary:hover,
.btn-dark:hover,
.btn-call:hover {
  background: var(--zodiac-orange-dark) !important;
  color: #fff !important;
}

.video-thumbnail,
.product-image,
.vedic-image,
.psychic-card img.img-fluid {
  object-fit: cover;
}

.video-card .video-title {
  min-height: 56px;
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--zodiac-ink) !important;
  font-weight: 900;
  padding: 0.7rem;
}

#footer {
  margin-top: 2rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 151, 8, 0.22), transparent 24rem),
    linear-gradient(180deg, #1a1520 0%, #0f0d14 100%) !important;
  border-radius: 38px 38px 0 0;
  overflow: hidden;
}

#footer h5 {
  border-bottom-color: rgba(255, 255, 255, 0.13) !important;
  color: #fff !important;
  font-weight: 900;
  letter-spacing: 0.04em;
}

#footer .footer-link {
  color: rgba(255, 255, 255, 0.68) !important;
  text-decoration: none !important;
  font-weight: 700;
}

#footer .footer-link:hover {
  color: var(--zodiac-orange) !important;
  transform: translateX(3px);
}

.social-icon img {
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}

#sf_chat_button1 img {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 16px 34px rgba(21, 19, 31, 0.24);
}

@media (max-width: 991px) {
  .header {
    position: sticky;
  }

  .astroway-logo-subtext {
    max-width: 180px;
    white-space: normal;
    line-height: 1.15;
  }

  .header .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(21, 19, 31, 0.13);
  }

  .header .navbar-nav {
    align-items: stretch;
  }

  .header .navbar-nav .nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-item.d-lg-none .btn {
    width: 100%;
    margin: 0.35rem 0 !important;
  }
}

@media (max-width: 576px) {
  .header .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .astroway-logo-text {
    font-size: 1.28rem;
  }

  .astroway-logo-subtext {
    display: none;
  }

  .header a.text-decoration-none img[alt] {
    width: 42px !important;
    height: 42px !important;
  }

  .container.pt-5.pb-5,
  .kundli-card,
  .panchang-card,
  .psychic-card,
  .video-card,
  .vedic-card,
  .product-card,
  .card {
    border-radius: 18px !important;
  }

  .zodiac-video-section,
  .zodiac-blog-section {
    padding-top: 2.3rem !important;
    padding-bottom: 2.6rem !important;
  }

  .zodiac-section-head {
    text-align: left;
    padding: 0 1rem;
  }

  .zodiac-video-track {
    grid-auto-columns: minmax(305px, 84vw);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .zodiac-video-card {
    min-height: 190px;
    grid-template-columns: 1.08fr 0.92fr;
    border-radius: 24px;
  }

  .zodiac-video-media {
    min-height: 190px;
  }

  .zodiac-video-copy {
    padding: 1.25rem 0.85rem 1.15rem 1.2rem;
  }

  .zodiac-video-copy h3 {
    font-size: 1.08rem;
  }

  .zodiac-blog-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(285px, 82vw);
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
  }

  .zodiac-blog-card {
    min-height: 360px;
    border-radius: 24px;
    scroll-snap-align: start;
  }

  #footer {
    border-radius: 26px 26px 0 0;
  }
}
