
.fhgfhyj {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 20px;
}

@media (max-width:768px) {
    .fhgfhyj {
        grid-template-columns: 1fr;
    }
}
.nfnggnh {

    color: rgb(17, 16, 16);
    cursor: pointer;
    font-size: 20px;
}

.dgnmngj {
    z-index: 99999;
    display: none;
    position: relative;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #020111;
}

.dgnmngj ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dgnmngj li {
    text-align: center;
}

.dgnmngj a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    display: block;
    padding: 10px;
}

.dgnmngj a:hover {}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    background-color: #000;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn, .register-btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-btn {
    background-color: #ff7849;
    color: white;
}

.register-btn {
    background-color: #ff7849;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .auth-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}