/* /horoscope and /horoscope/{sign} — moved out of horoscope.html so the 14 pages share one cached file. */
/* ── HERO ── */
.hs-hero {
    background: linear-gradient(150deg, #0c0720 0%, #1a0a3d 40%, #0d1f4a 75%, #0a2240 100%);
    padding: 36px 20px 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.hs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 55% at 20% 0%, rgba(139,92,246,0.22) 0%, transparent 65%),
                radial-gradient(ellipse 45% 45% at 85% 85%, rgba(245,158,11,0.10) 0%, transparent 60%),
                radial-gradient(ellipse 30% 30% at 60% 10%, rgba(99,102,241,0.12) 0%, transparent 55%);
    pointer-events: none;
}
.hs-hero-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.hs-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px; padding: 5px 14px; margin-bottom: 14px;
    font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8);
    text-transform: uppercase; letter-spacing: 0.08em;
}
.hs-hero h1 {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 900; color: white; line-height: 1.2;
    margin-bottom: 10px; letter-spacing: -0.02em;
}
.hs-hero-sub { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.hs-hero-row {
    display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.hs-date-pill {
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px; padding: 6px 16px;
    font-size: 13px; font-weight: 700; color: white;
}
.hs-lang-toggle {
    display: flex; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px; padding: 3px; gap: 2px;
}
.hs-lang-opt {
    padding: 4px 14px; border-radius: 16px; font-size: 12px; font-weight: 700;
    min-height: 24px; display: inline-flex; align-items: center;
    text-decoration: none; color: rgba(255,255,255,0.65); transition: all 0.15s;
}
.hs-lang-opt.active { background: white; color: #1e1b4b; }

/* ── MAIN WRAP (lifts over hero curve) ── */
.hs-wrap {
    max-width: 900px;
    margin: -44px auto 0;
    padding: 0 20px 60px;
    position: relative; z-index: 1;
}

/* ── SIGN PICKER ── */
.hs-picker-card {
    background: white; border-radius: 20px; padding: 18px 16px 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-bottom: 24px;
}
.hs-picker-label {
    font-size: 12px; font-weight: 800; color: #64748b; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 12px; text-align: center;
}
.hs-picker { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; }
@media (max-width: 560px) { .hs-picker { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 360px) { .hs-picker { grid-template-columns: repeat(3,1fr); } }

.hs-chip {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 4px 7px; border-radius: 14px; text-decoration: none;
    border: 2px solid #f1f5f9; background: #fafafa; cursor: pointer;
    transition: all 0.15s; color: #334155; position: relative;
}
.hs-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

/* Element colours */
.hs-chip[data-el="fire"]   { border-color: #fee2e2; }
.hs-chip[data-el="earth"]  { border-color: #dcfce7; }
.hs-chip[data-el="air"]    { border-color: #dbeafe; }
.hs-chip[data-el="water"]  { border-color: #ede9fe; }

.hs-chip[data-el="fire"]:hover,  .hs-chip[data-el="fire"].active   { border-color: #ef4444; background: #fef2f2; }
.hs-chip[data-el="earth"]:hover, .hs-chip[data-el="earth"].active  { border-color: #16a34a; background: #f0fdf4; }
.hs-chip[data-el="air"]:hover,   .hs-chip[data-el="air"].active    { border-color: #3b82f6; background: #eff6ff; }
.hs-chip[data-el="water"]:hover, .hs-chip[data-el="water"].active  { border-color: #7c3aed; background: #f5f3ff; }

.hs-chip-sym {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; line-height: 1; flex-shrink: 0;
    font-family: 'Segoe UI Symbol','Apple Symbols','Noto Sans Symbols',sans-serif;
    transition: all 0.15s;
}
.hs-chip[data-el="fire"]  .hs-chip-sym { background: linear-gradient(135deg,#fee2e2,#fca5a5); color: #dc2626; }
.hs-chip[data-el="earth"] .hs-chip-sym { background: linear-gradient(135deg,#dcfce7,#86efac); color: #16a34a; }
.hs-chip[data-el="air"]   .hs-chip-sym { background: linear-gradient(135deg,#dbeafe,#93c5fd); color: #2563eb; }
.hs-chip[data-el="water"] .hs-chip-sym { background: linear-gradient(135deg,#ede9fe,#c4b5fd); color: #7c3aed; }

.hs-chip.active .hs-chip-sym { filter: brightness(1.12); box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.hs-chip-name { font-size: 12px; font-weight: 700; letter-spacing: 0.01em; text-align: center; max-width: 100%; overflow-wrap: anywhere; }

/* ── FEATURED SIGN ── */
.hs-featured {
    border-radius: 22px; padding: 28px 26px 22px; margin-bottom: 24px; color: white;
    position: relative; overflow: hidden;
}
.hs-featured[data-el="fire"]  { background: linear-gradient(135deg,#7f1d1d 0%,#c2410c 55%,#d97706 100%); }
.hs-featured[data-el="earth"] { background: linear-gradient(135deg,#14532d 0%,#16a34a 60%,#65a30d 100%); }
.hs-featured[data-el="air"]   { background: linear-gradient(135deg,#1e3a8a 0%,#2563eb 55%,#0891b2 100%); }
.hs-featured[data-el="water"] { background: linear-gradient(135deg,#1e1b4b 0%,#4c1d95 55%,#6d28d9 100%); }
.hs-featured::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 80% at 90% 20%, rgba(255,255,255,0.08), transparent 60%);
    pointer-events: none;
}

.hs-feat-top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    margin-bottom: 18px; flex-wrap: wrap;
}
.hs-feat-person { display: flex; align-items: center; gap: 14px; }
.hs-feat-sym    { font-size: 56px; line-height: 1; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.hs-feat-name   { font-size: 28px; font-weight: 900; line-height: 1.1; }
.hs-feat-sub    { font-size: 13px; opacity: 0.75; margin-top: 3px; }
.hs-feat-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hs-feat-badge  {
    background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 700; color: white;
    white-space: nowrap;
}

.hs-feat-body {
    font-size: 15px; line-height: 1.85; opacity: 0.94;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
}

/* Lucky strip */
.hs-lucky {
    display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hs-lucky-item {
    flex: 1; min-width: 80px;
    background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px; padding: 10px 12px; text-align: center;
}
.hs-lucky-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; margin-bottom: 4px; }
.hs-lucky-val   { font-size: 15px; font-weight: 800; }

/* ── CTA CARD ── */
.hs-cta {
    border-radius: 18px; padding: 24px 22px; margin: 0 0 24px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border: 1.5px solid #c4b5fd;
}
.hs-cta-pro  { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #86efac; }
.hs-cta-free { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fcd34d; }
.hs-cta h2 { font-size: 18px; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.hs-cta p  { font-size: 13.5px; color: #475569; line-height: 1.65; margin-bottom: 16px; max-width: 500px; }
.hs-cta-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 22px; border-radius: 12px;
    font-weight: 700; font-size: 14px; text-decoration: none; transition: opacity 0.15s;
}
.hs-cta-btn-purple { background: linear-gradient(90deg,#7c3aed,#4f46e5); color: white; box-shadow: 0 4px 14px rgba(124,58,237,0.3); }
.hs-cta-btn-green  { background: linear-gradient(90deg,#16a34a,#22c55e); color: white; }
.hs-cta-btn-amber  { background: linear-gradient(90deg,#c2410c,#d97706); color: white; }
.hs-cta-btn:hover  { opacity: 0.87; }

/* ── ALL SIGNS SECTION HEADER ── */
.hs-section-hdr {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 28px 0 16px; flex-wrap: wrap;
}
.hs-section-title { font-size: 17px; font-weight: 800; color: #0f172a; }

/* Element legend */
.hs-element-legend {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.hs-el-dot {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 700; color: #64748b;
}
.hs-el-dot::before {
    content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
}
.hs-el-dot.fire::before  { background: #ef4444; }
.hs-el-dot.earth::before { background: #16a34a; }
.hs-el-dot.air::before   { background: #3b82f6; }
.hs-el-dot.water::before { background: #7c3aed; }

/* ── ALL 12 SIGN CARDS ── */
.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.hs-card {
    background: white; border-radius: 18px; padding: 18px 16px;
    text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px;
    border: 1.5px solid #f1f5f9;
    border-left: 4px solid var(--el-color, #e2e8f0);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hs-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }

.hs-card[data-el="fire"]  { --el-color: #ef4444; background: linear-gradient(150deg, white 65%, #fff5f5 100%); }
.hs-card[data-el="earth"] { --el-color: #16a34a; background: linear-gradient(150deg, white 65%, #f0fdf4 100%); }
.hs-card[data-el="air"]   { --el-color: #3b82f6; background: linear-gradient(150deg, white 65%, #eff6ff 100%); }
.hs-card[data-el="water"] { --el-color: #7c3aed; background: linear-gradient(150deg, white 65%, #f5f3ff 100%); }

.hs-card-hdr  { display: flex; align-items: center; gap: 12px; }
.hs-card-sym  {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; line-height: 1;
    font-family: 'Segoe UI Symbol','Apple Symbols','Noto Sans Symbols',sans-serif;
}
.hs-card[data-el="fire"]  .hs-card-sym { background: linear-gradient(135deg,#fee2e2,#fca5a5); color:#dc2626; }
.hs-card[data-el="earth"] .hs-card-sym { background: linear-gradient(135deg,#dcfce7,#86efac); color:#16a34a; }
.hs-card[data-el="air"]   .hs-card-sym { background: linear-gradient(135deg,#dbeafe,#93c5fd); color:#2563eb; }
.hs-card[data-el="water"] .hs-card-sym { background: linear-gradient(135deg,#ede9fe,#c4b5fd); color:#7c3aed; }

.hs-card-info h2 { font-size: 14.5px; font-weight: 800; color: #0f172a; margin-bottom: 1px; }
.hs-card-info p  { font-size: 12px; color: #64748b; font-weight: 600; }
.hs-card-text    {
    font-size: 13px; color: #475569; line-height: 1.75;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
}
.hs-card-readmore {
    font-size: 12px; font-weight: 700; color: var(--el-color, #7c3aed);
    display: flex; align-items: center; gap: 3px; margin-top: 2px;
}

/* ── EMPTY / LOADING ── */
.hs-loading { text-align: center; padding: 40px 20px; color: #94a3b8; font-size: 15px; }

/* ── MOBILE STICKY CTA ── */
.hs-sticky-cta {
    display: none;
    position: fixed; bottom: 20px; right: 16px; z-index: 200;
}
@media (max-width: 640px) {
    .hs-sticky-cta:not(.hidden) { display: block; }
}
.hs-sticky-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 20px; border-radius: 50px;
    background: linear-gradient(90deg,#7c3aed,#4f46e5);
    color: white; font-weight: 700; font-size: 14px; text-decoration: none;
    box-shadow: 0 6px 24px rgba(124,58,237,0.40);
    transition: opacity 0.15s;
}
.hs-sticky-btn:hover { opacity: 0.88; }

@media (max-width: 480px) {
    .hs-hero { padding: 28px 16px 60px; }
    .hs-picker-card { padding: 14px 12px 12px; }
    .hs-featured { padding: 20px 16px 18px; }
    .hs-feat-sym { font-size: 40px; }
    .hs-feat-name { font-size: 22px; }
    .hs-grid { grid-template-columns: 1fr; }
    .hs-lucky-item { min-width: 70px; }
}
