﻿/* kundali.css — KundaliBabaji Kundali enhanced styles */

/* ═══ LOADING ═══════════════════════════════════════════════ */

.k-loading {
  position: fixed; inset: 0; background: var(--dark-1, #0a0a0f);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.kl-inner { text-align: center; }
.kl-mandala { width: 140px; height: 140px; margin: 0 auto 32px;
  animation: kMandalaRotate 6s linear infinite; }
@keyframes kMandalaRotate { to { transform: rotate(360deg); } }

.kls-item {
  color: rgba(255,255,255,0.25); font-size: 14px; padding: 6px 0;
  transition: color 0.4s, opacity 0.4s;
}
.kls-item.active { color: var(--gold, #d4af37); }
.kls-item.done   { color: rgba(255,255,255,0.15); }

/* ═══ PAGE WRAPPER ══════════════════════════════════════════ */

/* Offset for fixed global nav (64px) */
.k-page { min-height: 100vh; padding-bottom: 60px; padding-top: 64px; }
.k-results { background: var(--dark-1, #0a0a0f); }

/* ═══ OLD FORM NAV — replaced by global fixed nav ════════════ */

/* Spacer that replaces the old k-nav height */
.k-nav-spacer { height: 0; }

/* Hide old nav if it somehow persists */
.k-nav { display: none !important; }

/* ═══ RESULTS ACTION BAR ═══════════════════════════════════ */

.kr-action-bar {
  position: sticky;
  top: 64px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px;
  background: rgba(9,9,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  flex-wrap: wrap;
}
.kr-action-logo {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: 2px;
  color: var(--gold, #d4af37);
  text-decoration: none;
  flex-shrink: 0;
}
.kr-action-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.kr-action-link {
  font-size: .7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(240,237,230,0.5);
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.kr-action-link:hover { color: var(--gold, #d4af37); background: rgba(212,175,55,0.07); }
.kr-action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.kr-new-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7); padding: 8px 16px; border-radius: 8px;
  font-size: 12px; cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.kr-new-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.kr-pdf-btn {
  background: linear-gradient(135deg, #FF9933, #E65100);
  border: none; color: #fff; padding: 8px 18px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,153,51,0.35);
  transition: all 0.2s; letter-spacing: 0.3px; white-space: nowrap;
}
.kr-pdf-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(255,153,51,0.5); }
.kr-pdf-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
@media (max-width: 768px) {
  .kr-action-links { display: none; }
  .kr-action-bar { padding: 10px 16px; }
}

/* ═══ FORM HERO ═════════════════════════════════════════════ */

.k-hero {
  text-align: center; padding: 48px 40px 40px; /* k-page already offset by 64px nav; sp-bar adds 48px */
  margin-top: 48px; /* sp-bar height */
  max-width: 680px; margin: 48px auto 0;
}
.kh-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.25);
  color: var(--gold, #d4af37); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.kh-title {
  font-size: 44px; font-weight: 700; color: #fff; line-height: 1.15;
  margin: 0 0 16px;
}
.kh-sub { color: rgba(255,255,255,0.6); font-size: 17px; line-height: 1.6; margin: 0; }

/* ═══ FORM CARD ═════════════════════════════════════════════ */

.k-form-card {
  max-width: 680px; margin: 0 auto 40px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 40px; backdrop-filter: blur(10px);
}
.kf-row { display: flex; gap: 20px; margin-bottom: 20px; }
.kf-group { flex: 1; display: flex; flex-direction: column; }
.kf-full  { flex: 1 0 100%; }
.kf-label {
  font-size: 11px; color: rgba(212,175,55,0.8); margin-bottom: 8px;
  letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Montserrat', sans-serif;
}
.kf-opt   { opacity: 0.55; font-weight: 400; text-transform: none; letter-spacing: 0; }
.kf-input {
  appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(212,175,55,0.22);
  border-radius: 10px; padding: 12px 16px; color: rgba(240,237,230,0.92); font-size: 14px;
  outline: none; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  color-scheme: dark; width: 100%; box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}
.kf-input:focus {
  border-color: rgba(212,175,55,0.65);
  background: rgba(212,175,55,0.05);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.kf-input:not(:placeholder-shown):not(:focus) { border-color: rgba(212,175,55,0.3); }
.kf-input::placeholder { color: rgba(240,237,230,0.28); }
.kf-input option { background: #0e0e18; color: rgba(240,237,230,0.9); }
/* Select gold arrow */
select.kf-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4af37' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}
/* Date / time calendar icon tint */
.kf-input::-webkit-calendar-picker-indicator {
  filter: invert(80%) sepia(40%) saturate(300%) hue-rotate(5deg); cursor: pointer; opacity: .7;
}
.kf-hint  { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 6px; }

/* ── Date / time picker wrapper (display injected by premium_pickers.js) ── */
.kf-dt-wrap { position: relative; }
.kf-error { background: rgba(229,57,53,0.12); border: 1px solid rgba(229,57,53,0.3);
  border-radius: 8px; padding: 12px 14px; color: #ef9a9a; font-size: 13px; margin-bottom: 16px; }

.kf-btn {
  width: 100%; padding: 16px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #d4af37 0%, #b8960c 100%);
  color: #000; font-size: 16px; font-weight: 700; letter-spacing: 0.3px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: opacity 0.2s, transform 0.2s;
}
.kf-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.kf-btn-symbol { opacity: 0.7; font-size: 18px; }
.kf-tc-label { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 14px; cursor: pointer; }
.kf-tc-label input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: #FF9933; cursor: pointer; }
.kf-tc-label span { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.kf-tc-link { color: #FF9933; text-decoration: underline; }
.kf-tc-link:hover { color: #ffb347; }
.kf-btn--pay:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.kf-privacy { text-align: center; color: rgba(255,255,255,0.35); font-size: 12px; margin-top: 14px; }

/* ── Price badge ─────────────────────────────────────────── */
.kf-price-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 16px 0 12px;
  padding: 14px 20px;
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
}
.kfp-amount {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #D4AF37;
  line-height: 1;
}
.kfp-label {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.kfp-items {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* ── Pay button variant ──────────────────────────────────── */
.kf-btn--pay {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 50%, #D4AF37 100%);
  background-size: 200% 100%;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(212,175,55,0.35);
}
.kf-btn--pay:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 36px rgba(212,175,55,0.5);
}

/* ── Phone input ─────────────────────────────────────────── */
input[type="tel"].kf-input { letter-spacing: 0.05em; }

/* ═══ DECORATIVE SIDE COLUMNS ══════════════════════════════ */

@keyframes kDecoFloat {
  0%, 100% {
    opacity: 0.45;
    transform: translateY(0px);
    text-shadow: 0 0 8px rgba(212,175,55,0.4);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-8px);
    text-shadow: 0 0 18px rgba(212,175,55,0.85), 0 0 32px rgba(212,175,55,0.35);
  }
}

.k-deco-side {
  position: fixed;
  top: 116px;      /* nav(64) + sp-bar(48) + 4px gap */
  bottom: 24px;
  display: flex; flex-direction: column; justify-content: space-evenly;
  z-index: 1; pointer-events: none;
}
.k-deco-left  { left: 28px; }
.k-deco-right { right: 28px; }

.kds-s, .kds-p {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  font-size: 24px; line-height: 1;
  background: rgba(72, 40, 160, 0.55);
  border: 1px solid rgba(140, 100, 255, 0.25);
  opacity: 0.55;
  animation: kDecoFloat 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  box-shadow: 0 0 10px rgba(120, 60, 220, 0.3);
  flex-shrink: 0;
}
.kds-p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  text-shadow: 0 0 8px rgba(200, 160, 255, 0.7);
}

@media (max-width: 1200px) { .k-deco-side { display: none; } }

/* ═══ THREE PILLARS STRIP ════════════════════════════════ */

.k-pillars {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 820px; margin: 0 auto 36px;
  padding: 28px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.kp-item {
  flex: 1; text-align: center; padding: 0 24px;
  min-width: 0;
}
.kp-icon   { font-size: 28px; margin-bottom: 11px; }
.kp-title  { font-size: 13px; font-weight: 700; color: var(--gold, #d4af37);
  letter-spacing: 0.4px; margin-bottom: 7px; font-family: 'Cinzel', serif;
  line-height: 1.3; }
.kp-sub    { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.kp-divider { color: rgba(212,175,55,0.18); font-size: 16px; padding-top: 30px;
  flex-shrink: 0; align-self: flex-start; }

/* ═══ TRUST BAR ═════════════════════════════════════════════ */

.k-trust {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 0 40px 40px;
}
.kt-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kt-num  { font-size: 14px; font-weight: 600; color: var(--gold, #d4af37); }
.kt-lbl  { font-size: 11px; color: rgba(255,255,255,0.35); }
.kt-div  { color: rgba(212,175,55,0.3); font-size: 14px; }

/* ═══ RESULTS: HERO BAR ═════════════════════════════════════ */

.kr-hero {
  padding: 32px 40px; border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.krh-name {
  font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.krh-name-hindi {
  font-family: 'Noto Sans Devanagari', 'Mangal', serif;
  font-size: 18px;
  color: rgba(212,175,55,0.75);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.krh-trinity {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.kht-item {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 10px 16px; min-width: 100px;
}
.kht-label { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.8px; }
.kht-val   { font-size: 14px; font-weight: 600; color: var(--gold, #d4af37); margin-top: 2px; }

/* ═══ LIFE AREAS ════════════════════════════════════════════ */

.kr-life-areas {
  padding: 48px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.kr-section-title {
  font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.kr-section-sub {
  font-size: 14px; color: rgba(255,255,255,0.45); margin-bottom: 24px;
}
.krla-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.krla-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 24px; transition: border-color 0.2s;
}
.krla-card:hover { border-color: rgba(212,175,55,0.25); }
.krlac-icon  { font-size: 26px; margin-bottom: 10px; }
.krlac-title { font-size: 14px; font-weight: 700; color: var(--gold, #d4af37); margin-bottom: 12px; letter-spacing: 0.3px; }
.krlac-body  { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.72); }

/* ═══ TABS NAV ══════════════════════════════════════════════ */

.kr-tabs { padding: 0 40px 60px; }
.krt-nav {
  display: flex; gap: 2px; border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0 0; margin-bottom: 32px; overflow-x: auto;
}
.krt-tab {
  background: none; border: none; color: rgba(255,255,255,0.45);
  font-size: 15px; font-weight: 500; font-family: 'Cinzel', Georgia, serif;
  letter-spacing: 0.4px;
  padding: 12px 22px; cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.22s; white-space: nowrap; margin-bottom: -1px;
  border-radius: 4px 4px 0 0;
}
.krt-tab:hover {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.03);
}
.krt-tab.active {
  color: var(--gold, #d4af37);
  border-bottom-color: var(--gold, #d4af37);
  background: rgba(212,175,55,0.04);
}

.krt-panel { display: none; }
.krt-panel.active { display: block; }

/* ═══ CHART LAYOUT ══════════════════════════════════════════ */

.kc-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.kc-left, .kc-right {}

/* North Indian Kundali Chart — 4×4 grid */
.kundali-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  width: 100%; aspect-ratio: 1;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;
  background: rgba(212,175,55,0.03);
  position: relative;
  margin-bottom: 12px;
}
.kc-house {
  border: 1px solid rgba(212,175,55,0.15);
  padding: 6px 8px; min-height: 80px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; flex-wrap: wrap;
}
.kc-lagna { border: 2px solid rgba(212,175,55,0.55) !important; }

/* Triangle decorative corners (center diamond visual) */
.kc-tri { border: 1px solid rgba(212,175,55,0.15); }

/* House number label */
.kch-num {
  font-size: 9px; color: rgba(212,175,55,0.4); position: absolute;
  top: 4px; left: 6px; font-weight: 600;
}
.kch-lagna-label {
  font-size: 11px; color: rgba(212,175,55,0.7); position: absolute;
  bottom: 5px; right: 6px;
}
.kch-planet {
  font-size: 11px; font-weight: 700; margin-top: 16px; margin-right: 4px;
  cursor: default;
}
.kch-r { font-size: 7px; font-weight: 400; }

/* Grid positions — North Indian layout */
#kc-h12  { grid-area: 1/1/2/2; }
#kc-h1   { grid-area: 1/2/2/3; }
#kc-h2   { grid-area: 1/3/2/4; }
#kc-h3   { grid-area: 1/4/2/5; }
#kc-h11  { grid-area: 2/1/3/2; }
.kc-tri-tl { grid-area: 2/2/3/3; }
.kc-tri-tr { grid-area: 2/3/3/4; }
#kc-h4   { grid-area: 2/4/3/5; }
#kc-h10  { grid-area: 3/1/4/2; }
.kc-tri-bl { grid-area: 3/2/4/3; }
.kc-tri-br { grid-area: 3/3/4/4; }
#kc-h5   { grid-area: 3/4/4/5; }
#kc-h9   { grid-area: 4/1/5/2; }
#kc-h8   { grid-area: 4/2/5/3; }
#kc-h7   { grid-area: 4/3/5/4; }
#kc-h6   { grid-area: 4/4/5/5; }
.kc-center {
  grid-area: 2/2/4/4;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(212,175,55,0.12); text-align: center; padding: 8px;
}
.kcc-name { font-size: 11px; font-weight: 700; color: var(--gold, #d4af37); }
.kcc-dob  { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.kcc-nak  { font-size: 10px; color: rgba(212,175,55,0.6); margin-top: 4px; }

.kc-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.kcl-item  { display: flex; align-items: center; gap: 5px; font-size: 11px; color: rgba(255,255,255,0.4); }
.kcl-dot   { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Chart right panel — Birth Data box */
.kcs-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, rgba(212,175,55,0.02) 100%);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.kcs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(212,175,55,0.07);
  font-size: 12.5px;
  gap: 12px;
}
.kcs-row:last-child { border-bottom: none; }
.kcs-row:hover { background: rgba(212,175,55,0.06); }
.kcs-label {
  color: rgba(212,175,55,0.55);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kcs-value {
  color: #e8e4d9;
  font-weight: 600;
  font-size: 13px;
  text-align: right;
  font-family: 'Cinzel', serif;
}

.kr-plain-box {
  background: rgba(212,175,55,0.05); border: 1px solid rgba(212,175,55,0.12);
  border-left: 3px solid rgba(212,175,55,0.4); border-radius: 10px; padding: 16px;
}
.krpb-title { font-size: 14px; font-weight: 700; color: var(--gold, #d4af37); margin-bottom: 4px; }
.krpb-meta  { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.krpb-body  { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; }

/* ═══ PSYCHOLOGY TAB ════════════════════════════════════════ */

.kpsych-hero {
  background: rgba(212,175,55,0.05); border: 1px solid rgba(212,175,55,0.15);
  border-radius: 16px; padding: 32px; margin-bottom: 28px; text-align: center;
}
.kph-lagna { font-size: 13px; color: rgba(212,175,55,0.7); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px; }
.kph-truth {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.9); font-style: italic;
  margin: 0; border-left: none; padding: 0;
}

.kpsych-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.kpsych-card {
  border-radius: 14px; padding: 22px; border: 1px solid rgba(255,255,255,0.07);
}
.kpc-pattern { background: rgba(66,165,245,0.06); border-color: rgba(66,165,245,0.15); }
.kpc-shadow  { background: rgba(156,39,176,0.06); border-color: rgba(156,39,176,0.15); }
.kpc-gift    { background: rgba(102,187,106,0.06); border-color: rgba(102,187,106,0.15); }
.kpc-shift   { background: rgba(212,175,55,0.06); border-color: rgba(212,175,55,0.15); }
.kpc-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.kpc-body  { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.8); }

.kpsych-problems {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 24px; margin-bottom: 20px;
}
.kpp-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.kpp-item  { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.kpp-item:last-child { border-bottom: none; }
.kpp-arrow { color: var(--gold, #d4af37); flex-shrink: 0; margin-top: 1px; }

.kpsych-practice {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%);
  border: 1px solid rgba(212,175,55,0.2); border-radius: 14px; padding: 24px;
  margin-bottom: 20px; display: flex; gap: 16px; align-items: flex-start;
}
.kppr-icon  { font-size: 28px; flex-shrink: 0; }
.kppr-title { font-size: 14px; font-weight: 700; color: var(--gold, #d4af37); margin-bottom: 8px; }
.kppr-body  { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; }

.kpsych-nak {
  background: rgba(156,39,176,0.05); border: 1px solid rgba(156,39,176,0.15);
  border-radius: 14px; padding: 24px;
}
.kpn-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kpn-title  { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.7); }
.kpn-nak-name { font-size: 14px; font-weight: 700; color: rgba(212,175,55,0.8); }
.kpn-body   { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.75); }

/* ═══ SOLUTIONS TAB ═════════════════════════════════════════ */

.ksol-intro {
  background: rgba(212,175,55,0.04); border: 1px solid rgba(212,175,55,0.12);
  border-radius: 14px; padding: 24px; margin-bottom: 32px;
}
.ksi-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ksi-sub   { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65; }

.ksol-section { margin-bottom: 40px; }
.ksol-avoid   { background: rgba(229,57,53,0.03); border: 1px solid rgba(229,57,53,0.1);
  border-radius: 14px; padding: 24px; }

.kss-header { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.kss-icon   { font-size: 32px; flex-shrink: 0; }
.kss-title  { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.kss-sub    { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* Gemstone cards */
.kstone-grid { display: flex; flex-direction: column; gap: 16px; }
.kstone-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 20px; display: flex; gap: 20px; align-items: flex-start;
  transition: border-color 0.2s;
}
.kstone-card:hover { border-color: rgba(255,255,255,0.15); }
.kstone-primary { border-color: rgba(212,175,55,0.3); background: rgba(212,175,55,0.04); }

.kstone-gem-circle {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.kstone-gem-dot { width: 20px; height: 20px; border-radius: 50%; }

.kstone-info  { flex: 1; }
.kstone-name  { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.kstone-planet { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.kstone-badge {
  display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 11px;
  font-weight: 700; letter-spacing: 0.5px; margin-bottom: 10px;
  background: rgba(212,175,55,0.15); color: var(--gold, #d4af37); border: 1px solid rgba(212,175,55,0.3);
}
.kstone-badge-2 { background: rgba(66,165,245,0.1); color: #64b5f6; border-color: rgba(66,165,245,0.25); }
.kstone-badge-3 { background: rgba(102,187,106,0.1); color: #81c784; border-color: rgba(102,187,106,0.25); }
.kstone-why   { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 10px; }
.kstone-how   { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 10px; }
.kstone-meta  { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px;
  color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.kstone-alt   { font-size: 12px; color: rgba(255,255,255,0.4); }

/* Avoid grid */
.kstone-avoid-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.kstone-avoid-card {
  background: rgba(229,57,53,0.06); border: 1px solid rgba(229,57,53,0.2);
  border-radius: 10px; padding: 14px 18px; flex: 1; min-width: 180px;
}
.ksac-name   { font-size: 15px; font-weight: 700; color: #ef9a9a; margin-bottom: 3px; }
.ksac-planet { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.ksac-why    { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }

.kstone-note {
  margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6;
  padding: 12px; background: rgba(255,255,255,0.02); border-radius: 8px;
}

/* Color swatches */
.kcol-section { }
.kcol-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.6);
  margin-bottom: 12px; letter-spacing: 0.3px; }
.kcol-avoid-label { color: rgba(229,57,53,0.7); }

.kcolor-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.kcolor-chip {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 14px; min-width: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: border-color 0.2s;
}
.kcolor-chip:hover { border-color: rgba(255,255,255,0.18); }
.kcc-avoid { opacity: 0.7; }
.kcc-swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); }
.kcc-name   { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); }
.kcc-why    { font-size: 11px; color: rgba(255,255,255,0.45); text-align: center; line-height: 1.4; }

.kcolor-tip {
  margin-top: 16px; padding: 12px 16px; background: rgba(212,175,55,0.06);
  border: 1px solid rgba(212,175,55,0.15); border-radius: 10px;
  font-size: 13px; color: rgba(255,255,255,0.7); display: flex; align-items: flex-start; gap: 8px;
}

/* Numbers */
.knum-row { display: flex; gap: 32px; margin-bottom: 16px; }
.knums-block { }
.knb-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.knb-nums  { display: flex; flex-wrap: wrap; gap: 8px; }
.knum-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; font-size: 16px; font-weight: 700;
}
.knum-lucky { background: rgba(212,175,55,0.12); color: var(--gold,#d4af37);
  border: 2px solid rgba(212,175,55,0.3); }
.knum-avoid { background: rgba(229,57,53,0.1); color: #ef9a9a;
  border: 2px solid rgba(229,57,53,0.25); }
.knb-avoid-block .knb-label { color: rgba(229,57,53,0.6); }

.knum-tip {
  font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6;
  padding: 12px; background: rgba(255,255,255,0.02); border-radius: 8px;
}

/* Vedic Remedies */
.krem-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 20px; margin-bottom: 14px;
}
.krem-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.krem-planet {
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.krem-cat { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.7); }
.krem-body { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.75; }

/* ═══ PLANETS TAB ═══════════════════════════════════════════ */

.kpt-wrap { overflow-x: auto; }
.kpt-table { width: 100%; border-collapse: collapse; }
.kpt-table th {
  text-align: left; padding: 10px 14px; font-size: 11px;
  color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kpt-row { cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.04); }
.kpt-row:hover { background: rgba(255,255,255,0.03); }
.kpt-row td { padding: 12px 14px; font-size: 14px; color: rgba(255,255,255,0.8); }
.kpt-glyph  { font-size: 16px; margin-right: 8px; }
.kpt-name   { font-weight: 600; }
.kpt-en     { color: rgba(255,255,255,0.4); margin-left: 4px; }
.kpt-house  { font-weight: 700; color: var(--gold,#d4af37); }
.kpt-retro  { color: rgba(255,100,100,0.8); font-size: 12px; margin-left: 4px; }
.kpt-expand-icon { color: rgba(255,255,255,0.3); font-size: 12px; }
.kpt-dig    { padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.dig-ex     { background: rgba(212,175,55,0.15); color: var(--gold,#d4af37); }
.dig-own    { background: rgba(102,187,106,0.12); color: #81c784; }
.dig-deb    { background: rgba(229,57,53,0.12); color: #ef9a9a; }

.kpt-meaning-row {}
.kpt-meaning-cell { padding: 0 !important; }
.kpt-meaning-body {
  padding: 20px 20px 20px 46px; font-size: 14px; color: rgba(255,255,255,0.72);
  line-height: 1.75; background: rgba(212,175,55,0.04);
  border-left: 3px solid rgba(212,175,55,0.3);
}

/* ═══ DASHAS TAB ════════════════════════════════════════════ */

.kd-current-block { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kdcb-maha, .kdcb-antar {
  padding: 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08);
}
.kdcb-label  { font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.35); margin-bottom: 8px; }
.kdcb-lord   { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.kdcb-dates  { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.kdcb-theme  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.6; }

.kdt-row, .kadt-row {
  display: flex; align-items: center; gap: 16px; padding: 10px 14px;
  border-radius: 8px; margin-bottom: 4px; font-size: 14px;
}
.kdt-lord, .kadt-lord  { font-weight: 700; color: #fff; min-width: 80px; }
.kdt-years { font-size: 12px; color: rgba(255,255,255,0.4); min-width: 50px; }
.kdt-dates, .kadt-dates { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ═══ HOUSES TAB ════════════════════════════════════════════ */

.khouse-card {
  border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden;
}
.kh-occupied { border-color: rgba(212,175,55,0.15); }
.khouse-header {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.khouse-num   { font-size: 13px; font-weight: 700; color: var(--gold,#d4af37);
  background: rgba(212,175,55,0.1); border-radius: 6px; padding: 3px 10px; }
.khouse-theme { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.8); flex: 1; }
.khouse-planets { display: flex; flex-wrap: wrap; gap: 6px; }
.kh-planet-chip { font-size: 12px; font-weight: 700; padding: 2px 8px;
  background: rgba(255,255,255,0.05); border-radius: 6px; }
.kh-empty-chip  { font-size: 11px; color: rgba(255,255,255,0.25); }
.khouse-body { padding: 16px 20px; }
.khouse-body p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.75; margin: 0 0 8px; }

/* ═══ YOGAS & DOSHAS ════════════════════════════════════════ */

.kyoga-card {
  background: rgba(212,175,55,0.04); border: 1px solid rgba(212,175,55,0.12);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 12px;
}
.kyoga-name { font-size: 16px; font-weight: 700; color: var(--gold,#d4af37); margin-bottom: 4px; }
.kyoga-type { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.kyoga-desc { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.65; }

.kdosha-card {
  border-radius: 12px; padding: 20px; margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.07);
}
.kd-present { background: rgba(229,57,53,0.04); border-color: rgba(229,57,53,0.2); }
.kd-absent  { background: rgba(102,187,106,0.03); border-color: rgba(102,187,106,0.12); }
.kdosha-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.kdosha-indicator { font-size: 18px; }
.kdosha-name { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.85); flex: 1; }
.kdosha-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; }
.kds-present { background: rgba(229,57,53,0.15); color: #ef9a9a; }
.kds-absent  { background: rgba(102,187,106,0.12); color: #81c784; }
.kdosha-subname { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.kdosha-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 8px; }
.kdosha-note { font-size: 13px; color: var(--gold,#d4af37); margin-top: 10px; }

/* ═══ DASHA COLOUR CLASSES ══════════════════════════════════ */

.dasha-sun     { background: rgba(249,168,37,0.15);  color: #ffd54f; }
.dasha-moon    { background: rgba(160,196,255,0.12); color: #90caf9; }
.dasha-mars    { background: rgba(229,57,53,0.15);   color: #ef9a9a; }
.dasha-mercury { background: rgba(67,160,71,0.15);   color: #a5d6a7; }
.dasha-jupiter { background: rgba(249,168,37,0.1);   color: #fff176; }
.dasha-venus   { background: rgba(236,64,122,0.12);  color: #f48fb1; }
.dasha-saturn  { background: rgba(92,107,192,0.15);  color: #9fa8da; }
.dasha-rahu    { background: rgba(141,110,99,0.15);  color: #bcaaa4; }
.dasha-ketu    { background: rgba(144,164,174,0.12); color: #b0bec5; }

/* ═══ UTILITY ═══════════════════════════════════════════════ */

.kr-empty { color: rgba(255,255,255,0.3); font-size: 14px; text-align: center;
  padding: 40px 0; }

/* ═══ VISUAL ENHANCEMENTS ══════════════════════════════════ */

/* Cinzel for display headings */
.kh-title, .ksi-title, .kss-title,
.kr-section-title, .kht-val, .kdcb-lord,
.kyoga-name, .kstone-name, .kph-lagna,
.krh-name, .kpp-title { font-family: 'Cinzel', Georgia, serif; }

/* Hero bar polish */
.kr-hero {
  background: linear-gradient(180deg, rgba(212,175,55,0.04) 0%, transparent 100%) !important;
}
.krh-name {
  background: linear-gradient(90deg, #fff 60%, rgba(212,175,55,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kht-val {
  letter-spacing: 0.3px;
  text-shadow: 0 0 20px rgba(212,175,55,0.35);
}

/* Glassmorphism on cards */
.krla-card, .kpsych-card, .kstone-card,
.khouse-card, .kyoga-card, .krem-card,
.kpsych-problems, .kpsych-practice, .kpsych-nak,
.ksol-intro, .kdosha-card, .kcs-box, .kr-plain-box {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.krla-card {
  background: rgba(255,255,255,0.028) !important;
  border-color: rgba(255,255,255,0.06) !important;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s !important;
}
.krla-card:hover {
  border-color: rgba(212,175,55,0.28) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(212,175,55,0.06) !important;
  transform: translateY(-2px);
}
.kpsych-card {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.kpsych-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}
.kstone-card {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s !important;
}
.kstone-card:hover {
  border-color: rgba(212,175,55,0.4) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 24px rgba(212,175,55,0.08) !important;
  transform: translateY(-2px);
}

/* ── Scroll fade-up animation ─────────────────────────────── */
@keyframes kFadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}
.k-fade-up {
  opacity: 0;
  animation: kFadeUpIn 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ── Tab cross-fade ───────────────────────────────────────── */
.krt-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.krt-panel.active {
  display: block;
  opacity: 1;
}
.krt-panel.k-fading-in {
  display: block;
  animation: kFadeUpIn 0.35s ease forwards;
}

/* ── Gemstone shimmer ─────────────────────────────────────── */
@keyframes kGemPulse {
  0%, 100% { box-shadow: 0 0 8px var(--gem-glow, rgba(212,175,55,0.3)), inset 0 0 6px rgba(255,255,255,0.1); }
  50%       { box-shadow: 0 0 22px var(--gem-glow, rgba(212,175,55,0.55)), inset 0 0 10px rgba(255,255,255,0.18); }
}
.kstone-gem-circle {
  animation: kGemPulse 3s ease-in-out infinite !important;
}

/* 3D sphere on color swatches */
.kcc-swatch {
  position: relative;
  border: none !important;
  box-shadow: inset -3px -3px 8px rgba(0,0,0,0.45),
              inset 2px 2px 6px rgba(255,255,255,0.22),
              0 0 12px rgba(0,0,0,0.3);
}
.kcc-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
    rgba(255,255,255,0.42) 0%,
    rgba(255,255,255,0.08) 40%,
    transparent 70%);
  pointer-events: none;
}

/* ── Nakshatra symbol display ─────────────────────────────── */
.knak-symbol-display {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 10px 14px;
  margin-bottom: 10px;
}
.knak-symbol-display svg {
  width: 72px; height: 72px;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.5));
  animation: kNakFloat 6s ease-in-out infinite;
}
@keyframes kNakFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-6px) rotate(1deg); }
}

/* ── Planet chip pop-in ───────────────────────────────────── */
@keyframes kChipPop {
  0%   { opacity: 0; transform: scale(0.4); }
  70%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}
.kch-planet { animation: kChipPop 0.45s cubic-bezier(0.34,1.56,0.64,1) both; }

/* ── Number badge pop ─────────────────────────────────────── */
@keyframes kNumPop {
  0%   { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  70%  { transform: scale(1.2) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.knum-badge { animation: kNumPop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }

/* ── Form page glass card hover ───────────────────────────── */
.k-form-card {
  transition: box-shadow 0.3s;
}
.k-form-card:hover {
  box-shadow: 0 0 40px rgba(212,175,55,0.06), 0 16px 48px rgba(0,0,0,0.4);
}

/* ── Hero badge glow ──────────────────────────────────────── */
@keyframes kBadgeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(212,175,55,0); }
  50%       { box-shadow: 0 0 12px rgba(212,175,55,0.2); }
}
.kh-badge { animation: kBadgeGlow 3s ease-in-out infinite; }

/* ── Loading Om pulse ─────────────────────────────────────── */
@keyframes kMandalaRotate { to { transform: rotate(360deg); } }
@keyframes kMandalaPulse {
  0%, 100% { opacity: 0.85; transform: rotate(0deg) scale(1); }
  50%       { opacity: 1;    transform: rotate(180deg) scale(1.04); }
}
.kl-mandala { animation: kMandalaPulse 6s linear infinite !important; }

/* ── Tab button active gold glow ─────────────────────────── */
.krt-tab.active {
  text-shadow: 0 0 12px rgba(212,175,55,0.5);
}

/* ── Section title accent ─────────────────────────────────── */
.kr-section-title {
  letter-spacing: 0.5px;
}

/* ── Lagna box golden left glow ──────────────────────────── */
.kr-plain-box {
  transition: box-shadow 0.3s;
}
.kr-plain-box:hover {
  box-shadow: 0 0 20px rgba(212,175,55,0.07);
}

/* ── Kht items hover ──────────────────────────────────────── */
.kht-item {
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.kht-item:hover {
  border-color: rgba(212,175,55,0.3) !important;
  box-shadow: 0 0 16px rgba(212,175,55,0.08);
  transform: translateY(-1px);
}

/* ── Remedy card hover ───────────────────────────────────── */
.krem-card {
  transition: border-color 0.25s, transform 0.25s;
}
.krem-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateX(3px);
}

/* ── House card hover ────────────────────────────────────── */
.khouse-card {
  transition: border-color 0.25s, box-shadow 0.25s;
}
.khouse-card.kh-occupied:hover {
  border-color: rgba(212,175,55,0.28);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ── Kundali chart border glow ───────────────────────────── */
.kundali-chart {
  box-shadow: 0 0 40px rgba(212,175,55,0.06), 0 0 0 1px rgba(212,175,55,0.18);
}

/* ── Razorpay cancel overlay ─────────────────────────────── */
#rzpCancelOverlay {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  pointer-events: none;
}
#rzpCancelBtn {
  pointer-events: all;
  background: rgba(20,10,40,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 12px 28px;
  color: rgba(255,255,255,0.8);
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
  transition: background 0.2s, color 0.2s;
}
#rzpCancelBtn:hover {
  background: rgba(180,30,30,0.9);
  color: #fff;
  border-color: rgba(255,80,80,0.4);
}

/* ═══ RESPONSIVE ════════════════════════════════════════════ */

@media (max-width: 768px) {
  .k-nav { padding: 16px 20px; }
  .k-hero { padding: 40px 20px 28px; }
  .kh-title { font-size: 26px; }
  .kh-sub { font-size: 15px; }
  .k-form-card { margin: 0 12px 28px; padding: 20px 16px; }
  .kf-row { flex-direction: column; }
  .kf-label { font-size: 11px; }
  .kf-input { font-size: 15px; padding: 12px 14px; }
  .kf-price-badge { padding: 12px 14px; }
  .kfp-amount { font-size: 1.6rem; }
  .kfp-items { font-size: 0.78rem; }
  .kf-btn { font-size: 14px; padding: 16px; }
  .kf-btn-symbol { display: none; }
  .kr-hero { padding: 24px 20px; }
  .krh-trinity { gap: 8px; flex-wrap: wrap; }
  .kht-item { min-width: 80px; }
  .kr-life-areas { padding: 32px 16px; }
  .krla-grid { grid-template-columns: 1fr; }
  .kr-tabs { padding: 0 12px 40px; }
  .krt-nav { gap: 4px; }
  .krt-tab { font-size: 11px; padding: 8px 10px; }
  .kc-layout { grid-template-columns: 1fr; }
  .kpsych-grid { grid-template-columns: 1fr; }
  .kd-current-block { grid-template-columns: 1fr; }
  .k-trust { flex-wrap: wrap; padding: 0 20px 32px; gap: 12px; }
  .kt-div { display: none; }
  .kstone-card { flex-direction: column; }
  .kstone-grid { grid-template-columns: 1fr; }
  .kcolor-grid { grid-template-columns: repeat(3,1fr); }
  .k-pillars { flex-direction: column; gap: 16px; padding: 24px 16px; }
  .kp-divider { display: none; }
  #rzpCancelBtn { font-size: 12px; padding: 10px 20px; }
}

@media (max-width: 480px) {
  .kh-title { font-size: 22px; }
  .kh-badge { font-size: 10px; }
  .k-form-card { margin: 0 8px 24px; padding: 16px 14px; }
  .kf-btn { font-size: 13px; letter-spacing: 0.04em; }
  .krh-name { font-size: 20px; }
  .krt-tab { font-size: 10px; padding: 7px 8px; }
}

/* ── Dark planet orb — mimics image 4 (dark planet with blue halo) ───────── */
.k-bg-planet {
  position: fixed;
  top: 50%;
  right: -28%;
  transform: translateY(-50%);
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%,
    rgba(25, 55, 160, 0.14) 0%,
    rgba(12, 28, 95,  0.09) 38%,
    rgba(5,  12, 45,  0.04) 65%,
    transparent 80%
  );
  box-shadow:
    0 0 180px 60px rgba(20, 80, 255, 0.06),
    0 0 60px  20px rgba(20, 80, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

/* ── Bottom New Kundali CTA ──────────────────────────────────── */
.kr-bottom-cta {
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: 48px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(212,175,55,0.03) 100%);
}
.kr-bottom-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}
.kr-bottom-cta-text {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.05rem;
  color: rgba(240,237,230,0.45);
  font-style: italic;
  margin: 0;
}
.kr-bottom-new-btn {
  background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06));
  border: 1px solid rgba(212,175,55,0.38);
  color: var(--gold, #d4af37);
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: .78rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.kr-bottom-new-btn:hover {
  background: rgba(212,175,55,0.2);
  border-color: rgba(212,175,55,0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,175,55,0.15);
}
.kr-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.kr-bottom-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  letter-spacing: 1px;
  color: rgba(212,175,55,0.5);
  transition: color .2s;
}
.kr-bottom-links a:hover { color: var(--gold, #d4af37); }
.kr-bottom-links span { color: rgba(212,175,55,0.2); font-size: .7rem; }
