/* NAVBAR / HEADER STYLES */
nav {
    background-color: #111827; /* bg-gray-900 */
    border-bottom: 1px solid #1f2937; /* border-gray-800 */
    position: sticky;
    top: 0;
    z-index: 40;
}

/* container */
nav .max-w-7xl {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* left section */
nav .flex.items-center.gap-4 {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* logo link */
nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
}

/* logo box */
nav .w-10.h-10 {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #7c3aed, #4f46e5);
}

/* CodeVerse text */
nav .font-bold {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

/* PHP label */
nav .text-purple-400 {
    color: #c084fc;
}

/* right section */
nav .flex.items-center.gap-4:last-child {
    gap: 1rem;
}

/* PHP version badge */
nav .bg-purple-900\/50 {
    background-color: rgba(88, 28, 135, 0.5);
    color: #d8b4fe;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* icons */
nav i {
    color: inherit;
}