/* Astroway Premium Homepage & Navbar Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-font: 'Outfit', 'Poppins', sans-serif;
    --astro-accent: #f59e0b;
    /* Golden Yellow */
    --astro-accent-hover: #d97706;
    --astro-accent-light: rgba(245, 158, 11, 0.15);
    --astro-dark: #1e293b;
    --astro-gray: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(245, 158, 11, 0.12);
    --glass-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

/* ─── Unified Navbar Styles ──────────────────────────────────────────────── */
.unified-navbar {
    font-family: var(--primary-font);
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    border-radius: 50px;
    margin: 15px auto;
    max-width: 1280px;
    padding: 8px 24px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.unified-navbar.scrolled {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: var(--glass-shadow) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

@media (min-width: 992px) {
    .unified-navbar {
        position: fixed !important;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 1280px;
    }

    .unified-navbar.scrolled {
        top: 10px;
    }

    .unified-navbar .navbar-collapse,
    .unified-navbar .navbar-nav {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
}

.brand-logo-img {
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.navbar-brand-link {
    flex-shrink: 0;
}

.navbar-brand-link:hover .brand-logo-img {
    transform: rotate(15deg) scale(1.05);
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    white-space: nowrap;
}

.brand-name {
    font-family: var(--primary-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1 !important;
    margin: 0 !important;
    color: #1e293b !important;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1 !important;
    margin: 0 !important;
    color: #64748b !important;
}

/* Menu links styling */
.menu-links .nav-link {
    color: var(--astro-dark) !important;
    font-weight: 500 !important;
    font-size: 14.5px;
    padding: 8px 16px !important;
    border-radius: 30px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.menu-links .nav-link:hover {
    color: var(--astro-accent-hover) !important;
    background: var(--astro-accent-light);
    transform: scale(1.03);
}

.menu-links .dropdown-menu {
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 6px;
    background: rgba(255, 255, 255, 0.98);
}

.menu-links .dropdown-item {
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.menu-links .dropdown-item:hover {
    background: var(--astro-accent-light);
    color: var(--astro-accent-hover);
}

/* Sign In pill button */
.btn-signin-pill {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none !important;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    width: auto !important;
    height: auto !important;
}

.btn-signin-pill:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45), 0 0 0 4px rgba(245, 158, 11, 0.15) !important;
}

.btn-signin-pill i {
    font-size: 16px !important;
    margin-right: 8px !important;
    color: #ffffff !important;
    display: inline-block !important;
}

/* ─── Hero Banner Section ────────────────────────────────────────────────── */
.hero-banner-section {
    font-family: var(--primary-font);
    position: relative;
    padding: 140px 0 120px 0;
    background: linear-gradient(168deg, #FFFFFF 0%, #FFFEF6 30%, #FEFBE8 60%, #faeb68 100%);
    overflow: hidden;
    z-index: 1;
}

/* Ambient glow nodes drifting in background */
.hero-bg-glow-nodes {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.glow-node {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    mix-blend-mode: multiply;
}

.glow-node.yellow {
    background: radial-gradient(circle, #fcd34d 0%, transparent 70%);
    width: 50vw;
    height: 50vw;
    top: -20%;
    left: -15%;
    animation: floatGlow 22s ease-in-out infinite alternate;
}

.glow-node.pink {
    background: radial-gradient(circle, #fda4af 0%, transparent 70%);
    width: 40vw;
    height: 40vw;
    bottom: -10%;
    left: 20%;
    animation: floatGlow 28s ease-in-out infinite alternate-reverse;
}

.glow-node.green {
    background: radial-gradient(circle, #86efac 0%, transparent 70%);
    width: 35vw;
    height: 35vw;
    top: 20%;
    right: -10%;
    animation: floatGlow 25s ease-in-out infinite alternate;
}

.glow-node.orange {
    background: radial-gradient(circle, #fed7aa 0%, transparent 70%);
    width: 45vw;
    height: 45vw;
    bottom: 20%;
    right: 30%;
    animation: floatGlow 30s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(8%, 10%) scale(1.15);
    }
}

/* Left side content */
.badge-tagline {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #b45309;
}

.hero-title {
    font-size: clamp(38px, 4.5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--astro-dark);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #b45309, #ec4899, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: textGradientShift 6s linear infinite;
}

@keyframes textGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--astro-gray);
    margin-top: 15px;
    margin-bottom: 30px;
    max-width: 540px;
}

/* CTA buttons styling */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-hero-cta {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-chat-now {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-chat-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
}

.btn-call-now {
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--astro-dark) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.btn-call-now:hover {
    transform: translateY(-3px);
    background: var(--astro-accent-light);
    border-color: var(--astro-accent);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.15);
}

.btn-hero-cta .btn-icon {
    font-size: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-cta .btn-text {
    display: flex;
    flex-direction: column;
}

.btn-hero-cta .btn-text .title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.btn-hero-cta .btn-text .subtitle {
    font-size: 11px;
    opacity: 0.8;
}

/* Trust Badges */
.hero-trust-badges {
    gap: 15px;
}

.trust-badge {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--astro-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-badge i {
    color: #10b981;
}

/* ─── Taramandal Rotating Zodiac Wheel ────────────────────────────────────── */
.taramandal-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer orbit line */
.taramandal-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(180, 83, 9, 0.15);
}

.taramandal-ring.outer-ring {
    width: 420px;
    height: 420px;
    animation: rotateSlow 120s linear infinite;
}

.taramandal-zodiac-wheel {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(180, 83, 9, 0.1);
    animation: rotateSlow 80s linear infinite;
    transform-style: preserve-3d;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Individual Zodiac item */
.zodiac-item {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    margin-top: -22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: rotate(var(--angle)) translate(180px) rotate(calc(-1 * var(--angle)));
}

.zodiac-item .symbol {
    font-size: 20px;
    color: #b45309;
    transition: transform 0.3s ease;
}

.zodiac-item .name {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--astro-gray);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 2px;
}

.zodiac-item:hover .symbol {
    transform: scale(1.25);
    color: var(--astro-accent);
}

.zodiac-item:hover .name {
    opacity: 1;
}

/* Central logo/image container */
.taramandal-center {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(180, 83, 9, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fef3c7;
    z-index: 2;
}

.center-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 224, 71, 0.25) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.taramandal-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(180, 83, 9, 0.15));
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .unified-navbar {
        margin: 10px;
        border-radius: 20px;
        padding: 10px 16px !important;
    }

    .menu-links {
        padding-top: 15px;
    }

    .menu-links .nav-link {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }

    .navbar-actions-right {
        justify-content: center;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 10px;
    }

    .hero-banner-section {
        padding: 60px 0 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-cta {
        width: 100%;
        justify-content: center;
    }

    .taramandal-wrapper {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }

    .taramandal-ring.outer-ring {
        width: 320px;
        height: 320px;
    }

    .taramandal-zodiac-wheel {
        width: 280px;
        height: 280px;
    }

    .zodiac-item {
        transform: rotate(var(--angle)) translate(130px) rotate(calc(-1 * var(--angle))) !important;
    }

    .taramandal-center {
        width: 140px;
        height: 140px;
    }

    .taramandal-logo {
        width: 80px;
        height: 80px;
    }
}

/* ─── Theme Toggle Widget (Homepage Only) ────────────────────────────────── */
.theme-toggle-container {
    display: inline-block;
}

.theme-toggle-capsule {
    display: flex;
    background: #f1f3f5;
    border-radius: 50px;
    padding: 3px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.theme-toggle-btn .icon {
    font-size: 13px;
}

.theme-toggle-btn.active {
    background: #f1e135 !important;
    color: #212529 !important;
    box-shadow: 0 2px 8px rgba(241, 225, 53, 0.4);
}

.theme-toggle-btn:not(.active):hover {
    background: rgba(0, 0, 0, 0.05);
}

/* ─── Light Mode Overrides (Homepage Only) ────────────────────────────────── */
body {
    background: #fffdf4 !important;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #FFFEF6 30%, #FEFBE8 60%, #fffdf4 100%) !important;
    transition: background 0.3s ease, color 0.3s ease;
}

#calculator,
.backimage,
#blog,
#shop,
.as_padderTop80,
.as_padderBottom30,
.bg-light {
    background-color: transparent !important;
    background-image: none !important;
}

/* ─── Dark Mode Overrides (Homepage Only) ────────────────────────────────── */
body.home-dark-mode {
    background: #0c0a08 !important;
    background-image: linear-gradient(180deg, #0c0a08 0%, #1a1611 30%, #201c14 60%, #0c0a08 100%) !important;
    color: #f8fafc !important;
    transition: background 0.3s ease, color 0.3s ease;
}

body.home-dark-mode #calculator,
body.home-dark-mode .backimage,
body.home-dark-mode #blog,
body.home-dark-mode #shop,
body.home-dark-mode .bg-light,
body.home-dark-mode section {
    background-color: transparent !important;
    background-image: none !important;
}

/* Hero Section Dark Mode */
body.home-dark-mode .hero-banner-section {
    background: transparent !important;
}

body.home-dark-mode .hero-title {
    color: #ffffff !important;
}

body.home-dark-mode .hero-subtitle {
    color: #94a3b8 !important;
}

body.home-dark-mode .trust-badge {
    color: #cbd5e1 !important;
}

body.home-dark-mode .badge-tagline {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fef08a !important;
}

/* Taramandal Zodiac Wheel Dark Mode */
body.home-dark-mode .taramandal-ring {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.home-dark-mode .taramandal-zodiac-wheel {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.home-dark-mode .zodiac-item .symbol {
    color: #fbbf24 !important;
}

body.home-dark-mode .zodiac-item .name {
    color: #cbd5e1 !important;
}

body.home-dark-mode .taramandal-center {
    background: #1a1611 !important;
    border-color: #2a2520 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6) !important;
}

body.home-dark-mode .center-glow {
    background: radial-gradient(circle, rgba(253, 224, 71, 0.18) 0%, transparent 70%) !important;
}

/* Scrolled Navbar Dark Mode */
body.home-dark-mode .unified-navbar.scrolled {
    background: rgba(12, 10, 8, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

body.home-dark-mode .unified-navbar .brand-name {
    color: #ffffff !important;
}

body.home-dark-mode .unified-navbar .menu-links .nav-link {
    color: #e2e8f0 !important;
}

body.home-dark-mode .unified-navbar .menu-links .nav-link:hover {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.12) !important;
}

body.home-dark-mode .unified-navbar .navbar-toggler-icon {
    filter: invert(1);
}

/* Home Page Card Grid Dark Mode */
body.home-dark-mode .kundli-card {
    background-color: #1a1611 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.home-dark-mode .kundli-card h2,
body.home-dark-mode .kundli-card p {
    color: #ffffff !important;
}

body.home-dark-mode .panchang-card {
    background-color: #2a1a10 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.home-dark-mode .panchang-card .time-card {
    background-color: #1a1611 !important;
    color: #ffffff !important;
}

body.home-dark-mode .bg-fuchsia,
body.home-dark-mode .bg-slate,
body.home-dark-mode .bg-purple,
body.home-dark-mode .bg-lime,
body.home-dark-mode .bg-rose,
body.home-dark-mode .bg-green,
body.home-dark-mode .bg-sky {
    background-color: #1a1611 !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.home-dark-mode .bg-fuchsia:hover,
body.home-dark-mode .bg-slate:hover,
body.home-dark-mode .bg-purple:hover,
body.home-dark-mode .bg-lime:hover,
body.home-dark-mode .bg-rose:hover,
body.home-dark-mode .bg-green:hover,
body.home-dark-mode .bg-sky:hover {
    background-color: #2a2520 !important;
}

body.home-dark-mode .text-dark,
body.home-dark-mode .colorblack,
body.home-dark-mode .font-weight-bold {
    color: #f8fafc !important;
}

body.home-dark-mode .text-muted {
    color: #94a3b8 !important;
}

body.home-dark-mode #calculator,
body.home-dark-mode .backimage {
    background: transparent !important;
}

/* Adjust Theme Capsule in Dark Mode */
body.home-dark-mode .theme-toggle-capsule {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.1);
}

body.home-dark-mode .theme-toggle-btn {
    color: #cbd5e1;
}

body.home-dark-mode .theme-toggle-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ─── Stats Ticker Bar (Light Mode) ───────────────────────────────────── */
.stats-ticker-bar {
    background: #fefce8;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
    color: #4b5563;
    font-size: 14px;
    transition: background 0.3s ease, border 0.3s ease, color 0.3s ease;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.stats-marquee-content {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: statsMarquee 35s linear infinite;
    gap: 80px;
    padding-left: 40px;
}

.stats-ticker-bar:hover .stats-marquee-content {
    animation-play-state: paused;
}

.stats-ticker-bar .ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
    flex-shrink: 0;
}

.stats-ticker-bar .ticker-item strong {
    color: #1f2937;
    transition: color 0.3s ease;
}

.stats-ticker-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    display: inline-block;
    flex-shrink: 0;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes statsMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── Interactive Horoscope Section (Light Mode) ────────────────────────── */
.interactive-horoscope-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
    color: #1f2937;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

.interactive-horoscope-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(241, 225, 53, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    pointer-events: none;
}

.interactive-horoscope-section .section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: #111827;
    transition: color 0.3s ease;
}

.interactive-horoscope-section .section-subtitle {
    color: #4b5563;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

/* Wheel wrapper */
.horoscope-wheel-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horoscope-wheel-ring {
    position: absolute;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
    transition: border-color 0.3s ease;
}

.horoscope-wheel {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    transform: rotate(var(--wheel-rotation, 0deg));
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.zodiac-wheel-item {
    --translate-dist: 165px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    margin-top: -22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: rotate(var(--angle)) translate(var(--translate-dist)) rotate(calc(-1 * var(--angle) - var(--wheel-rotation, 0deg)));
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.zodiac-wheel-item:hover,
.zodiac-wheel-item.active {
    transform: rotate(var(--angle)) translate(var(--translate-dist)) rotate(calc(-1 * var(--angle) - var(--wheel-rotation, 0deg))) scale(1.1);
}

.zodiac-symbol-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4b5563;
    transition: all 0.3s ease;
    pointer-events: none;
}

.zodiac-name-label {
    position: absolute;
    top: 48px;
    font-size: 9px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    pointer-events: none;
    transition: color 0.3s ease;
}

.zodiac-wheel-item:hover .zodiac-symbol-circle {
    color: #111827;
    border-color: #f1e135;
    background: rgba(241, 225, 53, 0.08);
}

.zodiac-wheel-item.active .zodiac-symbol-circle {
    background: #f1e135 !important;
    border-color: #f1e135 !important;
    color: #0f172a !important;
    box-shadow: 0 0 20px rgba(241, 225, 53, 0.4);
}

.zodiac-wheel-item.active .zodiac-name-label {
    color: #d97706 !important;
    font-weight: 800;
}

.horoscope-wheel-center {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(241, 225, 53, 0.05);
    border: 2px solid #f1e135;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(241, 225, 53, 0.2);
    z-index: 2;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.horoscope-wheel-center .center-icon {
    font-size: 42px;
    color: #f1e135;
    line-height: 1;
    text-shadow: 0 0 10px rgba(241, 225, 53, 0.3);
}

/* Card details */
.horoscope-detail-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 35px;
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    z-index: 5;
}

.sign-meta {
    font-size: 13px;
    color: #d97706;
    letter-spacing: 2px;
}

.sign-title {
    font-size: 40px;
    font-weight: 800;
    color: #1f2937;
    transition: color 0.3s ease;
}

.sign-today {
    font-size: 11px;
    letter-spacing: 1px;
    color: #9ca3af;
}

.horoscope-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.rating-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-item .label {
    font-size: 10px;
    color: #6b7280;
    letter-spacing: 1px;
    font-weight: 700;
}

.rating-item .value {
    font-size: 14px;
    font-weight: 700;
    color: #d97706;
}

.rating-item .stars {
    color: #f59e0b;
    font-size: 13px;
    display: flex;
    gap: 2px;
}

.horoscope-description {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    transition: color 0.3s ease;
}

.lucky-color-info .label, .lucky-number-info .label {
    font-size: 14px;
    color: #6b7280;
}

.lucky-color-info .color-name, .lucky-number-info .number-value {
    font-size: 14px;
    color: #1f2937;
    transition: color 0.3s ease;
}

.btn-read-forecast {
    background: #f1e135;
    color: #0f172a;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.btn-read-forecast:hover {
    background: #0f172a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 225, 53, 0.3);
}

.btn-compatibility {
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #4b5563;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
}

.btn-compatibility:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.3);
    color: #1f2937;
    transform: translateY(-2px);
}

/* ─── Dark Mode Overrides for Horoscope Section ───────────────────────── */
body.home-dark-mode .stats-ticker-bar {
    background: transparent !important;
    border-top-color: rgba(255, 255, 255, 0.05) !important;
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
}

body.home-dark-mode .stats-ticker-bar .ticker-item strong {
    color: #ffffff !important;
}

body.home-dark-mode .interactive-horoscope-section {
    background: transparent !important;
    color: #ffffff !important;
}

body.home-dark-mode .interactive-horoscope-section::before {
    background: radial-gradient(circle, rgba(241, 225, 53, 0.04) 0%, transparent 70%) !important;
}

body.home-dark-mode .interactive-horoscope-section .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .interactive-horoscope-section .section-subtitle {
    color: #94a3b8 !important;
}

body.home-dark-mode .horoscope-wheel-ring {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.home-dark-mode .zodiac-wheel-item {
    background: transparent !important;
    border-color: transparent !important;
}

body.home-dark-mode .zodiac-symbol-circle {
    background: rgba(26, 22, 17, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
}

body.home-dark-mode .zodiac-name-label {
    color: #94a3b8 !important;
}

body.home-dark-mode .zodiac-wheel-item:hover .zodiac-symbol-circle {
    color: #ffffff !important;
    border-color: #f1e135 !important;
    background: rgba(241, 225, 53, 0.1) !important;
}

body.home-dark-mode .zodiac-wheel-item.active .zodiac-symbol-circle {
    background: #f1e135 !important;
    border-color: #f1e135 !important;
    color: #0c0a08 !important;
    box-shadow: 0 0 20px rgba(241, 225, 53, 0.5) !important;
}

body.home-dark-mode .zodiac-wheel-item.active .zodiac-name-label {
    color: #f1e135 !important;
}

body.home-dark-mode .horoscope-wheel-center {
    background: rgba(241, 225, 53, 0.08) !important;
    border-color: #f1e135 !important;
    box-shadow: 0 0 30px rgba(241, 225, 53, 0.3) !important;
}

body.home-dark-mode .horoscope-detail-card {
    background: rgba(26, 22, 17, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body.home-dark-mode .card-loader {
    background: rgba(12, 10, 8, 0.6) !important;
}

body.home-dark-mode .sign-meta {
    color: #f1e135 !important;
}

body.home-dark-mode .sign-title {
    color: #ffffff !important;
}

body.home-dark-mode .sign-today {
    color: #64748b !important;
}

body.home-dark-mode .rating-item .label {
    color: #94a3b8 !important;
}

body.home-dark-mode .rating-item .value {
    color: #f1e135 !important;
}

body.home-dark-mode .rating-item .stars {
    color: #f1e135 !important;
}

body.home-dark-mode .horoscope-description {
    color: #cbd5e1 !important;
}

body.home-dark-mode .lucky-color-info .label, body.home-dark-mode .lucky-number-info .label {
    color: #94a3b8 !important;
}

body.home-dark-mode .lucky-color-info .color-name, body.home-dark-mode .lucky-number-info .number-value {
    color: #ffffff !important;
}

body.home-dark-mode .btn-compatibility {
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

body.home-dark-mode .btn-compatibility:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive Adjustments for Horoscope Wheel */
@media (max-width: 991px) {
    .interactive-horoscope-section {
        padding: 60px 0;
    }

    .horoscope-wheel-wrapper {
        width: 320px;
        height: 320px;
        margin-bottom: 20px;
    }

    .horoscope-wheel {
        width: 320px;
        height: 320px;
    }

    .horoscope-wheel-ring {
        width: 270px;
        height: 270px;
    }

    .zodiac-wheel-item {
        --translate-dist: 135px;
        width: 38px;
        height: 38px;
        margin-left: -19px;
        margin-top: -19px;
        transform: rotate(var(--angle)) translate(var(--translate-dist)) rotate(calc(-1 * var(--angle) - var(--wheel-rotation, 0deg)));
    }

    .zodiac-symbol-circle {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .zodiac-name-label {
        top: 40px;
        font-size: 8px;
    }

    .zodiac-wheel-item:hover,
    .zodiac-wheel-item.active {
        transform: rotate(var(--angle)) translate(var(--translate-dist)) rotate(calc(-1 * var(--angle) - var(--wheel-rotation, 0deg))) scale(1.1);
    }

    .horoscope-wheel-center {
        width: 80px;
        height: 80px;
    }

    .horoscope-wheel-center .center-icon {
        font-size: 32px;
    }

    .horoscope-detail-card {
        padding: 25px;
        min-height: auto;
    }

    .sign-title {
        font-size: 32px;
    }
}

/* Mobile responsive fixes for Horoscope detail card */
@media (max-width: 575px) {
    .horoscope-card-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .btn-read-forecast,
    .btn-compatibility {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 12px 16px !important;
    }
    
    .horoscope-ratings {
        gap: 16px 20px !important;
    }
    
    .sign-title {
        font-size: 28px !important;
    }
    
    .horoscope-detail-card {
        padding: 20px !important;
    }
}

/* ─── 13,000+ Best Astrologers Section ───────────────────────────────────── */
.dynamic-astrologers-section {
    position: relative;
    z-index: 2;
}

.dynamic-astrologers-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 25px 5px;
    scrollbar-width: none;
}

.dynamic-astrologers-row::-webkit-scrollbar {
    display: none;
}

.dyn-astro-card {
    flex: 0 0 280px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dyn-astro-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.dyn-astro-avatar-container {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.dyn-astro-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fbbf24;
    overflow: hidden;
    display: inline-block;
}

.dyn-celebrity-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: #f1e135;
    font-size: 7px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    white-space: nowrap;
    border: 1px solid #f1e135;
}

.dyn-astro-basic-info {
    overflow: hidden;
    width: 100%;
}

.dyn-astro-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dyn-astro-skills {
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 2px 0;
}

.dyn-astro-rating {
    font-size: 11px;
    display: flex;
    align-items: center;
}

.dyn-astro-rating .star-icon {
    color: #fbbf24;
    font-size: 12px;
    margin-right: 2px;
}

.dyn-astro-rating .rating-val {
    color: #111827;
}

.dyn-astro-rating .orders-count {
    color: #6b7280;
}

.dyn-astro-card-middle {
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px 14px;
}

.info-row {
    font-size: 12px;
    line-height: 1.4;
}

.info-label {
    color: #6b7280;
}

.info-value {
    color: #1f2937;
    font-weight: 600;
}

.price-val {
    font-size: 18px;
    color: #111827;
}

.price-unit {
    font-size: 11px;
    color: #6b7280;
}

.dyn-chat-btn {
    display: inline-block;
    padding: 5px 18px;
    border: 1.5px solid #10b981;
    color: #10b981;
    font-weight: 700;
    font-size: 13px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.dyn-chat-btn:hover {
    background: #10b981;
    color: #ffffff;
}

.btn-more-astrologers {
    display: inline-block;
    background: #f1e135;
    color: #0c0a08;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(241, 225, 53, 0.25);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-more-astrologers:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 225, 53, 0.4);
    color: #0c0a08;
}

/* Responsive Adjustments for 13,000+ Best Astrologers Section */
@media (min-width: 992px) and (max-width: 1199px) {
    .dynamic-astrologers-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow-x: visible;
    }
    .dyn-astro-card {
        flex: unset;
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .dynamic-astrologers-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
    }
    .dyn-astro-card {
        flex: unset;
        width: 100%;
    }
}

/* ─── Dark Mode Overrides ────────────────────────────────────────────────── */
body.home-dark-mode .dyn-astro-card {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .dyn-astro-name {
    color: #ffffff;
}

body.home-dark-mode .dyn-astro-skills {
    color: #94a3b8 !important;
}

body.home-dark-mode .dyn-astro-rating .rating-val {
    color: #ffffff;
}

body.home-dark-mode .dyn-astro-card-middle {
    background: #25201a;
}

body.home-dark-mode .info-label {
    color: #94a3b8;
}

body.home-dark-mode .info-value {
    color: #f1f5f9;
}

body.home-dark-mode .price-val {
    color: #ffffff;
}

body.home-dark-mode .price-unit {
    color: #94a3b8;
}

body.home-dark-mode .dynamic-astrologers-section .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .dynamic-astrologers-section .sub-badge {
    color: #94a3b8 !important;
}

/* ─── Six Ways to Get Life Answers Section ────────────────────────────────── */
.life-answers-section {
    position: relative;
    z-index: 2;
}

.life-answer-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.life-answer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 16px;
}

.life-answer-card .card-title {
    font-size: 18px;
    color: #111827;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.life-answer-card .card-desc {
    font-size: 13px;
    line-height: 1.4;
}

/* Colorful Icon Wrappers */
.card-icon-wrapper.bg-violet {
    background: #8b5cf6 !important;
}

.card-icon-wrapper.bg-green {
    background: #22c55e !important;
}

.card-icon-wrapper.bg-pink {
    background: #ec4899 !important;
}

.card-icon-wrapper.bg-orange {
    background: #f97316 !important;
}

.card-icon-wrapper.bg-yellow {
    background: #eab308 !important;
}

.card-icon-wrapper.bg-cyan {
    background: #06b6d4 !important;
}

.card-icon-wrapper i {
    color: #ffffff !important;
    font-size: 18px !important;
    display: inline-block !important;
}

/* Subtle Radial Background Glow Spot on the Right of Cards */
.life-answer-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    pointer-events: none;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.life-answer-card.horoscope::after {
    background: radial-gradient(circle at 100% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.life-answer-card.panchang::after {
    background: radial-gradient(circle at 100% 50%, rgba(34, 197, 94, 0.12) 0%, transparent 70%);
}

.life-answer-card.kundli::after {
    background: radial-gradient(circle at 100% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
}

.life-answer-card.kundlimatch::after {
    background: radial-gradient(circle at 100% 50%, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
}

.life-answer-card.compatibility::after {
    background: radial-gradient(circle at 100% 50%, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
}

.life-answer-card.store::after {
    background: radial-gradient(circle at 100% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

/* ─── Dark Mode Overrides for Life Answers ────────────────────────────────── */
body.home-dark-mode .life-answers-section .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .life-answers-section .sub-badge {
    color: #94a3b8 !important;
}

body.home-dark-mode .life-answer-card {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .life-answer-card .card-title {
    color: #ffffff;
}

body.home-dark-mode .life-answer-card .card-desc {
    color: #94a3b8 !important;
}

/* Adjust glow opacity for better neon appearance in dark mode */
body.home-dark-mode .life-answer-card::after {
    opacity: 0.85;
}

/* ─── Testimonials (What People Say) Section ──────────────────────────────── */
.testimonials-section {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.testimonial-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
}

.testimonial-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 320px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
}

.testimonial-marquee-container:hover .testimonial-marquee-track {
    animation-play-state: paused;
}

/* Sliding Animations */
@keyframes slide-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3 - 6.66px));
    }
}

@keyframes slide-right {
    0% {
        transform: translateX(calc(-100% / 3 - 6.66px));
    }

    100% {
        transform: translateX(0);
    }
}

.left-sliding {
    animation: slide-left 45s linear infinite;
}

.right-sliding {
    animation: slide-right 45s linear infinite;
}

/* ─── Dark Mode Overrides for Testimonials ────────────────────────────────── */
body.home-dark-mode .testimonials-section .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .testimonials-section .sub-badge {
    color: #94a3b8 !important;
}

body.home-dark-mode .testimonial-card {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .testimonial-card .t-name {
    color: #ffffff !important;
}

body.home-dark-mode .testimonial-card .t-text {
    color: #cbd5e1 !important;
}

body.home-dark-mode .testimonial-card .t-loc {
    color: #94a3b8 !important;
}

/* ─── Redesigned Blogs Section ───────────────────────────────────────────── */
.journal-blogs-section {
    position: relative;
    z-index: 2;
}

.btn-all-blogs {
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 8px 22px;
    border-radius: 50px;
    color: #111827;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-all-blogs:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.journal-blog-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 340px;
    display: flex;
    flex-direction: column;
}

.journal-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.journal-blog-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.journal-blog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.journal-blog-title {
    font-size: 15px;
    line-height: 1.45;
    color: #111827;
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.journal-blog-views {
    font-size: 12px;
    color: #6b7280;
}

/* ─── Dark Mode Overrides for Blogs ──────────────────────────────────────── */
body.home-dark-mode .journal-blogs-section .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .journal-blogs-section .sub-badge {
    color: #94a3b8 !important;
}

body.home-dark-mode .btn-all-blogs {
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

body.home-dark-mode .btn-all-blogs:hover {
    background: #ffffff;
    color: #0c0a08;
    border-color: #ffffff;
}

body.home-dark-mode .journal-blog-card {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .journal-blog-title {
    color: #ffffff;
}

body.home-dark-mode .journal-blog-views {
    color: #94a3b8 !important;
}

/* ─── Core Stats Panel Section ───────────────────────────────────────────── */
.core-stats-section {
    position: relative;
    z-index: 2;
}

.stats-panel-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.stat-col {
    flex: 1 1 200px;
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    color: #c2410c;
    /* Brick orange/amber tone */
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}

.stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.coral-star {
    color: #ef4444;
    /* Solid red/coral star */
    font-size: 26px;
    margin-left: 3px;
    vertical-align: middle;
}

/* ─── Dark Mode Overrides for Core Stats ──────────────────────────────────── */
body.home-dark-mode .stats-panel-box {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .stat-number {
    color: #f97316;
    /* Lighter orange for dark mode readability */
}

body.home-dark-mode .stat-label {
    color: #94a3b8;
}

/* ─── News & Press Section ────────────────────────────────────────────────── */
.press-news-section {
    position: relative;
    z-index: 2;
}

.press-news-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.press-news-row::-webkit-scrollbar {
    height: 6px;
}

.press-news-row::-webkit-scrollbar-track {
    background: transparent;
}

.press-news-row::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.scroll-controls {
    display: flex;
    gap: 8px;
}

.scroll-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
}

.scroll-btn:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.news-item-card {
    flex: 0 0 280px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.news-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 14px;
    line-height: 1.45;
    color: #111827;
    font-weight: 700;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 60px;
}

.news-meta-row {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.news-channel {
    font-size: 11px;
    color: #4b5563;
    letter-spacing: 0.5px;
}

.news-date {
    font-size: 11px;
    color: #9ca3af;
}

/* ─── Dark Mode Overrides for News Section ────────────────────────────────── */
body.home-dark-mode .press-news-section .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .press-news-section .sub-badge {
    color: #94a3b8 !important;
}

body.home-dark-mode .scroll-btn {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.home-dark-mode .scroll-btn:hover {
    background: #ffffff;
    color: #0c0a08;
    border-color: #ffffff;
}

body.home-dark-mode .news-item-card {
    background: #1a1611;
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .news-title {
    color: #ffffff;
}

body.home-dark-mode .news-channel {
    color: #94a3b8 !important;
}

body.home-dark-mode .news-date {
    color: #64748b !important;
}

body.home-dark-mode .news-meta-row {
    border-color: rgba(255, 255, 255, 0.05);
}

body.home-dark-mode .press-news-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

/* ─── How It Works (Four Taps) Section ───────────────────────────────────── */
.how-it-works-section {
    background-color: #ffffff;
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.how-it-works-section .section-header .sub-badge {
    color: #888888 !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.how-it-works-section .section-header .section-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #2c2c2c !important;
    line-height: 1.2 !important;
    letter-spacing: -1px !important;
    max-width: 600px;
    margin: 0 auto;
}

.steps-flow-container {
    position: relative;
    margin-top: 60px;
}

.steps-dotted-line {
    position: absolute;
    top: 25px;
    /* exactly center of the 50px circle */
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    border-top: 2px dotted #cccccc !important;
    z-index: 1;
}

.step-col {
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number-circle {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #fbdf3e !important;
    /* exact yellow from mockup */
    color: #111827 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 3 !important;
    box-shadow: 0 0 0 8px rgba(251, 223, 62, 0.25), 0 0 20px rgba(251, 223, 62, 0.6) !important;
    transition: transform 0.3s ease;
}

.step-number-circle:hover {
    transform: scale(1.1);
}

.step-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 28px !important;
    margin-bottom: 10px !important;
}

.step-desc {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    padding: 0 10px;
}

/* ─── Dark Mode Overrides for How It Works ────────────────────────────────── */
body.home-dark-mode .how-it-works-section {
    background-color: #0c0a08 !important;
}

body.home-dark-mode .how-it-works-section .section-header .sub-badge {
    color: #94a3b8 !important;
}

body.home-dark-mode .how-it-works-section .section-header .section-title {
    color: #ffffff !important;
}

body.home-dark-mode .step-title {
    color: #ffffff !important;
}

body.home-dark-mode .step-desc {
    color: #94a3b8 !important;
}

body.home-dark-mode .steps-dotted-line {
    border-top: 2px dotted rgba(255, 255, 255, 0.15) !important;
}

/* ─── Languages & Specialties Marquee Section ────────────────────────────── */
.lang-specialties-marquee-section {
    background-color: #fffcf0;
    /* Warm off-white background */
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.lang-specialties-marquee-section .sub-badge {
    color: #888888;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.marquee-scroller-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    /* Soft premium fade out on the sides */
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.marquee-scroller-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

.scroller-item {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.scroller-item.language-item {
    font-size: 18px;
    color: #4b5563;
    font-weight: 500;
}

.sparkle-star {
    color: #fbbf24;
    /* Golden sparkle */
    margin-left: 30px;
    font-size: 15px;
}

.bullet-dot {
    color: #d1d5db;
    /* Light grey bullet dot */
    margin-left: 30px;
    font-size: 18px;
    font-weight: bold;
}

/* Running Keyframes */
@keyframes run-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3 - 10px));
    }
}

@keyframes run-right {
    0% {
        transform: translateX(calc(-100% / 3 - 10px));
    }

    100% {
        transform: translateX(0);
    }
}

.left-running {
    animation: run-left 45s linear infinite;
}

.right-running {
    animation: run-right 45s linear infinite;
}

/* ─── Dark Mode Overrides for Marquee Ticker ────────────────────────────── */
body.home-dark-mode .lang-specialties-marquee-section {
    background-color: #13100c !important;
    border-color: rgba(255, 255, 255, 0.03);
}

body.home-dark-mode .lang-specialties-marquee-section .sub-badge {
    color: #94a3b8;
}

body.home-dark-mode .scroller-item {
    color: #ffffff;
}

body.home-dark-mode .scroller-item.language-item {
    color: #94a3b8;
}

body.home-dark-mode .bullet-dot {
    color: #4b5563;
}

/* ─── App Download Promo Section ─────────────────────────────────────────── */
.app-download-promo-section {
    background-color: #ffffff;
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.app-promo-card {
    border-radius: 24px;
    background: linear-gradient(160deg, #fefcf3 0%, #fef9e7 40%, #fdf6d8 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-height: 420px;
}

.promo-text-col {
    padding: 20px 0;
}

.app-download-promo-section .sub-badge {
    color: #888888;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

.promo-title {
    font-size: 44px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.12;
    letter-spacing: -1.5px;
    max-width: 500px;
    margin-bottom: 18px;
}

.promo-subtitle {
    font-size: 15px;
    line-height: 1.65;
    color: #6b7280;
    max-width: 440px;
    margin-bottom: 28px;
}

/* App Download Buttons */
.app-download-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.store-badge-btn {
    display: inline-block;
    transition: transform 0.2s ease;
}

.store-badge-btn img {
    height: 42px;
    width: auto;
}

.store-badge-btn:hover {
    transform: translateY(-2px);
}

/* Metrics */
.promo-metrics-row {
    display: flex;
    gap: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 22px;
}

.metric-value {
    font-size: 26px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 2px;
}

.metric-value .star-gold {
    color: #fbbf24;
    font-size: 22px;
}

.metric-label {
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #9ca3af;
    margin: 0;
}

/* ─── CSS Phone Mockup Frame ─────────────────────────────────────────────── */
.promo-device-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup-frame {
    position: relative;
    width: 260px;
    height: 520px;
    background: #111111;
    border-radius: 42px;
    padding: 10px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 24px;
    background: #111111;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.phone-app-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 18px 20px;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        transparent 40%,
        transparent 55%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.phone-app-header-text {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.phone-app-header-text span {
    color: #fbbf24;
}

.phone-app-footer-info {
    color: #ffffff;
}

.phone-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.phone-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-block;
    animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.phone-astro-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.phone-astro-specialty {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* ─── Global Starry Night Sky for Dark Theme ───────────────────────────── */
body.home-dark-mode {
    background-color: #0b0907 !important;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 40px 70px, #fffbeb, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #fef3c7, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 80px 120px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 110px 80px, #fde68a, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 150px, #fffbeb, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 230px 50px, #fef3c7, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 270px 110px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 310px 170px, #fde68a, rgba(0,0,0,0)) !important;
    background-size: 320px 240px !important;
    background-repeat: repeat !important;
}

body.home-dark-mode .why-astrology-reader-section,
body.home-dark-mode .reader-conclusion-section,
body.home-dark-mode .home-faq-section,
body.home-dark-mode .app-download-promo-section {
    background: transparent !important;
}

/* ─── Dark Mode for App Promo ────────────────────────────────────────────── */
body.home-dark-mode .app-download-promo-section {
    background-color: transparent !important;
}

body.home-dark-mode .app-promo-card {
    background: linear-gradient(160deg, #181511 0%, #1e1a15 40%, #211d16 100%) !important;
    border-color: rgba(255, 255, 255, 0.04);
}

body.home-dark-mode .app-download-promo-section .sub-badge {
    color: #94a3b8 !important;
}

body.home-dark-mode .promo-title {
    color: #ffffff !important;
}

body.home-dark-mode .promo-subtitle {
    color: #94a3b8 !important;
}

body.home-dark-mode .metric-value {
    color: #ffffff !important;
}

body.home-dark-mode .metric-label {
    color: #64748b !important;
}

body.home-dark-mode .promo-metrics-row {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* ─── Responsive for App Promo ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .promo-title {
        font-size: 32px;
    }

    .phone-mockup-frame {
        width: 220px;
        height: 440px;
        transform: rotate(0deg);
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .promo-title {
        font-size: 28px;
    }

    .app-download-buttons {
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }

    .store-badge-btn img {
        height: 38px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    .promo-metrics-row {
        gap: 32px;
    }
}

/* ─── Why Astrology? Reader Section ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');

.why-astrology-reader-section {
    position: relative;
    padding: 80px 0 70px;
    overflow: hidden;
    background: linear-gradient(180deg, #fffef7 0%, #fefce8 40%, #fef9c3 100%);
}

/* ── Hero Header ──────────────────────────────────────────────────────────── */
.reader-hero-header {
    max-width: 620px;
    padding-left: 10px;
    margin-bottom: 60px;
}

.reader-eyebrow {
    display: inline-block;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 16px;
}

.reader-main-title {
    font-family: var(--primary-font);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.reader-intro-desc {
    font-family: var(--primary-font);
    font-size: 15.5px;
    line-height: 1.7;
    color: #64748b;
    max-width: 520px;
    margin: 0;
}

/* ── Chapter Block ────────────────────────────────────────────────────────── */
.reader-chapter-block {
    padding: 50px 0;
    border-top: 1px solid rgba(180, 83, 9, 0.08);
}

.reader-chapter-block:first-of-type {
    border-top: none;
}

.chapter-label {
    display: inline-block;
    font-family: var(--primary-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 14px;
    opacity: 0.85;
}

.chapter-title {
    font-family: var(--primary-font);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 22px 0;
    letter-spacing: -0.3px;
}

.chapter-body {
    font-family: var(--primary-font);
    font-size: 15px;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 16px;
}

/* Drop-cap first paragraph */
.chapter-dropcap::first-letter {
    font-family: var(--primary-font);
    font-size: 3.6em;
    float: left;
    line-height: 0.85;
    margin-right: 8px;
    margin-top: 4px;
    color: #92400e;
    font-weight: 400;
}

/* ── Decorative Illustrations (CSS-only) ──────────────────────────────────── */
.chapter-illustration {
    position: relative;
    width: 280px;
    height: 260px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Chapter 01 – Sunrise Glow */
.ch-illus-sunrise {
    background: linear-gradient(160deg, #fef9e7 0%, #fef08a 50%, #fbbf24 100%);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.18);
}

.ch-illus-orb {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #fde68a 0%, #f59e0b 60%, #d97706 100%);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.5), 0 0 80px rgba(245, 158, 11, 0.25);
    animation: orbPulse 4s ease-in-out infinite alternate;
}

@keyframes orbPulse {
    0% { transform: scale(1); box-shadow: 0 0 40px rgba(245, 158, 11, 0.5), 0 0 80px rgba(245, 158, 11, 0.25); }
    100% { transform: scale(1.08); box-shadow: 0 0 55px rgba(245, 158, 11, 0.6), 0 0 100px rgba(245, 158, 11, 0.3); }
}

.ch-illus-sparkle {
    position: absolute;
    font-size: 14px;
    color: #92400e;
    opacity: 0.55;
    animation: sparkleFloat 5s ease-in-out infinite;
}

.ch-illus-sparkle.s1 { top: 25%; right: 22%; animation-delay: 0s; }
.ch-illus-sparkle.s2 { bottom: 30%; left: 18%; font-size: 18px; animation-delay: 1.5s; }
.ch-illus-sparkle.s3 { top: 18%; left: 28%; font-size: 11px; animation-delay: 3s; }

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.55; }
    50% { transform: translateY(-8px) rotate(15deg); opacity: 0.9; }
}

/* Chapter 02 – Cosmic Rings */
.ch-illus-cosmos {
    background: linear-gradient(160deg, #fef9e7 0%, #fde68a 60%, #fcd34d 100%);
    box-shadow: 0 8px 32px rgba(252, 211, 77, 0.18);
}

.ch-illus-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(146, 64, 14, 0.2);
}

.ch-illus-ring.ring-1 {
    width: 160px;
    height: 160px;
    animation: ringRotate 30s linear infinite;
}

.ch-illus-ring.ring-2 {
    width: 110px;
    height: 110px;
    border-style: solid;
    border-color: rgba(146, 64, 14, 0.12);
    animation: ringRotate 22s linear infinite reverse;
}

.ch-illus-center-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #b45309;
    box-shadow: 0 0 20px rgba(180, 83, 9, 0.35);
}

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

/* ── Sidebar Card (Astrologer List / Product Grid) ────────────────────────── */
.reader-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.sidebar-card-eyebrow {
    display: block;
    font-family: var(--primary-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 22px;
}

/* ── Astrologer List in Sidebar ───────────────────────────────────────────── */
.sidebar-astrologer-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-astro-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-astro-row:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.sidebar-astro-row:first-child {
    padding-top: 0;
}

.sidebar-astro-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fef3c7;
}

.sidebar-astro-info {
    min-width: 0;
}

.sidebar-astro-name {
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.sidebar-astro-skill {
    font-family: var(--primary-font);
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 1px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

.sidebar-astro-lang {
    font-family: var(--primary-font);
    font-size: 11.5px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

/* ── Zodiac Wheel Panel ───────────────────────────────────────────────────── */
.reader-zodiac-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #fffef7 0%, #fef9c3 60%, #fde68a 100%);
    border-radius: 20px;
    padding: 40px 30px 24px;
    width: 100%;
    max-width: 380px;
}

.reader-zodiac-wheel {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rzw-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1.5px solid rgba(146, 64, 14, 0.12);
}

.rzw-center-sun {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    z-index: 2;
}

.rzw-symbol {
    position: absolute;
    font-size: 22px;
    color: #374151;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--zangle)) translateY(-110px) rotate(calc(-1 * var(--zangle)));
    line-height: 1;
}

.reader-zodiac-caption {
    font-family: var(--primary-font);
    font-size: 13px;
    color: #78716c;
    margin: 18px 0 0 0;
    text-align: center;
}

/* ── Fact Cards (Chapter 04) ──────────────────────────────────────────────── */
.reader-fact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.reader-fact-card {
    font-family: var(--primary-font);
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
    padding: 16px 20px;
    background: #fffef7;
    border-left: 3px solid #fbbf24;
    border-radius: 0 10px 10px 0;
    transition: background 0.2s ease;
}

.reader-fact-card:hover {
    background: #fef9e7;
}

/* ── Product Grid (Chapter 05) ────────────────────────────────────────────── */
.sidebar-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.sidebar-product-item {
    background: #fafaf9;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: left;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sidebar-product-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.sp-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.sp-name {
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.sp-desc {
    font-family: var(--primary-font);
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.4;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: #fef9c3;
    border-radius: 12px;
    font-family: var(--primary-font);
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.sidebar-cta-btn:hover {
    background: #fde68a;
    transform: translateX(2px);
    text-decoration: none;
    color: #78350f;
}

.sidebar-cta-btn span {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.sidebar-cta-btn:hover span {
    transform: translateX(4px);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .why-astrology-reader-section {
        padding: 60px 0 50px;
    }

    .reader-hero-header {
        max-width: 100%;
        text-align: center;
        padding-left: 0;
        margin-bottom: 40px;
    }

    .reader-intro-desc {
        max-width: 100%;
    }

    .reader-chapter-block {
        padding: 36px 0;
    }

    .chapter-dropcap::first-letter {
        float: none;
        display: block;
        margin: 0 auto 8px;
    }

    .chapter-illustration {
        width: 220px;
        height: 200px;
        margin: 0 auto;
    }

    .reader-sidebar-card {
        position: static;
        margin-bottom: 24px;
    }

    .reader-zodiac-panel {
        max-width: 100%;
    }

    .reader-zodiac-wheel {
        width: 220px;
        height: 220px;
    }

    .rzw-ring {
        width: 180px;
        height: 180px;
    }

    .rzw-symbol {
        transform: translate(-50%, -50%) rotate(var(--zangle)) translateY(-90px) rotate(calc(-1 * var(--zangle)));
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .reader-main-title {
        font-size: 28px;
    }

    .chapter-title {
        font-size: 24px;
    }

    .chapter-illustration {
        width: 180px;
        height: 170px;
    }

    .sidebar-product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .reader-zodiac-wheel {
        width: 200px;
        height: 200px;
    }

    .rzw-ring {
        width: 160px;
        height: 160px;
    }

    .rzw-symbol {
        transform: translate(-50%, -50%) rotate(var(--zangle)) translateY(-80px) rotate(calc(-1 * var(--zangle)));
        font-size: 16px;
    }
}

/* ── Dark Mode for Reader Section ─────────────────────────────────────────── */
body.home-dark-mode .why-astrology-reader-section {
    background: linear-gradient(180deg, #0c0a08 0%, #0f0d0a 40%, #13100c 100%) !important;
}

body.home-dark-mode .reader-eyebrow {
    color: #fbbf24;
}

body.home-dark-mode .reader-main-title {
    color: #f8fafc;
}

body.home-dark-mode .reader-intro-desc {
    color: #94a3b8;
}

body.home-dark-mode .reader-chapter-block {
    border-top-color: rgba(255, 255, 255, 0.06);
}

body.home-dark-mode .chapter-label {
    color: #fbbf24;
}

body.home-dark-mode .chapter-title {
    color: #f1f5f9;
}

body.home-dark-mode .chapter-body {
    color: #94a3b8;
}

body.home-dark-mode .chapter-dropcap::first-letter {
    color: #fbbf24;
}

body.home-dark-mode .ch-illus-sunrise {
    background: linear-gradient(160deg, #1a1611 0%, #2a2015 50%, #352a18 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.home-dark-mode .ch-illus-orb {
    background: radial-gradient(circle, #fde68a 0%, #d97706 60%, #92400e 100%);
}

body.home-dark-mode .ch-illus-sparkle {
    color: #fbbf24;
}

body.home-dark-mode .ch-illus-cosmos {
    background: linear-gradient(160deg, #1a1611 0%, #1e1a14 60%, #252018 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.home-dark-mode .ch-illus-ring {
    border-color: rgba(251, 191, 36, 0.15);
}

body.home-dark-mode .ch-illus-center-dot {
    background: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* Dark mode sidebar card */
body.home-dark-mode .reader-sidebar-card {
    background: #1a1714;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body.home-dark-mode .sidebar-card-eyebrow {
    color: #94a3b8;
}

body.home-dark-mode .sidebar-astro-row {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.home-dark-mode .sidebar-astro-avatar {
    border-color: rgba(251, 191, 36, 0.2);
}

body.home-dark-mode .sidebar-astro-name {
    color: #f1f5f9;
}

body.home-dark-mode .sidebar-astro-skill {
    color: #94a3b8;
}

body.home-dark-mode .sidebar-astro-lang {
    color: #64748b;
}

/* Dark mode zodiac */
body.home-dark-mode .reader-zodiac-panel {
    background: linear-gradient(160deg, #1a1611 0%, #1e1a14 60%, #252018 100%);
}

body.home-dark-mode .rzw-ring {
    border-color: rgba(251, 191, 36, 0.12);
}

body.home-dark-mode .rzw-symbol {
    color: #d1d5db;
}

body.home-dark-mode .reader-zodiac-caption {
    color: #78716c;
}

/* Dark mode fact cards */
body.home-dark-mode .reader-fact-card {
    background: #1a1714;
    color: #94a3b8;
    border-left-color: #92400e;
}

body.home-dark-mode .reader-fact-card:hover {
    background: #1e1b16;
}

/* Dark mode product grid */
body.home-dark-mode .sidebar-product-item {
    background: #0f0d0a;
}

body.home-dark-mode .sp-name {
    color: #f1f5f9;
}

body.home-dark-mode .sp-desc {
    color: #64748b;
}

body.home-dark-mode .sidebar-cta-btn {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

body.home-dark-mode .sidebar-cta-btn:hover {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
}

/* ─── Reader Conclusion Section ─────────────────────────────────────────── */
.reader-conclusion-section {
    background: linear-gradient(180deg, #fef9c3 0%, #ffffff 100%);
    padding-bottom: 80px;
}

.reader-conclusion-card {
    background: #fffbeb; /* Soft light yellow card */
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.05);
    text-align: center;
}

.conclusion-label {
    display: inline-block;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 16px;
}

.conclusion-title {
    font-family: var(--primary-font);
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

.conclusion-body {
    max-width: 780px;
    margin: 0 auto;
}

.conclusion-body p {
    font-family: var(--primary-font);
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.conclusion-body p:last-child {
    margin-bottom: 0;
}

/* Conclusion Button */
.btn-conclusion-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background-color: #f59e0b; /* Solid Amber Yellow */
    color: #ffffff;
    font-family: var(--primary-font);
    font-size: 15px;
    font-weight: 600;
    border-radius: 9999px; /* Pill shaped */
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
    transition: all 0.25s ease;
}

.btn-conclusion-chat:hover {
    background-color: #d97706;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    text-decoration: none;
}

/* Dark mode for conclusion */
body.home-dark-mode .reader-conclusion-section {
    background: linear-gradient(180deg, #13100c 0%, #0c0a08 100%) !important;
}

body.home-dark-mode .reader-conclusion-card {
    background: #1a1714;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.home-dark-mode .conclusion-label {
    color: #fbbf24;
}

body.home-dark-mode .conclusion-title {
    color: #f1f5f9;
}

body.home-dark-mode .conclusion-body p {
    color: #94a3b8;
}

body.home-dark-mode .btn-conclusion-chat {
    background-color: #fbbf24;
    color: #1e1b16;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.2);
}

body.home-dark-mode .btn-conclusion-chat:hover {
    background-color: #fde68a;
    color: #1e1b16;
    box-shadow: 0 6px 20px rgba(253, 230, 138, 0.3);
}

/* ─── Home FAQ Section ─────────────────────────────────────────────────── */
.home-faq-section {
    background: #ffffff;
    padding: 80px 0;
}

.faq-header {
    margin-bottom: 50px;
}

.faq-eyebrow {
    display: inline-block;
    font-family: var(--primary-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 16px;
}

.faq-main-title {
    font-family: var(--primary-font);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.faq-accordion-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.04);
}

.faq-item.active {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.06);
    background: #fffbeb; /* Light yellow background when open */
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background 0.2s ease;
}

.faq-trigger * {
    pointer-events: none;
}

.faq-question {
    font-family: var(--primary-font);
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 700;
    color: #1f2937;
    padding-right: 20px;
    line-height: 1.4;
}

.faq-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fafaf9;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon-plus {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-item.active .faq-icon-circle {
    background: #fbbf24;
    border-color: #fbbf24;
}

.faq-item.active .faq-icon-plus {
    color: #78350f;
    transform: rotate(45deg); /* Plus turns into multiplication/close sign */
}

.faq-content {
    display: none; /* Managed by jQuery slideToggle */
}

.faq-content-inner {
    padding: 0 30px 24px 30px;
}

.faq-content-inner p {
    font-family: var(--primary-font);
    font-size: 15px;
    line-height: 1.75;
    color: #4b5563;
    margin: 0;
}

/* ── Dark Mode for FAQs ─────────────────────────────────────────────────── */
body.home-dark-mode .home-faq-section {
    background: #0c0a08 !important;
}

body.home-dark-mode .faq-main-title {
    color: #f8fafc;
}

body.home-dark-mode .faq-eyebrow {
    color: #fbbf24;
}

body.home-dark-mode .faq-item {
    background: #151310;
    border-color: rgba(255, 255, 255, 0.04);
}

body.home-dark-mode .faq-item:hover {
    border-color: rgba(251, 191, 36, 0.2);
}

body.home-dark-mode .faq-item.active {
    background: #1a1714;
    border-color: rgba(251, 191, 36, 0.3);
}
body.home-dark-mode .faq-question {
    color: #f1f5f9 !important;
}

body.home-dark-mode .faq-icon-circle {
    background: #1e1b18;
    border-color: rgba(255, 255, 255, 0.08);
}

body.home-dark-mode .faq-icon-plus {
    color: #9ca3af;
}

body.home-dark-mode .faq-item.active .faq-icon-circle {
    background: #fbbf24;
    border-color: #fbbf24;
}

body.home-dark-mode .faq-item.active .faq-icon-plus {
    color: #1e1b16;
}

body.home-dark-mode .faq-content-inner p {
    color: #94a3b8;
}

@media (max-width: 767px) {
    .faq-trigger {
        padding: 20px;
    }
    
    .faq-content-inner {
        padding: 0 20px 20px 20px;
    }
}

/* ─── Dark Theme Starry Sky & Section Layout Separation ─────────────────── */
body.home-dark-mode,
body.home-dark-mode .wrapper {
    background-color: #0b0907 !important;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 40px 70px, #fffbeb, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #fef3c7, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 80px 120px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 110px 80px, #fde68a, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 150px, #fffbeb, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 230px 50px, #fef3c7, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 270px 110px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 310px 170px, #fde68a, rgba(0,0,0,0)) !important;
    background-size: 320px 240px !important;
    background-repeat: repeat !important;
    transition: background 0.3s ease;
}

/* Force starry background down to other views/sections by default, keeping widgets floating */
body.home-dark-mode section,
body.home-dark-mode .astroway-live-astrologers,
body.home-dark-mode .stories-container,
body.home-dark-mode .testimonials,
body.home-dark-mode .news-sections,
body.home-dark-mode .wrapper > * {
    background-color: transparent !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1) !important;
    position: relative;
    z-index: 1;
}

/* Shaded backdrops for reading-heavy sections to ensure high text contrast and readability */
body.home-dark-mode .why-astrology-reader-section,
body.home-dark-mode .how-it-works-section,
body.home-dark-mode .home-faq-section {
    background-color: rgba(11, 9, 7, 0.9) !important; /* 90% opaque dark overlay for content readability */
    border-top: 1px solid rgba(251, 191, 36, 0.08) !important;
    border-bottom: 1px solid rgba(251, 191, 36, 0.08) !important;
}

/* Specific margins & spacing adjustments for clean visual grouping */
body.home-dark-mode .how-it-works-section,
body.home-dark-mode .lang-specialties-marquee-section,
body.home-dark-mode .app-download-promo-section,
body.home-dark-mode .why-astrology-reader-section,
body.home-dark-mode .reader-conclusion-section,
body.home-dark-mode .home-faq-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

body.home-dark-mode .lang-specialties-marquee-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    background-color: rgba(12, 10, 8, 0.6) !important;
}

body.home-dark-mode .astroway-live-astrologers {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* ─── Reader Conclusion Card Mobile Responsiveness ─────────────────────── */
@media (max-width: 767px) {
    .reader-conclusion-card {
        padding: 40px 20px !important;
        border-radius: 24px !important;
    }
}
@media (max-width: 480px) {
    .reader-conclusion-card {
        padding: 30px 15px !important;
        border-radius: 20px !important;
    }
    .btn-conclusion-chat {
        padding: 12px 24px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
}

/* ─── Mobile View Horizontal Screen Padding Fix ───────────────────────── */
@media (max-width: 575px) {
    .interactive-horoscope-section,
    .why-astrology-reader-section,
    .reader-conclusion-section,
    .home-faq-section,
    .how-it-works-section,
    .app-download-promo-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Counteract Bootstrap negative row margins pulling columns to screen edges on mobile */
    .interactive-horoscope-section .row,
    .why-astrology-reader-section .row,
    .reader-conclusion-section .row,
    .home-faq-section .row,
    .how-it-works-section .row,
    .app-download-promo-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ─── Mobile Navigation Menu Redesign (2-Column Grid Dashboard) ──────── */
@media (max-width: 991px) {
    /* 1. Make the navigation collapse menu span the full width with a clean bottom curve */
    .unified-navbar .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-color: #ffffff !important;
        border-radius: 0 0 24px 24px !important;
        padding: 24px 20px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
        border: none !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
        margin: 0 !important;
        z-index: 9999 !important;
    }
    
    body.home-dark-mode .unified-navbar .navbar-collapse {
        background-color: #110f0c !important; /* Deep dark warm black matching stars */
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    }

    /* 2. Format the navbar-nav container into a 2-column grid on mobile */
    .unified-navbar .navbar-collapse .menu-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 20px 0 !important;
        align-items: stretch !important;
    }

    /* 3. Style each navigation item box as a clean card */
    .unified-navbar .menu-links .nav-item {
        background: rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-radius: 12px !important;
        transition: all 0.2s ease !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: 52px !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    body.home-dark-mode .unified-navbar .menu-links .nav-item {
        background: rgba(255, 255, 255, 0.04) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    /* Make the last nav item (Blog) span both columns for perfect visual balance */
    .unified-navbar .menu-links .nav-item:last-child {
        grid-column: span 2 !important;
    }

    /* 4. Remove all capsule/button styles from the link element inside */
    .unified-navbar .menu-links .nav-link {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        padding: 12px 14px !important;
        margin: 0 !important;
        color: #374151 !important;
        transition: all 0.2s ease;
    }
    
    body.home-dark-mode .unified-navbar .menu-links .nav-link {
        color: #f8fafc !important;
    }

    /* Hover cards visual transitions */
    .unified-navbar .menu-links .nav-item:hover {
        background: rgba(245, 158, 11, 0.08) !important;
        border-color: rgba(245, 158, 11, 0.25) !important;
        transform: translateY(-2px) !important;
    }
    
    body.home-dark-mode .unified-navbar .menu-links .nav-item:hover {
        background: rgba(251, 191, 36, 0.08) !important;
        border-color: rgba(251, 191, 36, 0.2) !important;
    }

    .unified-navbar .menu-links .nav-link img {
        margin: 0 !important;
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    /* 5. Dropdown menus layout inside the grid layout */
    .unified-navbar .navbar-collapse .dropdown-menu {
        position: absolute !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        padding: 6px !important;
        z-index: 1000 !important;
        margin-top: 4px !important;
    }
    
    body.home-dark-mode .unified-navbar .navbar-collapse .dropdown-menu {
        background: #1a1713 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
    
    .unified-navbar .navbar-collapse .dropdown-item {
        color: #4b5563 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
        text-align: center !important;
    }
    
    body.home-dark-mode .unified-navbar .navbar-collapse .dropdown-item {
        color: #cbd5e1 !important;
    }
    
    .unified-navbar .navbar-collapse .dropdown-item:hover {
        background: rgba(245, 158, 11, 0.08) !important;
        color: #b45309 !important;
    }
    
    body.home-dark-mode .unified-navbar .navbar-collapse .dropdown-item:hover {
        background: rgba(251, 191, 36, 0.12) !important;
        color: #fbbf24 !important;
    }
    
    /* 6. Footer button alignment inside collapsed navbar drawer */
    .unified-navbar .navbar-actions-right {
        grid-column: span 2 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        padding-top: 18px !important;
        margin-top: 10px !important;
    }
    
    body.home-dark-mode .unified-navbar .navbar-actions-right {
        border-top-color: rgba(255, 255, 255, 0.08) !important;
    }
}

/* Custom Gap Utilities for Flexbox layouts */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }