header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(15, 20, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 202, 40, 0.15);
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(15, 20, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-container img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFCA28, #66BB6A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-right {
    gap: 12px;
}

header nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

header nav a i {
    font-size: 0.9rem;
    line-height: 1;
}

header nav a {
    line-height: 1;
    align-items: center;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFCA28, #66BB6A);
    transition: width 0.3s ease;
}

header nav a:hover {
    color: #FFCA28;
}

header nav a:hover::after {
    width: 100%;
}

header nav a.nav-donate {
    padding: 6px 18px;
    background: rgba(102, 187, 106, 0.12);
    border: 1px solid rgba(102, 187, 106, 0.3);
    border-radius: 8px;
    color: #66BB6A;
    line-height: 1.4;
}

header nav a.nav-donate:hover {
    background: rgba(102, 187, 106, 0.2);
}

header nav a.nav-donate::after { display: none; }

header nav a.nav-login {
    padding: 6px 18px;
    background: rgba(255, 202, 40, 0.12);
    border: 1px solid rgba(255, 202, 40, 0.3);
    border-radius: 8px;
    color: #FFCA28;
    line-height: 1.4;
}

header nav a.nav-login:hover {
    background: rgba(255, 202, 40, 0.2);
}

header nav a.nav-login::after { display: none; }

header nav a.nav-logout {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

header nav a.nav-logout::after { display: none; }

@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    .logo-container img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    header nav {
        gap: 20px;
    }

    header nav a {
        font-size: 0.85rem;
    }
}