/* ============================================
   COMMON.CSS — Mobile-First App Theme (Lavender & Royal Violet)
   Enforces Mobile Layout on ALL Devices (Mobile, Tablet & Laptop/Desktop)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    /* ── Mobile Viewport Constraint ── */
    --mobile-max-width: 480px;

    /* ── Violet / Lavender Palette ── */
    --primary:          #7c3aed;        /* Vivid Royal Violet */
    --primary-dark:     #6d28d9;        /* Deep Violet */
    --primary-deep:     #4c1d95;        /* Ultra Deep Purple */
    --primary-light:    #8b5cf6;        /* Bright Violet */
    --primary-soft:     #ede9fe;        /* Lavender Soft */
    --primary-subtle:   #f5f3ff;        /* Ultra Light Violet */

    --accent-indigo:    #6366f1;        /* Indigo Accent */
    --accent-gold:      #f59e0b;        /* Star Gold */
    --accent-green:     #10b981;        /* Success Green */
    --accent-rose:      #ef4444;        /* Live / Hot Red */

    /* ── Gradients ── */
    --grad-primary:     linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    --grad-dark:        linear-gradient(135deg, #3b0764 0%, #6b21a8 50%, #7c3aed 100%);
    --grad-card-hero:   linear-gradient(135deg, #4c1d95 0%, #6d28d9 60%, #7c3aed 100%);
    --grad-soft:        linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);

    /* ── Surfaces & Text ── */
    --bg-outside:       #ede9fe;        /* Ambient backdrop outside mobile frame */
    --bg-body:          #ffffff;        /* Mobile app frame background */
    --bg-card:          #ffffff;
    --bg-subtle:        #f8f7ff;

    --border-subtle:    rgba(124, 58, 237, 0.1);
    --border-light:     #e9d5ff;

    --text-heading:     #1e1b4b;
    --text-body:        #4b5563;
    --text-muted:       #6b7280;
    --text-purple:      #6d28d9;
    --text-white:       #ffffff;

    /* ── Shadows ── */
    --shadow-sm:        0 2px 6px rgba(124, 58, 237, 0.05);
    --shadow-card:      0 6px 18px -3px rgba(124, 58, 237, 0.08);
    --shadow-card-hover: 0 12px 24px -5px rgba(124, 58, 237, 0.14);
    --shadow-btn:       0 6px 18px rgba(124, 58, 237, 0.3);

    /* ── Sizing & Transitions ── */
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        16px;
    --radius-xl:        22px;
    --radius-full:      9999px;

    --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* ── Electric Violet & Cyber-Luxe Dark Palette ── */
    --primary:          #9061f9;        /* Electric Violet (striking & vivid on dark surfaces) */
    --primary-dark:     #7c3aed;
    --primary-deep:     #3b0764;
    --primary-light:    #a78bfa;
    --primary-soft:     rgba(144, 97, 249, 0.22);
    --primary-subtle:   rgba(144, 97, 249, 0.12);

    /* ── Dark Surfaces & Text ── */
    --bg-outside:       #06040e;        /* Deep midnight obsidian */
    --bg-body:          #0b0718;        /* Rich dark violet app frame background */
    --bg-card:          #130e26;        /* Sleek elevated card surface */
    --bg-subtle:        #1a1334;        /* Secondary surface */

    --border-subtle:    rgba(167, 139, 250, 0.12);
    --border-light:     rgba(167, 139, 250, 0.18);

    --text-heading:     #f8fafc;        /* Ultra crisp glowing white */
    --text-body:        #cbd5e1;        /* Smooth readable slate */
    --text-muted:       #94a3b8;        /* Clear muted gray */
    --text-purple:      #c4b5fd;        /* Radiant lavender */

    --grad-primary:     linear-gradient(135deg, #9061f9 0%, #6366f1 100%);
    --grad-soft:        linear-gradient(135deg, #1a1334 0%, #130e26 100%);

    --shadow-sm:        0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-card:      0 6px 22px rgba(0, 0, 0, 0.65);
    --shadow-card-hover: 0 12px 30px rgba(0, 0, 0, 0.8);
    --shadow-btn:       0 6px 20px rgba(144, 97, 249, 0.4);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
    background-color: var(--bg-outside);
    transition: background-color 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-outside);
    color: var(--text-body);
    line-height: 1.55;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ── Centered Mobile App Shell (Enforced on Laptop/Desktop) ── */
.app-mobile-wrapper {
    width: 100%;
    max-width: var(--mobile-max-width);
    min-height: 100vh;
    background: var(--bg-body);
    position: relative;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.15), 0 0 100px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    overflow-x: hidden;
    padding-bottom: 76px; /* space for fixed mobile bottom nav */
}

/* ── Ambient Background Glow for Surrounding Area on Laptop ── */
.ambient-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle 800px at 50% 50%, #f5f3ff 0%, #ede9fe 100%);
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.5;
}

.orb-1 {
    width: 40vw; height: 40vw;
    background: rgba(124, 58, 237, 0.1);
    top: -10%; right: 5%;
}

.orb-2 {
    width: 35vw; height: 35vw;
    background: rgba(99, 102, 241, 0.08);
    bottom: 5%; left: 5%;
}

.orb-3 {
    width: 45vw; height: 20vh;
    background: rgba(168, 85, 247, 0.08);
    bottom: -5%; left: 30%;
}

html.no-scroll, body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

/* ── Scrollbars (Hidden for Mobile App Experience) ── */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* ── Mobile App Header (Fixed at top of Mobile Viewport) ── */
header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-max-width);
    height: 58px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1005;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

/* Elevate header above overlay when menu drawer is open */
header.menu-active,
header:has(.nav-list.active) {
    z-index: 2005;
}

header.menu-active .logo,
header.menu-active .header-auth,
header:has(.nav-list.active) .logo,
header:has(.nav-list.active) .header-auth {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

header.menu-active,
header:has(.nav-list.active) {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-btn {
    background: var(--primary-soft);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-full);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.92rem;
    transition: var(--transition);
    padding: 0;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.1);
}

.theme-toggle-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(15deg);
}

[data-theme="dark"] .theme-toggle-btn {
    background: #1f183c;
    border-color: rgba(167, 139, 250, 0.25);
    color: #f59e0b;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #0e0a1f;
}

.header-auth .btn-signup {
    background: var(--grad-primary);
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

.header-auth .btn-signup .arrow {
    font-weight: 800;
    font-size: 0.85rem;
}

/* ── Mobile Hamburger Icon (ALWAYS Visible Everywhere) ── */
.mobile-menu-toggle {
    display: flex !important;
    background: var(--primary-soft);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    gap: 4.5px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    z-index: 2010;
    transition: var(--transition);
    padding: 0;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.12);
}

.mobile-menu-toggle:hover {
    background: #e0d7fe;
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2.2px;
    background: var(--primary);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background 0.2s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active {
    background: var(--primary);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
}

.mobile-menu-toggle.active span {
    background: #ffffff;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6.7px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6.7px) rotate(-45deg);
}

/* ── Mobile Slide-Out Drawer Navigation (High Contrast & Clear Pop) ── */
.nav-list {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(105%);
    width: 310px;
    max-width: 82vw;
    height: 100vh;
    background: #ffffff;
    padding: 1.25rem 1.25rem 2rem;
    z-index: 2005;
    box-shadow: -12px 0 45px rgba(15, 23, 42, 0.28);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    border-left: 1.5px solid rgba(124, 58, 237, 0.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-list.active {
    transform: translateX(0);
    visibility: visible;
}

/* Drawer Header inside menu */
.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 46px; /* leave room for close toggle */
    min-height: 38px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-soft);
}

.nav-drawer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.nav-drawer-title i {
    font-size: 1.05rem;
    color: var(--primary);
}

.drawer-theme-toggle {
    background: var(--primary-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.drawer-theme-toggle:hover {
    background: var(--primary);
    color: #ffffff;
}

[data-theme="dark"] .drawer-theme-toggle {
    background: #1c1538;
    border-color: rgba(167, 139, 250, 0.25);
    color: #c4b5fd;
}

[data-theme="dark"] .drawer-theme-toggle:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Drawer Nav links */
.nav-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.nav-list li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbfaff;
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.04);
}

.nav-list a::after {
    content: '→';
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.65;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-list a:hover,
.nav-list a:active,
.nav-list a:focus {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-color: rgba(124, 58, 237, 0.35);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.nav-list a:hover::after,
.nav-list a:active::after {
    opacity: 1;
    transform: translateX(3px);
}

/* Drawer Footer & Action Button */
.nav-drawer-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-drawer-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 6px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
}

.btn-drawer-action {
    background: var(--grad-primary);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    text-decoration: none;
    transition: var(--transition);
}

.btn-drawer-action:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
    transform: translateY(-2px);
}

/* ── Mobile Menu Backdrop Overlay ── */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-max-width);
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: pointer;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ── Dynamic Ad Container ── */
.ad-wrapper {
    margin: 1.25rem auto 1rem auto;
}

.ad-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 6px;
    background: #ffffff;
}

.ad-container img {
    width: 100%;
    border-radius: var(--radius-sm);
}

/* ── Section Titles & Badges (Mobile Proportioned) ── */
.section-prefix {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.4rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.section-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* ── Buttons ── */
.btn-primary {
    background: var(--grad-primary);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-btn);
    border: none;
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid var(--border-light);
}

/* ── Mobile Footer ── */
footer.glass-footer {
    background: #faf9fd;
    border-top: 1px solid var(--border-light);
    padding: 2.5rem 1rem 1.5rem;
    margin-top: 2.5rem;
    position: relative;
}

footer.glass-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
}

.footer-brand .footer-desc {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.footer-nav h4, .footer-contact h4 {
    color: var(--text-heading);
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.footer-nav a {
    color: var(--text-body);
    font-size: 0.84rem;
    font-weight: 600;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-contact .contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--text-body);
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.76rem;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   MOBILE APP BOTTOM NAVIGATION BAR
   (ALWAYS VISIBLE ON ALL SCREENS INCLUDING LAPTOP)
   ============================================ */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-max-width);
    height: 64px;
    z-index: 1010;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(124, 58, 237, 0.12);
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.bottom-nav-item i {
    font-size: 1.15rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--primary);
}

.bottom-nav-item.active i,
.bottom-nav-item:hover i {
    color: var(--primary);
}

/* Center Highlight Button (e.g. Daftar / Main) */
.bottom-nav-item.highlight-btn {
    background: var(--grad-primary);
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    transform: translateY(-8px);
}

.bottom-nav-item.highlight-btn i {
    color: #ffffff !important;
    font-size: 1.1rem;
}

.bottom-nav-item.highlight-btn span {
    color: #ffffff !important;
    font-size: 0.72rem;
}

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-start  { text-align: left; }
.fw-bold     { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; }
.pb-4 { padding-bottom: 1.5rem; }

/* ============================================
   DARK MODE COMPONENT OVERRIDES (COMMON)
   ============================================ */
[data-theme="dark"] .ambient-background {
    background: radial-gradient(circle 800px at 50% 50%, #171032 0%, #06040e 100%);
}

[data-theme="dark"] .orb-1 {
    background: radial-gradient(circle, rgba(144, 97, 249, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .orb-2 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .orb-3 {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

[data-theme="dark"] .app-mobile-wrapper {
    box-shadow: 0 0 60px rgba(144, 97, 249, 0.15), 0 0 120px rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] header {
    background: rgba(11, 7, 24, 0.94);
    border-bottom-color: rgba(167, 139, 250, 0.15);
}

[data-theme="dark"] header.scrolled {
    background: rgba(11, 7, 24, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .mobile-bottom-bar {
    background: rgba(11, 7, 24, 0.96);
    border-top-color: rgba(167, 139, 250, 0.16);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .bottom-nav-item {
    color: #94a3b8;
}

[data-theme="dark"] .bottom-nav-item i {
    color: #94a3b8;
}

[data-theme="dark"] .bottom-nav-item.active,
[data-theme="dark"] .bottom-nav-item:hover {
    color: #c4b5fd;
}

[data-theme="dark"] .bottom-nav-item.active i,
[data-theme="dark"] .bottom-nav-item:hover i {
    color: #c4b5fd;
    text-shadow: 0 0 12px rgba(167, 139, 250, 0.5);
}

[data-theme="dark"] .mobile-menu-toggle {
    background: #181230;
    border-color: rgba(167, 139, 250, 0.22);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: #c4b5fd;
}

[data-theme="dark"] .mobile-menu-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(144, 97, 249, 0.45);
}

[data-theme="dark"] .mobile-menu-toggle.active span {
    background: #ffffff;
}

[data-theme="dark"] .nav-list {
    background: #110d24;
    border-left-color: rgba(167, 139, 250, 0.2);
    box-shadow: -15px 0 55px rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .nav-drawer-header {
    border-bottom-color: rgba(167, 139, 250, 0.16);
}

[data-theme="dark"] .nav-drawer-footer {
    border-top-color: rgba(167, 139, 250, 0.16);
}

[data-theme="dark"] .nav-list a {
    background: #181230;
    border-color: rgba(167, 139, 250, 0.12);
    color: #f8fafc;
}

[data-theme="dark"] .nav-list a::after {
    color: #a78bfa;
}

[data-theme="dark"] .nav-list a:hover,
[data-theme="dark"] .nav-list a:active,
[data-theme="dark"] .nav-list a:focus {
    background: rgba(144, 97, 249, 0.3);
    border-color: #a78bfa;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(144, 97, 249, 0.25);
}

[data-theme="dark"] .nav-drawer-badge {
    background: rgba(144, 97, 249, 0.18);
    border-color: rgba(167, 139, 250, 0.25);
    color: #c4b5fd;
}

[data-theme="dark"] .ad-container {
    background: #130e26;
    border-color: rgba(167, 139, 250, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] footer.glass-footer {
    background: #080512;
    border-top-color: rgba(167, 139, 250, 0.14);
}

[data-theme="dark"] .footer-brand .footer-desc {
    color: #94a3b8;
}

[data-theme="dark"] .footer-nav h4,
[data-theme="dark"] .footer-contact h4 {
    color: #f8fafc;
}

[data-theme="dark"] .footer-nav a {
    color: #cbd5e1;
}

[data-theme="dark"] .footer-nav a:hover {
    color: #c4b5fd;
}

[data-theme="dark"] .footer-contact .contact-list {
    color: #cbd5e1;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(167, 139, 250, 0.12);
    color: #94a3b8;
}

/* ── Smooth Theme Transition Across Elements ── */
body, .app-mobile-wrapper, header, .nav-list, .mobile-bottom-bar,
.ad-container, footer.glass-footer, .theme-toggle-btn, .drawer-theme-toggle {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}