.app-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.98) 0%, rgba(15, 15, 26, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 8px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
}

.header-brand-logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.5));
}

.header-brand-name {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.header-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.header-discount:empty {
    display: none;
    margin-top: 0;
}

.header-discount-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 20px;
}

.header-discount-badge .discount-icon {
    font-size: 16px;
}

.header-discount-badge .discount-text {
    font-size: 13px;
    font-weight: 600;
    color: #22c55e;
}

.header-discount-badge .discount-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
}

/* Стили для аватара в navbar */
.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    border: 2px solid rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.2s ease;
}

.nav-avatar svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.6);
    fill: currentColor;
}

.nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-item.active .nav-avatar {
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

@media (max-width: 768px) {
    .header-brand { display: none !important; }
}
