/* Shared Navbar - Top Left Button Menu */

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    box-shadow: none;
    overflow: visible;
}

.navbar-brand {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(10, 10, 10, 0.98);
    transform: scale(1.05);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: none;
    position: fixed;
    left: 15px;
    top: 60px;
    width: 220px;
    background: rgba(10, 10, 10, 0.99);
    border: 2px solid;
    border-radius: 8px;
    flex-direction: column;
    gap: 0;
    list-style: none;
    z-index: 999;
    animation: slideDown 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-menu.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Comico', cursive;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 12px 18px;
    text-align: left;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 24px;
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 900;
}

.back-home {
    display: block;
    color: inherit;
    text-decoration: none;
    font-family: 'Comico', cursive;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 12px 18px;
    border-bottom: 2px solid;
    text-align: center;
    transition: all 0.2s ease;
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* No body margin needed */
body {
    margin-left: 0;
}
