.navbar {
    position: absolute;
    top: 0;
    left: 0;    
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 1360px; 
    height: var(--top-nav-height);    
    background: rgba(0,0,0,0.8);
    z-index: 1000;            
}
@media(max-width: 1360px) {
    .navbar {
        max-width:1360px;
    }
}
.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
} 

.logo {
    display: flex;
    align-items: center;
    width: var(--top-logo-width);
    height: 100%;
    padding-left: 1rem;
}

#logo_img {
    height: 100%;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - var(--top-logo-width));
    height: 100%;        
}

.navbar-content-front,
.navbar-content-back {
    height: 100%;   
}

.nav-menu-container {
    display: flex;
    align-items: flex-start;
    height: 100%;
    list-style: none;
}

.nav-menu-wrap {
    position: relative;
    height: 100%;
    padding: 0 1rem;
    z-index: 1001;
}
@media(max-width: 1400px) {
    .nav-menu-wrap {
        padding: 0 0.7rem;
    }
}

.nav-menu-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 90px;        
    font-family: 'Shilla_Culture(M)';
    font-size: 22px;
    color: var(--color-white);
}
@media(max-width: 1400px) {
    .nav-menu-title {
        font-size: 16px;
    }
}

.nav-menu-items {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    width: 100%;
    padding: 1rem;
    z-index: 1002;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}
.navbar-content-front.show-sub .nav-menu-items {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-menu-item a {
    display: block;
    width: 100%;
    font-size: 14px;   
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-menu-item a:hover {
    color: var(--color-gold);
}

.nav-menu-sub-section {
    position: absolute;
    top: var(--top-nav-height);
    left: 0;
    width: 100%;    
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.9) 10%,
        rgba(0,0,0,0.8) 20%,
        rgba(0,0,0,0.7) 30%,
        rgba(0,0,0,0.6) 40%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.3) 70%,
        rgba(0,0,0,0.2) 100%        
    );
    min-height: 250px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;    
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 998;   
    pointer-events: none; 
}
.navbar-content-front.show-sub .nav-menu-sub-section {
    max-height: 500px;
    opacity: 1;
    border-top: 1px solid #BDBDBD;
    pointer-events: auto;
}

.navbar-content-back {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-login-info {
    display: flex;
    align-items: center;
    min-width: 220px;
    list-style: none;
    color: var(--color-white);
}

.navbar-login-info li {
    position: relative;
    padding: 0 1rem;
}

.navbar-login-info li:first-child::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: var(--color-white);
}

.navbar-login-info li a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-size: 14px;
    color: var(--color-white);
    transition: color 0.2s ease;
}
.navbar-login-info li a:hover {
    color: var(--color-gold);
}

.navbar-login-info li a svg {
    width: 20px;
    height: 20px;
}

.gamestart-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    width: var(--top-gamestart-width);
    height: 100%;
    color: var(--color-white);
    background: var(--color-gold);
    text-decoration: none;
}

.gamestart-btn-1 {
    font-size: 22px;
    font-weight: 600;
}