﻿.gold-topbar {
    background: linear-gradient(135deg, #ffffff 0%, #fef9f3 100%);
    border-bottom: 3px solid #D4AF37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

    .gold-topbar::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, #D4AF37, #F4E4A6, #D4AF37);
        animation: shimmer 3s infinite;
    }

.brand-section {
    display: flex;
    align-items: center;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4A6 100%);
    padding: 4px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

    .logo-wrapper:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    }

.logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.logo-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #D4AF37, #F4E4A6, #D4AF37, #F4E4A6, #D4AF37);
    z-index: -1;
    animation: rotate 4s linear infinite;
    opacity: 0.7;
}

.brand-text {
    text-align: right;
}

.brand-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

    .brand-link:hover {
        text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    }

.brand-subtitle {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #8B7355;
    font-weight: 500;
}

.user-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF0CC 100%);
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid #F4E4A6;
}

.user-icon {
    color: #D4AF37;
    font-size: 18px;
}

.welcome-text {
    color: #8B7355;
    font-weight: 600;
    font-size: 14px;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.user-btn {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.profile-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
}

    .profile-btn:hover {
        background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

.logout-btn {
    background: transparent;
    color: #D63031;
    border: 1px solid #D63031;
}

    .logout-btn:hover {
        background: #D63031;
        color: white;
        transform: translateY(-2px);
    }

.guest-menu {
    display: flex;
    gap: 12px;
}

.auth-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.login-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    }

.register-btn {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

    .register-btn:hover {
        background: #D4AF37;
        color: white;
        transform: translateY(-2px);
    }

.cart-section {
    margin-right: 15px;
}

.gold-cart {
    position: relative;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4E4A6 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
}

    .cart-icon:hover {
        transform: scale(1.1) rotate(-5deg);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    }

.cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #D63031;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid white;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .brand-content {
        gap: 10px;
    }

    .logo-wrapper {
        width: 50px;
        height: 50px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    .user-menu {
        flex-direction: column;
        gap: 10px;
    }

    .user-welcome {
        padding: 6px 12px;
    }

    .welcome-text {
        font-size: 12px;
    }

    .user-actions {
        justify-content: center;
    }

    .user-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .guest-menu {
        flex-direction: column;
        gap: 8px;
    }

    .auth-btn {
        font-size: 12px;
        padding: 8px 16px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .brand-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .brand-text {
        text-align: center;
    }

    .user-section {
        justify-content: center;
    }
}
