.top-nav {
    background-color: #0a192f;
    padding: 0.75rem 1rem;

    border-radius: 8px;
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid rgba(102, 252, 241, 0.2);
    box-shadow: 0 2px 8px rgba(102, 252, 241, 0.15), 0 4px 16px rgba(102, 252, 241, 0.1);
    position: relative;
    z-index: 10;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-text {
    color: #66fcf1;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
}

.center-menu {
    display: flex;
    gap: 2rem;
    justify-content: right;
    flex: 1;
}

.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
    position: relative;
}

.dropbtn::after {
    content: ' ▾';
    font-size: 1.3rem;
}

.dropbtn:hover {
    color: #66fcf1;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #101827;
    border: 1px solid #2c3e50;
    border-radius: 8px;
    min-width: 260px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.7rem 1.2rem;
    margin: 0.2rem 0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    color: #e0e0e0;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: #1f2a3d;
    border-left: 3px solid #66fcf1;
    color: #66fcf1;
    padding-left: 1.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-text {
        text-align: center;
        width: 100%;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #1f2a3d;
    }

    .center-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 0.5rem;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropbtn {
        width: 100%;
        text-align: left;
        padding: 0.8rem 1rem;
        background-color: #101827;
        border-radius: 5px;
        margin-bottom: 0.4rem;
        font-size: 1rem;
        border: 1px solid #1f2a3d;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        background-color: #0a192f;
        border-left: 3px solid #66fcf1;
        margin-bottom: 0.5rem;
        display: none;
        animation: none;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .dropdown-content a:hover {
        background-color: #1f2a3d;
    }
}