/* Premium UI fixes â€” footer visibility, images, forms, grids (load last) */

#lc-v2.premium-active body.premium-theme {
    display: block;
    min-height: 0;
}

#lc-v2.premium-active .wrapper {
    position: relative;
    z-index: 2;
}

#lc-v2.premium-active #footer,
#lc-v2.premium-active .premium-footer {
    position: relative;
    z-index: 30;
    isolation: isolate;
    display: block !important;
    visibility: visible !important;
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
    clear: both;
}

#lc-v2.premium-active .premium-cosmos {
    z-index: 0;
}

/* Tighter gap between trust + live astrologers */
#lc-v2.premium-active #premium-about {
    padding-bottom: 2rem !important;
}

#lc-v2.premium-active #premium-live-astrologers {
    padding-top: 2.5rem !important;
}

/* Horoscope grid â€” balanced 4x3 */
#lc-v2.premium-active .premium-zodiac-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem;
}

@media (max-width: 991.98px) {
    #lc-v2.premium-active .premium-zodiac-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    #lc-v2.premium-active .premium-zodiac-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

#lc-v2.premium-active .premium-zodiac-card__glyph--classic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.10);
    border: 2px solid rgba(201, 168, 76, 0.45);
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.18);
    font-size: 1.75rem;
    line-height: 1;
    color: var(--premium-gold-light, #F0D080);
    text-shadow: 0 0 12px rgba(201, 168, 76, 0.55);
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

#lc-v2.premium-active .premium-zodiac-card:hover .premium-zodiac-card__glyph--classic {
    background: rgba(201, 168, 76, 0.18);
    box-shadow: 0 0 28px rgba(201, 168, 76, 0.4);
    transform: scale(1.06);
}

/* Hide the colored dot image entirely — glyph ring is the visual */
#lc-v2.premium-active .premium-zodiac-card__icon {
    display: none !important;
}

#lc-v2.premium-active .premium-calendars__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#lc-v2.premium-active .premium-calendars__tab {
    border: 1px solid rgba(197, 160, 89, 0.45);
    background: rgba(15, 10, 6, 0.65);
    color: var(--premium-text-muted, #c9b89a);
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#lc-v2.premium-active .premium-calendars__tab.is-active {
    background: linear-gradient(135deg, #c5a059, #e8c97a);
    color: #1a1208;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.25);
}

#lc-v2.premium-active .premium-hindu-today {
    padding: 1rem 1.25rem;
}

#lc-v2.premium-active .premium-hindu-today__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--premium-gold, #c5a059);
    margin-bottom: 0.2rem;
}

/* Kundli form â€” prevent button overlap */
#lc-v2.premium-active .premium-kundli-form.premium-card {
    overflow: visible !important;
    min-height: auto !important;
}

#lc-v2.premium-active .premium-kundli-form form .row {
    position: relative;
    align-items: flex-end;
}

#lc-v2.premium-active .premium-kundli-form .col-md-6,
#lc-v2.premium-active .premium-kundli-form .col-12 {
    position: relative;
    z-index: 1;
}

#lc-v2.premium-active .premium-kundli-form .col-12:last-child {
    margin-top: 0.75rem;
    z-index: 3;
}

#lc-v2.premium-active .premium-kundli-form button[type="submit"] {
    position: static !important;
    transform: none !important;
    margin-top: 0 !important;
    width: 100%;
}

#lc-v2.premium-active .premium-kundli-form .form-control {
    min-height: 46px;
}

/* Hero zodiac wheel â€” CSS only, no broken PNG */
/* hero wheel positioning owned by lc-astrotalk-polish.css */


#lc-v2.premium-active .premium-zodiac-wheel-css {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(201, 168, 76, 0.4);
    box-shadow:
        0 0 80px rgba(123, 94, 167, 0.35),
        inset 0 0 60px rgba(201, 168, 76, 0.08);
    background:
        radial-gradient(circle at center, rgba(201, 168, 76, 0.06) 0%, transparent 55%),
        repeating-conic-gradient(from 0deg, rgba(201, 168, 76, 0.12) 0deg 30deg, transparent 30deg 60deg);
    animation: none;
}

#lc-v2.premium-active .premium-zodiac-wheel-css::after {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.25);
}

@keyframes premiumWheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Testimonial avatars — override owl-carousel img { width: 100% } */
#lc-v2.premium-active .premium-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

#lc-v2.premium-active .premium-testimonial-card__avatar {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    min-width: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 168, 76, 0.45);
    background: rgba(15, 15, 42, 0.8);
}

#lc-v2.premium-active .premium-testimonial-card__name {
    display: block;
    font-size: 0.95rem;
}

#lc-v2.premium-active .premium-testimonial-card__city {
    display: block;
    font-size: 0.8rem;
    color: var(--premium-text-muted, #9ca3af);
    margin-top: 0.15rem;
}

#lc-v2.premium-active .premium-testimonials-carousel .owl-item img.premium-testimonial-card__avatar {
    width: 48px !important;
    height: 48px !important;
}

/* Blog / astro images */
#lc-v2.premium-active .premium-blog-card__img,
#lc-v2.premium-active .premium-blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: rgba(15, 15, 42, 0.6);
}

#lc-v2.premium-active .premium-zodiac-wheel-css__inner {
    display: none;
}

#lc-v2.premium-active .premium-zodiac-wheel-css__glyphs {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: auto;
}

#lc-v2.premium-active .premium-zodiac-wheel-css__spoke {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
}

#lc-v2.premium-active .premium-zodiac-wheel-css__glyph {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    line-height: 1;
    color: inherit;
    text-shadow: none;
    transform: none;
}

}

#lc-v2.premium-active .premium-lucky-badge--color {
    color: #fff !important;
    background: rgba(15, 15, 42, 0.85);
    border: 1px solid var(--lucky-accent, var(--premium-gold));
    box-shadow: 0 0 8px color-mix(in srgb, var(--lucky-accent, #C9A84C) 35%, transparent);
}

#lc-v2.premium-active .premium-compat-gauge__center {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    text-align: center;
    line-height: 1.1;
}

#lc-v2.premium-active .premium-compat-gauge__percent {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--premium-gold-light, #F0D080);
}

#lc-v2.premium-active .premium-compat-gauge__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--premium-text-muted, #9CA3AF);
}

#lc-v2.premium-active .premium-calendar__day {
    cursor: pointer;
    border: none;
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

#lc-v2.premium-active .premium-calendar__day:hover,
#lc-v2.premium-active .premium-calendar__day.is-selected {
    border-color: var(--premium-gold);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.25);
}

#lc-v2.premium-active .premium-calendar__day.has-event {
    background: rgba(123, 94, 167, 0.12);
}

#lc-v2.premium-active .premium-calendar__day--empty {
    visibility: hidden;
    pointer-events: none;
}

#lc-v2.premium-active .premium-calendar__detail {
    padding: 1.25rem;
    border: 1px solid var(--premium-border);
}

#lc-v2.premium-active .premium-calendar__detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

#lc-v2.premium-active .premium-how-step__num {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--premium-gold);
    border: 1px solid rgba(201, 168, 76, 0.45);
    background: rgba(201, 168, 76, 0.1);
}

#sf_chat_button1 img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 168, 76, 0.65);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
/* App pocket CTA + explore grid (fills gap before footer) */
#lc-v2.premium-active #premium-app-pocket {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem) !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

#lc-v2.premium-active .premium-app-pocket__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
    color: var(--lc-premium-muted, #b8adc9);
    font-size: 0.95rem;
}

#lc-v2.premium-active .premium-app-pocket__features i {
    color: var(--lc-premium-gold, #d7b65d);
    margin-top: 0.15rem;
}

#lc-v2.premium-active .premium-app-pocket__store img {
    border-radius: 8px;
    transition: transform 0.25s, box-shadow 0.25s;
}

#lc-v2.premium-active .premium-app-pocket__store:hover img {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

#lc-v2.premium-active .premium-app-pocket__mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

#lc-v2.premium-active .premium-app-pocket__mockup-glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.18), transparent 70%);
    animation: premiumAppGlow 4s ease-in-out infinite alternate;
}

@keyframes premiumAppGlow {
    from { opacity: 0.6; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.05); }
}

#lc-v2.premium-active .premium-app-pocket__mockup-screen {
    position: relative;
    z-index: 1;
    width: min(260px, 72vw);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 28px;
    background: rgba(8, 10, 28, 0.88);
    border: 1px solid rgba(201, 168, 76, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    animation: premiumAppFloat 5s ease-in-out infinite;
}

@keyframes premiumAppFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#lc-v2.premium-active .premium-app-pocket__mockup-icon {
    font-size: 3rem;
    color: var(--lc-premium-gold-light, #ffe19a);
    margin-bottom: 0.75rem;
    display: block;
    text-shadow: 0 0 24px rgba(201, 168, 76, 0.5);
}

#lc-v2.premium-active .premium-app-pocket__mockup-screen strong {
    display: block;
    font-family: "Playfair Display", serif;
    color: var(--lc-premium-ink, #f8f2dd);
    font-size: 1.25rem;
}

#lc-v2.premium-active .premium-app-pocket__mockup-screen span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--lc-premium-muted, #b8adc9);
}

#lc-v2.premium-active .premium-app-pocket__explore {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

#lc-v2.premium-active .premium-app-pocket__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 991.98px) {
    #lc-v2.premium-active .premium-app-pocket__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    #lc-v2.premium-active .premium-app-pocket__grid {
        grid-template-columns: 1fr;
    }
}

#lc-v2.premium-active .premium-app-pocket__link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.15rem 1.25rem;
    text-decoration: none !important;
    min-height: 100%;
}

#lc-v2.premium-active .premium-app-pocket__link strong {
    color: var(--lc-premium-ink, #f8f2dd) !important;
    font-size: 0.98rem;
}

#lc-v2.premium-active .premium-app-pocket__link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.28);
    color: var(--lc-premium-gold-light, #ffe19a);
    font-size: 1rem;
}

#lc-v2.premium-active .premium-app-pocket__link:hover .premium-app-pocket__link-icon {
    background: rgba(201, 168, 76, 0.22);
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
}

#lc-v2.premium-active #footer {
    margin-top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
    #lc-v2.premium-active .premium-app-pocket__mockup-screen,
    #lc-v2.premium-active .premium-app-pocket__mockup-glow {
        animation: none !important;
    }
}
/* Collapse legacy homepage duplicates (they were creating a huge empty gap before footer) */
#lc-v2.premium-active .home-legacy-suppressed,
#lc-v2.premium-active #home-legacy-lc-sections,
#lc-v2.premium-active #index-legacy-home-duplicate-sections,
#lc-v2.premium-active #index-legacy-home-blog-duplicate,
#lc-v2.premium-active .wrapper > .d-none[aria-hidden="true"],
#lc-v2.premium-active .wrapper > .home-legacy-suppressed {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border: 0 !important;
}

#lc-v2.premium-active:has(#premium-app-pocket) #premium-app-pocket {
    padding-bottom: 2rem !important;
    margin-bottom: 0 !important;
}

#lc-v2.premium-active:has(#premium-app-pocket) #footer {
    margin-top: 0 !important;
    border-top: 2px solid rgba(215, 182, 93, 0.42) !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.35);
}

#lc-v2.premium-active:has(#premium-newsletter) #footer .premium-newsletter {
    display: none !important;
}

/* FAQ sits last before footer — replaces legacy astroway-about empty block */
#lc-v2.premium-active #premium-faq.premium-faq--pre-footer {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: relative;
    z-index: 3;
    padding-top: 3.5rem !important;
    padding-bottom: 3rem !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

#lc-v2.premium-active #premium-faq .premium-section-title {
    color: var(--lc-premium-ink, #f8f2dd) !important;
}

#lc-v2.premium-active #premium-faq .premium-faq__item {
    background: rgba(13, 16, 36, 0.82) !important;
    border-color: rgba(215, 182, 93, 0.22) !important;
}

#lc-v2.premium-active #premium-faq .premium-faq__q {
    color: var(--lc-premium-ink, #f8f2dd) !important;
}

#lc-v2.premium-active #premium-faq .premium-faq__a {
    color: var(--lc-premium-muted, #a89cb8) !important;
}

#lc-v2.premium-active:has(#premium-faq) #premium-app-pocket {
    padding-bottom: 1.5rem !important;
    margin-bottom: 0 !important;
}

#lc-v2.premium-active:has(#premium-faq) #footer {
    margin-top: 0 !important;
    border-top: 2px solid rgba(215, 182, 93, 0.42) !important;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.35);
}
/* How It Works step numbers */
#lc-v2.premium-active .premium-how-step__num {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--lc-premium-gold-light, #ffe19a);
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.35);
}

/* App mockup phone image */
#lc-v2.premium-active .premium-app-pocket__mockup-screen {
    padding: 0.65rem !important;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(12, 10, 28, 0.95), rgba(20, 16, 40, 0.92)) !important;
}

#lc-v2.premium-active .premium-app-pocket__mockup-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Explore the Platform block */
#lc-v2.premium-active .premium-app-pocket__explore {
    padding: clamp(1.75rem, 4vw, 2.5rem) !important;
    margin-top: 0.5rem;
    border: 1px solid rgba(201, 168, 76, 0.22) !important;
    border-radius: 20px !important;
    background: rgba(12, 10, 28, 0.55) !important;
}

/* Astrologer card portraits — perfect circle fill */
#lc-v2.premium-active .premium-astro-card__avatar {
    position: relative;
    display: block !important;
    width: 112px !important;
    height: 112px !important;
    min-width: 112px !important;
    min-height: 112px !important;
    margin: 0 auto 1rem !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 3px;
    background: linear-gradient(135deg, #c5a059, #9b6ee8);
}

#lc-v2.premium-active .premium-astro-card__avatar img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
    border: 3px solid #0f0f2a !important;
    aspect-ratio: 1 / 1;
}

#lc-v2.premium-active .premium-app-pocket__explore .premium-section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}

/* Hide duplicate master chat FAB when premium AI widget is present */
#lc-v2.premium-active:has(#lcAiFab) #sf_chat_button1 {
    display: none !important;
}

#lc-v2.premium-active #lcAiFab {
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}