* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow: hidden;
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        sans-serif;
    background-color: #0d0d0d;
    color: #f5f5f5;
}

/* ----------------------------
           Navbar
        ----------------------------- */
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 20px;
    z-index: 1000;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform 0.2s ease-in-out;
}

.logo img {
    height: 24px;
    width: auto;
}

.logo img:last-child {
    padding-left: 10px;
    filter: invert(1);
}

/* Navbar Links Container */
#navbar {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Links (right side of navbar) */
#navbar a.link,
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

#navbar a.link img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

#navbar a.link:hover {
    opacity: 0.7;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    padding: 8px 12px;
    font-size: 17px;
    font-weight: 500;
    color: #f5f5f5;
    gap: 6px;
    border-radius: 4px;
    transition:
        background-color 0.2s ease,
        opacity 0.3s ease;
}

.dropdown-toggle:hover {
    opacity: 0.7;
    z-index: 1000;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    min-width: 180px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #f5f5f5;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* ----------------------------
           Page Layout
        ----------------------------- */
#pages {
    position: absolute;
    right: 30%;
    width: 40%;
    height: 100%;
}

#container {
    position: fixed;
    left: 0;
    margin: 0;
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
    overflow: auto;
    padding: 20px;
    box-sizing: border-box;
}

/* ----------------------------
           Animations
        ----------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
