/* Navigation */
.topnav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
    padding: 0 24px;
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.logo-text span {
    color: #ff6600;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 4px;
}

.main-nav li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.main-nav li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.main-nav li a.active {
    color: #ff6600;
    background: rgba(255, 102, 0, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-btn:not(.primary) {
    color: #a1a1aa;
}

.auth-btn:not(.primary):hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.auth-btn.primary {
    background: #ff6600;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.auth-btn.primary:hover {
    background: #ff8533;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.player-head {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #27272a;
}

.staff-btn {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #c084fc !important;
}

.logout-btn {
    padding: 8px;
    border-radius: 8px;
    color: #71717a;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Mobile */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
}