/* Copyright (c) 2026 Shambhavi Astro. All rights reserved. Proprietary - see the LICENSE file. */
/* ==========================================================================
   Free Kundli: "astro light glass" theme.
   Only this page loads the file and everything is scoped to body.kd-glass,
   so no other page changes. Remove the class from <body> to switch it off.
   A soft morning-sky background with frosted glass cards on top.
   ========================================================================== */

body.kd-glass { background: #f4f0fb; position: relative; }

/* the sky: soft colour clouds that stay still while the page scrolls */
body.kd-glass::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vmax 46vmax at 8% 4%, rgba(190, 170, 255, .62), transparent 62%),
    radial-gradient(52vmax 42vmax at 96% 12%, rgba(255, 205, 150, .55), transparent 60%),
    radial-gradient(58vmax 48vmax at 88% 82%, rgba(150, 200, 255, .55), transparent 62%),
    radial-gradient(54vmax 44vmax at 4% 92%, rgba(255, 176, 208, .46), transparent 60%),
    linear-gradient(180deg, #f8f4ff 0%, #f3f1fd 45%, #fdf6ee 100%);
}
/* a few faint stars */
body.kd-glass::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, .95) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 31% 62%, rgba(255, 255, 255, .9) 50%, transparent 52%),
    radial-gradient(2px 2px at 58% 28%, rgba(255, 255, 255, .95) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 77% 71%, rgba(255, 255, 255, .9) 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 88% 40%, rgba(227, 165, 55, .8) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 44% 88%, rgba(227, 165, 55, .7) 50%, transparent 52%),
    radial-gradient(1.8px 1.8px at 6% 74%, rgba(255, 255, 255, .95) 50%, transparent 52%);
  background-size: 420px 520px;
}
body.kd-glass main, body.kd-glass .section { background: transparent; }

/* ---------- hero: light, airy, on the sky itself ---------- */
body.kd-glass .kd-hero { background: transparent; color: var(--text); padding-bottom: 8px; }
body.kd-glass .kd-hero h1 {
  color: var(--indigo-900);
  background: linear-gradient(100deg, #2c2760 0%, #5a52b5 45%, #b9801a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.kd-glass .kd-hero p { color: #4a4668; }
body.kd-glass .kd-hero .eyebrow { color: var(--gold-700); }
body.kd-glass .kd-langs {
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 6px 20px -10px rgba(60, 50, 130, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
}
body.kd-glass .kd-lang { color: var(--indigo-800); }
body.kd-glass .kd-lang.is-on { background: linear-gradient(180deg, var(--gold-300), var(--gold-400)); color: var(--indigo-950); box-shadow: 0 4px 12px -4px rgba(227, 165, 55, .8); }

/* ---------- glass cards ---------- */
body.kd-glass .qb-card,
body.kd-glass .kd-faq details,
body.kd-glass .alert {
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 24px;
  box-shadow: 0 24px 50px -28px rgba(60, 50, 130, .45), 0 2px 8px rgba(60, 50, 130, .06), inset 0 1px 0 rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
}
body.kd-glass .kd-faq details { border-radius: 18px; margin-bottom: 10px; padding-left: 16px; padding-right: 16px; }
body.kd-glass .kd-locked { background: rgba(255, 250, 240, .62); }
body.kd-glass .qb-h { color: var(--indigo-900); }
body.kd-glass .kd-sec > .qb-h .fa { background: linear-gradient(160deg, #fff, #f3e7ff); color: var(--gold-700); box-shadow: 0 6px 14px -8px rgba(90, 82, 181, .6), inset 0 1px 0 #fff; border: 1px solid rgba(255, 255, 255, .9); }

/* small tiles inside a card: clearer glass, no heavy blur (keeps phones fast) */
body.kd-glass .kd-grid div,
body.kd-glass .kd-tiles li,
body.kd-glass .kd-hooks li,
body.kd-glass .kd-dates li,
body.kd-glass .kd-dcard,
body.kd-glass .kd-kinds li,
body.kd-glass .kd-lv,
body.kd-glass .kd-lead {
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px -16px rgba(60, 50, 130, .5), inset 0 1px 0 rgba(255, 255, 255, .9);
  border-radius: 16px;
}
body.kd-glass .kd-lead { border: 1px dashed rgba(227, 165, 55, .8); background: rgba(255, 250, 238, .6); }

/* ---------- form fields ---------- */
body.kd-glass .field input, body.kd-glass .field select, body.kd-glass .field textarea,
body.kd-glass .kd-seg span, body.kd-glass .sj-ampm {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(120, 110, 180, .28);
  border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(60, 50, 130, .06);
}
body.kd-glass .field input:focus, body.kd-glass .field select:focus { background: #fff; border-color: var(--indigo-500); box-shadow: 0 0 0 4px rgba(90, 82, 181, .18); }
body.kd-glass .kd-seg input:checked + span { background: linear-gradient(180deg, #3a3380, #1f1b46); border-color: #1f1b46; color: #fff; box-shadow: 0 10px 20px -12px rgba(31, 27, 70, .9); }
body.kd-glass .sj-ampm button[aria-pressed="true"] { background: linear-gradient(180deg, #3a3380, #1f1b46); }
body.kd-glass .field.has-error input, body.kd-glass .field.has-error select { border-color: var(--danger); }
body.kd-glass .kd-places { background: rgba(255, 255, 255, .92); border-color: rgba(255, 255, 255, .9); border-radius: 16px; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
body.kd-glass .kd-places li:hover, body.kd-glass .kd-places li[aria-selected="true"] { background: rgba(90, 82, 181, .1); }

/* ---------- buttons ---------- */
body.kd-glass .btn { border-radius: 999px; }
body.kd-glass .btn-gold { background: linear-gradient(180deg, #fbe2a8 0%, #efbf5c 55%, #e3a537 100%); box-shadow: 0 14px 28px -12px rgba(227, 165, 55, .95), inset 0 1px 0 rgba(255, 255, 255, .7); }
body.kd-glass .btn-gold:active { transform: scale(.985); }

/* ---------- the dark feature cards become deep night glass ---------- */
body.kd-glass .kd-top, body.kd-glass .kd-callout, body.kd-glass .kd-cover-card {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(140, 120, 255, .45), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(239, 191, 92, .22), transparent 60%),
    linear-gradient(160deg, rgba(31, 27, 70, .92), rgba(44, 39, 96, .88));
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(31, 27, 70, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
}
body.kd-glass .kd-chips li { background: rgba(255, 255, 255, .14); border-color: rgba(246, 213, 143, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }

/* ---------- floating pieces ---------- */
body.kd-glass .kd-bar {
  background: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 -18px 40px -24px rgba(60, 50, 130, .55);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
body.kd-glass .kd-menu-btn { background: rgba(31, 27, 70, .82); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
body.kd-glass .kd-sheet-in, body.kd-glass .kd-drawer-in {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  box-shadow: 0 -20px 60px -20px rgba(31, 27, 70, .5), inset 0 1px 0 #fff;
}
body.kd-glass .kd-sheet-in { border-radius: 28px 28px 0 0; border-top: 1px solid rgba(255, 255, 255, .95); }
body.kd-glass .kd-offer { background: rgba(255, 255, 255, .7); border-color: rgba(120, 110, 180, .22); border-radius: 20px; }
body.kd-glass .kd-offer-best { border-color: var(--gold-500); box-shadow: 0 16px 34px -20px rgba(227, 165, 55, .9); }

/* phones and browsers that cannot blur: use a more solid white so text stays easy to read */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.kd-glass .qb-card, body.kd-glass .kd-faq details, body.kd-glass .alert { background: rgba(255, 255, 255, .9); }
  body.kd-glass .kd-bar, body.kd-glass .kd-sheet-in, body.kd-glass .kd-drawer-in { background: #fff; }
}
/* people who asked their phone for less see-through surfaces */
@media (prefers-reduced-transparency: reduce) {
  body.kd-glass .qb-card, body.kd-glass .kd-faq details, body.kd-glass .alert, body.kd-glass .kd-bar, body.kd-glass .kd-sheet-in, body.kd-glass .kd-drawer-in { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media print {
  body.kd-glass::before, body.kd-glass::after { display: none; }
  body.kd-glass .qb-card { background: #fff; box-shadow: none; }
}

/* ==========================================================================
   Small drawn icons beside the form labels (both looks). They are pictures in
   the style sheet, so changing the language never removes them.
   ========================================================================== */
#f-name > label::before, #f-bname > label::before, #f-gender > .kd-lab::before, #f-date > label::before, #f-time > label::before, #f-place > label::before, #f-lang > .kd-lab::before, #f-lead_email > label::before, #f-vemail > label::before, #f-lead_phone > label::before, #f-bphone > label::before {
  content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px; background: center / contain no-repeat;
}
#f-name > label::before, #f-bname > label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3Cpath d='M19 3v4M17 5h4' stroke='%23e3a537'/%3E%3C/svg%3E"); }
#f-gender > .kd-lab::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3Cpath d='M3 19c.8-3 2.6-4.5 5-4.5s4.200 1.500 5 4.500'/%3E%3Ccircle cx='17' cy='9' r='2.500' stroke='%23e3a537'/%3E%3Cpath d='M13.500 19c.5-2.300 1.800-3.500 3.500-3.500s3 1.200 3.500 3.500' stroke='%23e3a537'/%3E%3C/svg%3E"); }
#f-date > label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.500' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.500 10h17M8 3v4M16 3v4'/%3E%3Cpath d='M12 12.600l.9 1.800 2 .3-1.450 1.400.35 2-1.800-.95-1.800.95.35-2-1.450-1.400 2-.3z' stroke='%23e3a537' fill='%23e3a537' stroke-width='.6'/%3E%3C/svg%3E"); }
#f-time > label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M12 7.500V12l3 2' stroke='%23e3a537'/%3E%3C/svg%3E"); }
#f-place > label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.500-5.600-6.500-11a6.500 6.500 0 0 1 13 0c0 5.400-6.500 11-6.500 11z'/%3E%3Ccircle cx='12' cy='10' r='2.300' stroke='%23e3a537'/%3E%3C/svg%3E"); }
#f-lang > .kd-lab::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.500'/%3E%3Cpath d='M3.500 12h17' /%3E%3Cpath d='M12 3.500c2.600 2.400 3.800 5.200 3.800 8.500s-1.200 6.100-3.800 8.500c-2.600-2.400-3.800-5.200-3.800-8.500S9.400 5.900 12 3.500z' stroke='%23e3a537'/%3E%3C/svg%3E"); }
#f-lead_email > label::before, #f-vemail > label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.500' width='18' height='13' rx='3'/%3E%3Cpath d='M4 8l8 5.500L20 8' stroke='%23e3a537'/%3E%3C/svg%3E"); }
#f-lead_phone > label::before, #f-bphone > label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a52b5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2.500' width='10' height='19' rx='2.500'/%3E%3Cpath d='M10.500 18.500h3' stroke='%23e3a537'/%3E%3C/svg%3E"); }

/* a drawn zodiac wheel with the Sun and the Moon at the top of the page */
.kd-hero .container { position: relative; }
.kd-hero .container::after {
  content: ""; position: absolute; top: -8px; right: 14px; width: 62px; height: 62px; pointer-events: none; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='60' cy='60' r='50' stroke='%23e3a537' stroke-width='1.6'/%3E%3Ccircle cx='60' cy='60' r='36' stroke='%235a52b5' stroke-width='1.2' stroke-dasharray='2 5'/%3E%3Cg stroke='%23e3a537' stroke-width='1.4'%3E%3Cpath d='M60 14v10' transform='rotate(0 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(30 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(60 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(90 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(120 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(150 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(180 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(210 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(240 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(270 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(300 60 60)'/%3E%3Cpath d='M60 14v10' transform='rotate(330 60 60)'/%3E%3C/g%3E%3Cpath d='M60 38l5 14.500 15 .500-12 9.200 4.300 14.500L60 68l-12.300 8.700L52 62.200 40 53l15-.500z' fill='%23e3a537' fill-opacity='.9' stroke='%23e3a537' stroke-width='1'/%3E%3Ccircle cx='98' cy='20' r='9' fill='%23e3a537' fill-opacity='.85'/%3E%3Cg stroke='%23e3a537' stroke-width='1.6'%3E%3Cpath d='M98 5v3M98 32v3M83 20h3M110 20h3M87.500 9.500l2 2M106.500 28.500l2 2M108.500 9.500l-2 2M89.500 28.500l-2 2'/%3E%3C/g%3E%3Cpath d='M26 92a11 11 0 1 0 10 15.500A9 9 0 0 1 26 92z' fill='%235a52b5' fill-opacity='.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 700px) { .kd-hero .container::after { width: 170px; height: 170px; top: 0; right: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .kd-hero .container::after { animation: kdturn 90s linear infinite; }
  @keyframes kdturn { to { transform: rotate(360deg); } }
}
