:root {
    /* Light Theme (Default) */
    --bg: #f5f8fa;
    --bg-alt: #ffffff;
    --panel: rgba(255, 255, 255, 0.88);
    --panel-strong: #ffffff;
    --panel-soft: rgba(0, 0, 0, 0.04);
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.12);
    --text: #1e293b;
    --muted: #64748b;
    --accent: #d97706;
    --accent-strong: #c2410c;
    --accent-soft: rgba(217, 119, 6, 0.1);
    --accent-glow: rgba(217, 119, 6, 0.15);
    --success: #55d49a;
    --danger: #ff8e88;
    --radius: 28px;
    --radius-sm: 18px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --cream: #ffffff;
    --cream-dark: #f1f5f9;
    --border: rgba(0, 0, 0, 0.08);
    --text-muted: var(--muted);
    --saffron: var(--accent);
    --maroon: #ff8c74;
    --dark: #0a1526;
    --green-light: #77e3ae;
    --sidebar-bg: rgba(255, 255, 255, 0.88);
    --card-bg: rgba(255, 255, 255, 0.75);
    --hero-grad: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
}

body.dark-mode {
    /* Dark Theme */
    --bg: #07111f;
    --bg-alt: #0d1728;
    --panel: rgba(12, 24, 42, 0.82);
    --panel-strong: rgba(15, 29, 50, 0.96);
    --panel-soft: rgba(255, 255, 255, 0.05);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #edf3ff;
    --muted: #97abc4;
    --accent: #f6b34c;
    --accent-strong: #ff8842;
    --accent-soft: rgba(246, 179, 76, 0.16);
    --accent-glow: rgba(246, 179, 76, 0.28);
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.2);
    --cream: rgba(14, 29, 50, 0.88);
    --cream-dark: rgba(8, 18, 32, 0.94);
    --border: rgba(255, 255, 255, 0.1);
    --sidebar-bg: rgba(5, 11, 21, 0.84);
    --card-bg: rgba(8, 16, 30, 0.7);
    --hero-grad: linear-gradient(160deg, #050c17 0%, #0a1220 42%, #08111d 100%);
}


body[data-page="spiritual"] {
    --accent: #ff9a64;
    --accent-strong: #f85d6d;
    --accent-soft: rgba(255, 154, 100, 0.16);
    --accent-glow: rgba(248, 93, 109, 0.24);
}

body[data-page="health"] {
    --accent: #72d89a;
    --accent-strong: #1dbb8d;
    --accent-soft: rgba(114, 216, 154, 0.14);
    --accent-glow: rgba(29, 187, 141, 0.24);
}

body[data-page="finance"] {
    --accent: #75b7ff;
    --accent-strong: #438df5;
    --accent-soft: rgba(117, 183, 255, 0.14);
    --accent-glow: rgba(67, 141, 245, 0.22);
}

body[data-page="utilities"] {
    --accent: #f4ba64;
    --accent-strong: #ff8250;
    --accent-soft: rgba(244, 186, 100, 0.14);
    --accent-glow: rgba(255, 130, 80, 0.22);
}

body[data-page="language"] {
    --accent: #78d6de;
    --accent-strong: #39a8d8;
    --accent-soft: rgba(120, 214, 222, 0.14);
    --accent-glow: rgba(57, 168, 216, 0.22);
}

body[data-page="services"] {
    --accent: #ffad8a;
    --accent-strong: #ff7466;
    --accent-soft: rgba(255, 173, 138, 0.16);
    --accent-glow: rgba(255, 116, 102, 0.24);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Outfit", "Hind Madurai", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 142, 88, 0.08), transparent 32%),
        radial-gradient(circle at 86% 12%, rgba(93, 157, 255, 0.07), transparent 28%),
        radial-gradient(circle at 70% 78%, rgba(104, 227, 182, 0.06), transparent 30%),
        var(--hero-grad);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

body::before {
    top: -120px;
    right: -100px;
    background: var(--accent-glow);
}

body::after {
    left: -120px;
    bottom: -160px;
    background: rgba(73, 134, 255, 0.14);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 12, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 25;
}

.app-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100vh;
    padding: 24px 12px 24px 24px; /* Reduced right padding for scrollbar */
    background: var(--sidebar-bg);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(28px);
    z-index: 30;
    transition: background 0.3s ease;
    overflow-y: auto;
}

/* Custom Webkit Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.3);
    border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 150, 0.5);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark,
.icon-badge,
.empty-icon,
.hero-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
}

.brand-mark {
    width: 54px;
    height: 54px;
    color: #08111d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-copy strong {
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.84rem;
}

.sidebar-label {
    margin: 0 0 12px;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid transparent;
    color: var(--muted);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.nav-item:hover {
    color: var(--text);
    background: var(--panel-soft);
    border-color: var(--line);
    transform: translateX(3px);
}

.nav-item.active {
    color: var(--text);
    background: linear-gradient(135deg, var(--accent-soft), var(--panel-soft));
    border-color: var(--line);
}

.nav-item .icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: var(--panel-soft);
}

.nav-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-copy strong {
    font-size: 0.96rem;
}

.nav-copy span {
    font-size: 0.74rem;
    color: inherit;
    opacity: 0.7;
}

.sidebar-panel {
    margin-top: auto;
    padding: 18px;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

.sidebar-panel strong,
.panel-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.sidebar-panel p,
.panel-copy,
.page-copy,
.hero-copy p,
.category-card p,
.tool-card small,
.tool-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.app-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    padding: 26px 30px 30px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.page-title {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-toggle,
.search-shell,
.clock-card,
.hero-card,
.category-card,
.tool-sidebar-card,
.tool-panel,
.hero-note,
.mini-stat,
.summary-item,
.theme-toggle {
    border: 1px solid var(--line);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
        var(--card-bg);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-soft);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.theme-toggle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: transform 0.22s ease;
}

.theme-toggle:hover {
    transform: scale(1.05);
    background: var(--panel-soft);
}

.theme-toggle .sun-icon { display: block; }
.theme-toggle .moon-icon { display: none; }

body.dark-mode .theme-toggle .sun-icon { display: none; }
body.dark-mode .theme-toggle .moon-icon { display: block; }


.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    cursor: pointer;
}

.search-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    padding: 0 16px;
    border-radius: 18px;
}

.search-shell input {
    width: 100%;
    height: 50px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.search-shell input::placeholder {
    color: var(--muted);
}

.clock-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 170px;
    padding: 12px 16px;
    border-radius: 18px;
}

.clock-card span {
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.clock-card strong {
    font-size: 1rem;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.92fr);
    gap: 24px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--radius);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: auto auto -70px -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

.hero-pillayar-container,
.hero-deity-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.hero-pillayar-img,
.hero-deity-img {
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.hero-deity-img:hover {
    transform: translateY(-10px) scale(1.05);
}

body:not(.dark-mode) .hero-pillayar-img,
body:not(.dark-mode) .hero-deity-img {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1;
}

.hero-copy h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 12ch;
}

.hero-copy .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
    color: #08111d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.hero-metrics {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-head h3,
.tool-empty h2 {
    margin: 0;
    font-size: 1.15rem;
}

.panel-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.metric-grid,
.summary-grid,
.category-grid,
.support-grid {
    display: grid;
    gap: 14px;
}

.metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.summary-item {
    padding: 18px;
    border-radius: 20px;
    background: var(--panel-soft);
    border: 1px solid var(--line);
}

.metric-card span,
.summary-item span,
.tool-card small,
.hero-note p,
.hero-note span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.metric-card strong,
.summary-item strong {
    display: block;
    margin-top: 8px;
    font-size: 1.16rem;
}

.hero-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
}

.hero-note-icon,
.empty-icon {
    width: 48px;
    height: 48px;
}

.section-block {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.section-head p {
    margin: 6px 0 0;
    color: var(--muted);
}

.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    background: var(--panel);
}

.category-card h3 {
    margin: 0;
    font-size: 1.12rem;
}

.category-card .icon-badge {
    width: 54px;
    height: 54px;
}

.category-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: var(--muted);
    font-size: 0.82rem;
}

.tone-gold {
    color: #08111d;
    background: linear-gradient(135deg, #f6b34c, #ff8952);
}

.tone-blue {
    color: #08111d;
    background: linear-gradient(135deg, #82c5ff, #5c8dff);
}

.tone-emerald {
    color: #08111d;
    background: linear-gradient(135deg, #7ce7a0, #32c48d);
}

.tone-rose {
    color: #08111d;
    background: linear-gradient(135deg, #ffb497, #ff7d7d);
}

.tone-cyan {
    color: #08111d;
    background: linear-gradient(135deg, #8de8ef, #54b8ff);
}

.tone-violet {
    color: #08111d;
    background: linear-gradient(135deg, #bda6ff, #7f86ff);
}

.tone-orange {
    color: #08111d;
    background: linear-gradient(135deg, #ffc16f, #ff8d4b);
}

.tone-slate {
    color: var(--muted);
    background: var(--panel-soft);
    border: 1px solid var(--line);
}

.support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-stat {
    padding: 20px;
    border-radius: 24px;
}

.mini-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 1.4rem;
}

.tool-layout {
    display: grid;
    grid-template-columns: minmax(310px, 380px) minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
}

.tool-sidebar-card,
.tool-panel {
    border-radius: var(--radius);
    padding: 22px;
}

.tool-panel {
    min-height: 640px;
}

.tool-search {
    width: 100%;
    height: 52px;
    margin: 16px 0 20px;
    padding: 0 18px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: none;
    background: var(--panel-soft);
}

.tool-search:focus {
    border-color: var(--line-strong);
}

.tool-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 310px);
    padding-right: 4px;
    overflow-y: auto;
}

.tool-card {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    text-align: left;
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.tool-card:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.tool-card.is-active {
    border-color: rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.05));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.tool-card .icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 16px;
}

.tool-card-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tool-card-copy strong {
    font-size: 0.98rem;
}

.tool-view {
    min-height: 100%;
}

.tool-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 560px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    padding: 32px;
}

.tool-surface {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tool-surface-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-surface-header .icon-badge {
    width: 58px;
    height: 58px;
    border-radius: 20px;
}

.tool-surface-kicker {
    margin: 0 0 6px;
    color: var(--muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.tool-surface-title {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    letter-spacing: -0.03em;
}

.tool-surface-copy {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 56ch;
}

.tool-surface-body {
    min-width: 0;
}

.hero-stat-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.84rem;
}

.helper-note {
    color: var(--muted);
    font-size: 0.9rem;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(88vw, 320px);
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    }

    body.nav-open .sidebar {
        transform: translateX(0);
    }

    body.nav-open .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .topbar {
        flex-wrap: wrap;
    }

    .hero,
    .tool-layout {
        grid-template-columns: 1fr;
    }

    .tool-panel {
        min-height: 520px;
    }

    .tool-list {
        max-height: none;
    }
}

@media (max-width: 720px) {
    .app-main {
        padding: 18px 16px 24px;
    }

    .topbar-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .search-shell,
    .clock-card {
        width: 100%;
        min-width: 0;
    }

    .hero-card,
    .tool-sidebar-card,
    .tool-panel,
    .category-card,
    .mini-stat {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-copy h2 {
        max-width: none;
    }

    .metric-grid,
    .summary-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .tool-empty {
        min-height: 380px;
        padding: 24px;
    }

    .tool-surface-header {
        flex-direction: column;
    }
}
.hero-pillayar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 400px;
    padding: 20px;
    position: relative;
}

.hero-pillayar-img {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    border-radius: var(--radius);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.hero-pillayar-img:hover {
    transform: scale(1.05) translateY(-10px);
}

body.light-mode .hero-pillayar-img {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

/* Translator Styling */
#google_translate_element {
    display: inline-block;
}

.goog-te-gadget {
    font-family: inherit !important;
    color: var(--text) !important;
}

.goog-te-gadget-simple {
    background-color: var(--panel-soft) !important;
    border: 1px solid var(--line) !important;
    padding: 8px 12px !important;
    border-radius: 14px !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.goog-te-gadget-simple:hover {
    background-color: var(--line) !important;
}

.goog-te-gadget-simple img {
    display: none !important;
}

.goog-te-menu-value {
    color: var(--text) !important;
    font-weight: 500 !important;
}

.goog-te-menu-value span {
    border-left: 0 !important;
}

/* Hide Google branding */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget span {
    display: none !important;
}

/* Hide translate banner */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.tool-empty-img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.tool-empty-img:hover {
    transform: scale(1.03);
}

body:not(.dark-mode) .tool-empty-img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.tool-empty h2 {
    margin-top: 10px;
    font-size: 1.4rem;
    color: var(--accent);
}

.tool-empty p {
    max-width: 400px;
    margin: 0 auto;
}
