.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background-color: #181b1f;
    border-bottom: 1px solid #2c3235;
    height: 60px;
    position: relative;
    z-index: 1000;
    flex-shrink: 0;
}

.nav-brand {
    font-weight: bold;
    font-size: 1.2rem;
    color: #FF9830;
}

.nav-brand a {
    color: #FF9830;
    text-decoration: none;
    display: flex; 
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 5px;
    height: 100%;
}

.nav-links a {
    color: #ccccdc;
    text-decoration: none;
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 3px solid transparent; 
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #fff;
    border-bottom-color: #6e7681;
}

.nav-links a.active {
    color: #fff;
    border-bottom-color: #FF9830;
    background: linear-gradient(to top, rgba(255, 152, 48, 0.1), transparent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #ccccdc;
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Mobile / Tablet Styles --- */
@media (max-width: 768px) {
    .top-nav {
        padding: 0 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #181b1f;
        flex-direction: column;
        border-bottom: 1px solid #2c3235;
        height: auto;
        padding-bottom: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    }

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

    .nav-links a {
        width: 100%;
        height: 50px;
        padding-left: 24px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .nav-links a:hover {
        background-color: #22252b;
        border-bottom-color: transparent;
        border-left-color: #6e7681;
    }

    .nav-links a.active {
        background: linear-gradient(to right, rgba(255, 152, 48, 0.1), transparent);
        border-bottom-color: transparent;
        border-left-color: #FF9830;
    }

    .info-icon::after {
        width: 200px;
        left: 50%;
        transform: translateX(-50%);
        white-space: normal;
    }

    .info-icon.right-side::after {
        left: auto;
        right: 0;
        transform: none; 
    }
}