/* =========================
   HERO SECTION
   ========================= */
.hero-section {
  position: relative;
  padding: 110px 16px 40px;
  background: #ffeaca;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.0);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.daily-reading {
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
  opacity: 0.9;
}

/* =========================
   ZODIAC PILLS
   ========================= */
.zodiac-container {
  display: flex;
  justify-content: center;            /* desktop center */
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  padding-top: 12px;
  -webkit-overflow-scrolling: touch;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  scrollbar-width: none;
}

.zodiac-pill {
  text-align: center;
  cursor: pointer;
  flex: 0 0 auto;                     /* ✅ IMPORTANT */
}

.zodiac-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 57, 87, 0.15);
  overflow: hidden;
  filter:sepia()
}

.zodiac-pill.active .zodiac-circle {
  background: #ff8a00;
  border-color: #ff8a00;
  box-shadow: 0 8px 24px rgba(255, 138, 5, 0.35);
  overflow: hidden;
  color: #ff8a00;
  filter: none;
}
.zodiac-symbol{
border-radius: 50%;
}

.zodiac-symbol img{
   max-width:80px;
    max-height:80px;
}

.zodiac-pill.active .zodiac-symbol {
  color: #fff;
}

.zodiac-name {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

/* =========================
   HOROSCOPE VISIBILITY
   ========================= */
.horoscope-content {
  display: none;
}
.horoscope-content.active {
  display: block;
}

/* =========================
   GRID LAYOUT
   ========================= */
.horoscope-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 10px;
}

/* =========================
   LEFT COLUMN
   ========================= */
.main-column {
  display: flex;
}

.horoscope-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   ZODIAC HERO IMAGE
   ========================= */
.zodiac-hero {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}

.zodiac-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zodiac-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.05)
  );
}

.zodiac-hero-overlay h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.zodiac-hero-overlay p {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================
   HEADER / TABS
   ========================= */
.card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.zodiac-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.zodiac-badge {
  width: 40px;
  height: 40px;
  background: #ff8a00;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.badge-symbol {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.zodiac-date {
  font-size: 12px;
  opacity: 0.7;
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tab {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f5f9;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tab.active {
  background: #ff8a00;
  color: #fff;
}

.hero-section .tabs .tab svg {
  display: none !important;
}

/* =========================
   TAB CONTENT
   ========================= */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.horoscope-text {
  font-size: 20px;
  line-height: 1.6;
}

/* =========================
   RIGHT COLUMN (INFO CARDS)
   ========================= */
.side-column {
  display: flex;
}

.side-column .info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  width: 100%;
  margin-top:0px;
}

.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.info-header {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.info-title {
  font-size: 14px;
  font-weight: 800;
}

.info-text {
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.95;
}

/* =========================
   MOBILE FIXES (CRITICAL)
   ========================= */
@media (max-width: 900px) {

  /* 🔥 ZODIAC SCROLL FIX */
  .zodiac-container {
    justify-content: flex-start;   /* ✅ KEY FIX */
    padding-left: 12px;
    padding-right: 12px;
    scroll-padding-left: 12px;
  }

  .horoscope-layout {
    grid-template-columns: 1fr;
  }

  .main-column,
  .side-column {
    display: block;
  }

  .side-column .info-cards {
    grid-template-columns: 1fr;
  }

  .horoscope-text {
    font-size: 18px;
  }
   .side-column .info-cards {
    gap:8px;
   }
  .zodiac-hero{
    height:100px;
  }
   
  .material-symbols-outlined { font-size: 18px;}
  .tab-text {font-size: 12px;}
.info-card {min-height:auto;}

}
