/* Navigation */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.navbar {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.nav-left {
    flex: 0 0 auto;
}

.nav-right {
    display: flex;
    gap: 2.5rem;
}

.logo {
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: inherit;
    text-decoration: none;
}

.nav-right a {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-right a:hover {
    color: #666;
}

button {
    padding: 0.8rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    flex: 0 0 auto;
}

button:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-right {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .nav-right a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-right a {
        font-size: 0.7rem;
        padding: 0;
    }

    .logo {
        font-size: 0.9rem;
    }
}
