/* Global dark theme base */
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #1f2933 0, #020617 45%, #000000 100%);
    color: #e5e7eb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

/* Navbar styling */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;

    background-color: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    box-shadow: none;

    transition:
        background-color 0.2s ease-out,
        border-color 0.2s ease-out,
        backdrop-filter 0.2s ease-out,
        box-shadow 0.2s ease-out;
}

.custom-navbar.navbar-scrolled {
    background: rgba(3, 7, 18, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.65);
}


/* Navbar links */
.custom-navbar .nav-link {
    position: relative;
    padding-inline: 1.1rem;
    padding-block: 0.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #cbd5f5;
    transition:
        background-color 0.65s ease-in-out,
        color 0.55s ease-in-out,
        transform 0.55s ease-in-out,
        box-shadow 0.65s ease-in-out;
}

/* Active link */
.custom-navbar .nav-link.active {
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    color: #0b1120;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

/* Hover effect */
.custom-navbar .nav-link:hover {
    background: rgba(30, 64, 175, 0.7);
    color: #e5e7eb;
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

/* Navbar toggler (mobile) */
.navbar-toggler {
    border-color: rgba(148, 163, 184, 0.6);
}

.navbar-toggler-icon {
    filter: drop-shadow(0 0 3px rgba(148, 163, 184, 0.8));
}