.kundli-page { --kp-gold: #ebc882; --kp-muted: #b6bac8; background: radial-gradient(ellipse at 50% 0, #312538 0, #10121b 48%, #0d1018 100%); color: #f4f1eb; font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', sans-serif; line-height: 1.7; }
.kundli-page [hidden] { display: none !important; }
.kundli-page *, .kundli-page *::before, .kundli-page *::after { box-sizing: border-box; }
.kundli-page a { color: var(--kp-gold); }
.kundli-page button, .kundli-page input, .kundli-page select { font: inherit; }
.kundli-page button { cursor: pointer; }
.kundli-page :focus-visible { outline: 3px solid #f5cd77; outline-offset: 4px; }
.kundli-page :is(h1, h2, h3) { line-height: 1.4; text-wrap: balance; overflow-wrap: anywhere; }
.kundli-page h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
.kundli-page h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.kundli-page p { margin: .6rem 0; }
.kundli-page .header { background: #0f1117ed; backdrop-filter: blur(12px); }
.kundli-page .header-inner { max-width: 1140px; gap: 1rem; }
.kundli-page .logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; line-height: 1.4; }
.kundli-page .logo-text small { font-size: .65rem; }
.header-actions { display: flex; gap: .8rem; align-items: center; }
#profileContainer { position: relative; }
#authProfilePic { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--kp-gold); cursor: pointer; }
#authMenu { position: absolute; right: 0; top: 45px; flex-direction: column; min-width: 180px; padding: 1rem; background: #1c1e29; border: 1px solid #554534; border-radius: 12px; z-index: 120; }
#authMenu button { border: 0; background: transparent; color: #f2b4ac; text-align: left; padding: .5rem 0; }
.kundli-page .active-lang { color: #fff; font-weight: 700; }
.kp-main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 118px 0 48px; }
.kp-hero { text-align: center; max-width: 850px; margin: 0 auto 36px; }
.kp-eyebrow { display: block; color: var(--kp-gold); letter-spacing: .12em; font-size: .7rem; font-weight: 700; margin-bottom: .8rem; }
.kp-hero h1 { font-family: 'Cinzel', 'Noto Sans Devanagari', serif; font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 500; letter-spacing: -.025em; margin: 1rem 0; }
.kp-hero > p { color: #ced0d8; max-width: 720px; margin: 0 auto; }
.kp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; font-size: .78rem; margin-top: 1.5rem; color: #b6d9c6; }
.kp-steps { padding: 0; margin: 1rem 0 1.5rem; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; color: var(--kp-muted); font-size: .8rem; }
.kp-steps li { border-bottom: 1px solid #5b4838; padding-bottom: .7rem; }
.kp-panel { padding: clamp(18px, 3vw, 32px); background: linear-gradient(145deg, #1d1e2bed, #171923ed); border: 1px solid #ffffff14; border-radius: 20px; min-width: 0; }
#calculator { max-width: 900px; margin: 0 auto; scroll-margin-top: 110px; }
.kp-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; }
.kp-section-heading h2 { margin: 0; }
.kp-pill { display: inline-block; flex-shrink: 0; background: #d7b67414; color: var(--kp-gold); border: 1px solid #d7b67436; padding: .35rem .65rem; border-radius: 8px; font-size: .72rem; }
.kp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.kundli-page label { display: block; margin-bottom: .4rem; font-size: .84rem; color: #dedee5; }
.kundli-page .form-group { margin: 0; min-width: 0; }
.kundli-page .form-input { width: 100%; min-width: 0; height: 49px; padding: .6rem .9rem; background: #0f111bd9; color: #fff; border: 1px solid #ffffff26; border-radius: 10px; font-size: .9rem; color-scheme: dark; }
.kundli-page select.form-input option { background: #141722; color: #fff; }
.kp-note { font-size: .78rem; color: var(--kp-muted); overflow-wrap: anywhere; }
#timeAdvice { margin: .8rem 0 1.4rem; }
.kp-place-search { display: flex; align-items: stretch; gap: .8rem; }
.kp-place-search > input { flex: 1; }
.kp-button { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.1rem; border: 1px solid #9d845756; border-radius: 10px; background: #e4c58412; color: var(--kp-gold); font-weight: 600; font-size: .85rem !important; line-height: 1.5; text-align: center; transition: background .2s; }
.kp-button:hover:not(:disabled) { background: #e4c58424; }
.kp-button:disabled { opacity: .55; cursor: not-allowed; }
.kp-primary { background: linear-gradient(110deg, #f3d99a, #d9ad65); color: #241b11; border-color: transparent; padding: .9rem 1.5rem; }
.kp-primary:hover:not(:disabled) { background: #ffe4a9; }
.kp-small { padding: .45rem .75rem; }
.kp-quiet { background: transparent; border-color: #ffffff21; color: #c0c4d0; }
.kp-form-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.3rem 0 .8rem; }
.kp-place-choices { display: grid; gap: .5rem; margin-top: .75rem; }
.kp-place-choice { text-align: left; justify-content: flex-start; overflow-wrap: anywhere; }
.kp-selected { color: #b6dcc3; font-size: .85rem; background: #5e997214; padding: .7rem .9rem; border-radius: 8px; }
.kp-error { background: #ae484622; color: #ffb6b2; border-left: 3px solid #cb7470; padding: .85rem 1rem; margin: 1rem 0; border-radius: 6px; font-size: .85rem; }
.kp-loading { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--kp-gold); font-size: .85rem; padding: 1rem; }
.kp-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #dabb8540; border-top-color: var(--kp-gold); border-radius: 50%; animation: kp-spin .8s linear infinite; }
@keyframes kp-spin { to { transform: rotate(360deg); } }
.kp-result-heading { margin-top: 3rem; scroll-margin-top: 110px; }
.kp-caution { background: #d7a64012; border-left: 3px solid #b39864; color: #ddcba7; padding: .75rem 1rem; border-radius: 6px; font-size: .8rem; margin-bottom: 1.2rem; }
.kp-caution:empty { display: none; }
.kp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.kp-fact { padding: 1.15rem; background: #242331; border: 1px solid #d7b6742b; border-radius: 14px; }
.kp-fact > span { display: block; font-size: .72rem; color: var(--kp-muted); margin-bottom: .45rem; }
.kp-fact strong { color: var(--kp-gold); font-size: 1.3rem; font-weight: 500; display: block; overflow-wrap: anywhere; }
.kp-fact small { font-size: .7rem; color: #c0c4d0; }
.kp-chart-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.25rem; margin: 1.5rem 0 2.5rem; }
.kp-birth-chart { margin: 1rem auto; max-width: 400px; }
.kp-birth-chart svg { display: block; width: 100%; height: auto; }
.kp-table-wrap { overflow-x: auto; }
.kp-planets { width: 100%; border-collapse: collapse; font-size: .78rem; }
.kp-planets :is(th, td) { padding: .62rem .35rem; border-bottom: 1px solid #ffffff0d; text-align: left; }
.kp-planets th { color: #cbb386; font-size: .69rem; }
.kp-planets td:first-child { color: #e9ce9a; }
.kp-insights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.kp-insight { background: #1b1d28; padding: 1.4rem; border-radius: 15px; border: 1px solid #ffffff13; }
.kp-insight .kp-basis { color: #c6ae80; font-size: .75rem; margin-bottom: .8rem; }
.kp-insight p { font-size: .85rem; color: #cbced7; }
.kp-insight h4 { font-size: .9rem; line-height: 1.55; font-weight: 500; }
.kp-insight .kp-action { border-top: 1px solid #ffffff16; margin-top: 1.1rem; padding-top: .8rem; color: #b7d8c5; font-size: .8rem; }
.kp-method { margin: 1.5rem 0 3rem; padding: 1rem 1.25rem; border: 1px solid #ffffff1a; border-radius: 10px; font-size: .82rem; color: #bfc3cd; }
.kundli-page summary { cursor: pointer; color: #ebd7ac; }
.kp-premium { border: 1px solid #ad8b4c60; border-radius: 22px; padding: clamp(18px, 3.5vw, 36px); background: radial-gradient(ellipse at 100% 0, #68503d24, transparent 60%), #191a25; scroll-margin-top: 110px; }
.kp-premium > p { color: var(--kp-muted); max-width: 800px; font-size: .9rem; margin: .9rem 0 1.5rem; }
.kp-premium .kp-insight { background: #11131d; }
.kp-premium .kp-eyebrow { font-size: .65rem; }
.kp-offer-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.2rem; margin-top: 1.7rem; }
.kp-comparison dt { color: var(--kp-gold); font-size: .85rem; font-weight: 600; margin-top: 1rem; }
.kp-comparison dd { color: #c1c5d0; font-size: .84rem; margin: .35rem 0; }
.kp-delivery { padding-left: 1.2rem; color: #b9bdc9; font-size: .8rem; margin: 1.4rem 0 0; }
.kp-delivery li { padding: .3rem 0 .3rem .4rem; }
.kp-purchase { border-color: #b6955350; display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.kp-price { font-size: 2.5rem; font-weight: 600; color: var(--kp-gold); line-height: 1.3; }
.kp-purchase a { font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.kp-purchase #purchaseOffer, .kp-purchase #buyReport { width: 100%; }
#orderStatus { font-size: .8rem; color: #c5cfcd; overflow-wrap: anywhere; }
#orderStatus p { margin: .4rem 0 .65rem; }
#orderStatus a { display: block; margin-bottom: .5rem; }
.kp-faq { max-width: 850px; margin: 3rem auto 1rem; }
.kp-faq details { padding: 1rem 0; border-bottom: 1px solid #ffffff1c; }
.kp-faq p { color: var(--kp-muted); font-size: .86rem; }
.kp-footer { padding: 1rem 1rem 3rem; text-align: center; color: #a0a6b6; font-size: .78rem; border-top: 1px solid #ffffff12; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem; z-index: 200; background: #151922; clip-path: inset(50%); }
.skip-link:focus { top: 1rem; clip-path: none; }
#resultTitle { scroll-margin-top: 135px; }
@media (max-width: 760px) {
    .kundli-page .header-inner { flex-wrap: wrap !important; }
    .kundli-page .nav { display: flex !important; position: static !important; flex-direction: row !important; transform: none !important; width: 100% !important; height: auto !important; order: 3; justify-content: center; padding: 0 !important; background: transparent !important; gap: .5rem; }
    .kundli-page .nav-link { font-size: .75rem !important; padding: .3rem .7rem !important; }
    .kp-main { padding-top: 145px; }
    .kp-insights { grid-template-columns: 1fr; }
    .kp-chart-row, .kp-offer-layout { grid-template-columns: 1fr; }
    .kp-facts { grid-template-columns: 1fr 1fr; }
    .kp-fact strong { font-size: 1.15rem; }
    .kp-chart-row { gap: 1rem; }
    .kp-purchase .kp-price { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .kp-main { width: calc(100% - 24px); }
    .kp-hero h1 { font-size: 1.85rem; }
    .kp-hero > p { font-size: .87rem; }
    .kp-steps { gap: .5rem; font-size: .67rem; }
    .kp-fields { grid-template-columns: 1fr; gap: 1rem; }
    .kp-place-search { flex-direction: column; }
    .kp-section-heading { flex-wrap: wrap; gap: .6rem; }
    .kp-facts { gap: .6rem; }
    .kp-fact { padding: .9rem; }
    .kp-form-actions > button { width: 100%; }
    .kp-panel { border-radius: 14px; }
    .kp-planets { font-size: .7rem; }
    .kp-insight { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .kundli-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
