.navbar {
    width: 100%;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
    justify-self: start;
}

.navbar-left:hover {
    transform: translateY(-1px);
}

.logo {
    height: 36px;
    width: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.navbar-left:hover .logo {
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
    transform: rotate(5deg);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    transition: color 0.3s ease;
}

.navbar-left:hover .brand-name {
    color: #ffd700;
}

.navbar-center {
    display: flex;
    gap: 35px;
    justify-self: center;
}

.nav-link {
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    color: #ffd700;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ffd700;
}

.nav-link.active::after {
    width: 100%;
}


.navbar-right {
    display: flex;
    align-items: center;
    justify-self: end;
}

.nav-button { 
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    font-weight: bold;
    font-size: 0.95rem;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.nav-button .discord-icon { 
    height: 22px; 
    width: auto; 
    vertical-align: middle; 
    filter: brightness(1.2); 
}


@media (max-width: 768px) {
    .navbar-inner {
        padding: 12px 20px;
        gap: 20px;
    }
    
    .navbar-center {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 32px;
        width: 32px;
    }
    
    .nav-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .navbar-inner {
        padding: 10px 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .navbar-center {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 25px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
}