/* ═══════════════════════════════════════════════
   horoscope-style.css
   All classes prefixed with "hs-" to avoid
   conflicts with existing site CSS
═══════════════════════════════════════════════ */

/* ── HERO ───────────────────────────────────── */
.hs-hero {
  background: #0d0d1a;
  padding: 40px 16px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hs-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8%  15%, rgba(255,255,255,.7) 0%, transparent 100%),
    radial-gradient(1px   1px   at 22% 78%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(2px   2px   at 40% 30%, rgba(241,196,15,.6)  0%, transparent 100%),
    radial-gradient(1px   1px   at 55% 85%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 20%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px   1px   at 82% 65%, rgba(241,196,15,.5)  0%, transparent 100%),
    radial-gradient(2px   2px   at 90% 40%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px   1px   at 15% 55%, rgba(255,255,255,.3) 0%, transparent 100%);
}
.hs-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(192,57,43,.28) 0%, transparent 65%);
}
.hs-hc {
  position: relative;
  z-index: 2;
}
.hs-mandala {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  animation: hs-glow 4s ease-in-out infinite;
}
@keyframes hs-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(240,192,64,.7)); }
  50%       { filter: drop-shadow(0 0 22px rgba(240,192,64,1)); }
}
.hs-hero h1 {
  font-size: clamp(20px, 5vw, 34px) !important;
  color: #ffffff !important;
  font-weight: 400 !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  border: none !important;
  padding: 0 !important;
}
.hs-hero h1 em {
  color: #f0c040;
  font-style: normal;
}
.hs-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.9;
}
.hs-date-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 13px;
  color: #ffffff !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: center;
  letter-spacing: 0;
}

/* ── PAGE LAYOUT ────────────────────────────── */
.hs-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: grid;
  grid-template-columns: 1fr 272px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 860px) {
  .hs-wrap { grid-template-columns: 1fr; }
}

/* ── SECTION TITLE ──────────────────────────── */
.hs-stitle {
  font-size: 17px;
  color: #c0392b;
  border-left: 4px solid #c0392b;
  padding-left: 11px;
  margin-bottom: 14px;
  font-weight: 400;
}

/* ── RASHI GRID ─────────────────────────────── */
.hs-rgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
@media (max-width: 600px) { .hs-rgrid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
@media (max-width: 360px) { .hs-rgrid { grid-template-columns: repeat(2, 1fr); } }

.hs-rc {
  background: #ffffff;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  padding: 13px 6px 11px;
  text-align: center;
  cursor: pointer;
  transition: all .22s;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.hs-rc::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c0392b, #c9940a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.hs-rc:hover {
  border-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.hs-rc:hover::before { transform: scaleX(1); }
.hs-rc.hs-on {
  border-color: #c0392b;
  background: #fff5f5;
  box-shadow: 0 4px 18px rgba(192,57,43,.18);
}
.hs-rc.hs-on::before { transform: scaleX(1); }

.hs-re  { font-size: 26px; margin-bottom: 5px; display: block; }
.hs-rt  {  font-size: 16px; color: #2c2c2c; display: block; font-weight:600;}
.hs-ren { font-size: 9px; color: #aaaaaa; text-transform: uppercase; letter-spacing: .4px; display: block; margin-top: 2px; }


/* ── RESULT BOX ─────────────────────────────── */
.hs-rbox {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
  overflow: hidden;
  margin-bottom: 24px;
  display: none;
}
.hs-rbox.hs-visible {
  display: block;
  animation: hs-up .35s ease;
}
@keyframes hs-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Result header */
.hs-rhdr {
  background: linear-gradient(135deg, #1a0a0a 0%, #96281b 55%, #2a0e0e 100%);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hs-rbig {
  font-size: 40px;
  filter: drop-shadow(0 0 10px rgba(240,192,64,.5));
  flex-shrink: 0;
}
.hs-rht h2 {
  font-size: 20px;
  color: #ffffff;
  font-weight: 400;
  margin: 0;
}
.hs-rht p {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin: 2px 0 0;
}

/* Result body */
.hs-rbody { padding: 18px 18px 20px; }

/* Overall card */
.hs-oc {
  background: linear-gradient(135deg, #fffbf0, #fff8e1);
  border: 1px solid #f0d090;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.hs-ol {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c9940a;
  font-weight: 700;
  margin-bottom: 7px;
}
.hs-overall-text {
  font-size: 15px;
  line-height: 2;
  color: #2c2c2c;
}

/* Rating */
.hs-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #666666;
  flex-wrap: wrap;
}
.hs-stars-row {
  color: #f0c040;
  font-size: 16px;
  letter-spacing: 1px;
}

/* Section tabs */
.hs-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
@media (max-width: 480px) { .hs-tabs { grid-template-columns: repeat(2, 1fr); } }

.hs-tb {
  background: #f5f5f5;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  padding: 9px 4px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.hs-tb:hover    { background: #fff0f0; border-color: #c0392b; }
.hs-tb.hs-on   { background: #c0392b; border-color: #c0392b; }
.hs-tb .hs-ti  { font-size: 18px; display: block; }
.hs-tb .hs-tl  {  font-size: 12px; display: block; margin-top: 3px; color: #666666; }
.hs-tb.hs-on .hs-tl { color: #ffffff; }

.hs-panel     { display: none; }
.hs-panel.hs-on { display: block; animation: hs-fi .3s ease; }
@keyframes hs-fi { from { opacity: 0; } to { opacity: 1; } }

.hs-panel p {
  font-size: 15px;
  line-height: 2;
  color: #2c2c2c;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 13px 15px;
  border: 1px solid #e8e8e8;
  margin: 0;
}

/* Lucky chips */
.hs-lucky {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #e8e8e8;
}
.hs-ltag {
  background: #f5f5f5;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  color: #2c2c2c;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e8e8e8;
  white-space: nowrap;
}
.hs-ltag strong { color: #c0392b; }

/* ── SIDEBAR ────────────────────────────────── */
.hs-sw {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  margin-bottom: 18px;
}
.hs-wt {
  background: #c0392b;
  color: #ffffff;
  font-size: 14px;
  padding: 10px 14px;
  font-weight: 400;
}
.hs-wb { padding: 11px 13px; }

/* Panchang rows */
.hs-pr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 12px;
  gap: 8px;
}
.hs-pr:last-child { border-bottom: none; }
.hs-pk { color: #666666;  flex-shrink: 0; }
.hs-pv { color: #2c2c2c;  font-size: 12px; text-align: right; }

/* ── INFO BLOCK (SEO) ───────────────────────── */
.hs-info {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  border: 1px solid #e8e8e8;
  margin-bottom: 20px;
}
.hs-info h2 {
  font-size: 16px;
  color: #c0392b;
  border-left: 4px solid #c0392b;
  padding-left: 10px;
  margin-bottom: 10px;
  font-weight: 400;
}
.hs-info p {
  font-size: 13.5px;
  line-height: 2;
  color: #666666;
  margin: 0;
}
/* ── Inline overrides: replace tab UI with always-visible sections ── */
.hs-tabs  { display: none !important; }
.hs-panel { display: none !important; }

.hs-sections {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.hs-sec {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--hs-card-bg, rgba(255,255,255,0.06));
  border: 1px solid var(--hs-border, rgba(255,255,255,0.1));
}

.hs-sec-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 3px;
}

.hs-sec-body { flex: 1; }

.hs-sec-label {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #000;
}

.hs-sec-text {
  font-size: 1.7rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}